Module ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Call NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr NameLoad NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Raise Call NameLoad NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Raise Call NameLoad NameLoad Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num body Assign NameStore BoolOpOr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BoolOpOr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpAdd Call NameLoad Call NameLoad NameLoad While CompareLt Call NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If AttributeLoad NameLoad attr body Return NameLoad Expr Call NameLoad NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore BoolOpOr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BoolOpOr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpAdd Call NameLoad Call NameLoad NameLoad While CompareLt Call NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareEq AttributeLoad NameLoad attr Num body Return NameLoad Expr Call NameLoad NameLoad orelse Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call NameLoad Str NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr keyword ListLoad Str keyword ListLoad Str Str keyword ListLoad Str Str keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Num Expr Call AttributeLoad NameLoad attr keyword ListLoad Str keyword ListLoad Str keyword ListLoad Str Str keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Num Expr Call AttributeLoad NameLoad attr keyword ListLoad Str keyword ListLoad Str Str Str keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Num Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad Str NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr keyword ListLoad Str keyword ListLoad Str Str keyword ListLoad Str Str Str Str keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Num Expr Call AttributeLoad NameLoad attr keyword ListLoad Str keyword ListLoad Str keyword ListLoad Str Str Str Str keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Num Expr Call AttributeLoad NameLoad attr keyword ListLoad Str keyword ListLoad Str Str Str Str Str keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Num TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body If NameLoad body Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num body Expr Str Assign NameStore BoolOpOr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list
N/A time sleep time cloudcafe.common.behaviors StatusProgressionVerifier StatusProgressionVerifierError cloudcafe.compute.common.behaviors BaseComputeBehavior cloudcafe.compute.volume_attachments_api.config VolumeAttachmentsAPIConfig VolumeAttachmentBehaviorError N/A Exception N/A N/A N/A VolumeAttachmentsAPI_Behaviors N/A BaseComputeBehavior N/A __init__ N/A N/A self volume_attachments_client volume_attachments_config volumes_client N/A None None None N/A N/A N/A N/A N/A super VolumeAttachmentsAPI_Behaviors self __init__ N/A N/A self client volume_attachments_client N/A N/A self config N/A volume_attachments_config N/A VolumeAttachmentsAPIConfig N/A N/A self volumes_client volumes_client N/A _validated_volume_attach N/A N/A self server_id volume_id device N/A None N/A N/A Performs a volume attach with response validation N/A resp N/A N/A N/A self client attach_volume server_id volume_id device device N/A N/A N/A resp ok N/A N/A N/A VolumeAttachmentBehaviorError N/A N/A Volume attachment failed in attach_volume_to_server with a '{0}'. Could not attach volume {1} to server {2} format N/A resp status_code volume_id server_id N/A N/A N/A resp entity None N/A N/A N/A VolumeAttachmentBehaviorError N/A N/A Volume attachment failed in auto_attach_volume_to_server. Could not deserialize volume attachment response body. Could not attach volume '{1}' to server '{2}' format volume_id server_id N/A resp N/A _validated_volume_detach N/A N/A self attachment_id server_id N/A N/A N/A resp N/A N/A N/A self client delete_volume_attachment attachment_id server_id N/A N/A N/A resp ok N/A N/A N/A VolumeAttachmentBehaviorError N/A N/A Volume attachment DELETE failed in delete_volume_attachment with a {0}.  Could not delete attachment '{1}' on server '{2}' format N/A resp status_code attachment_id server_id N/A resp N/A _get_volume_status N/A N/A self volume_id N/A N/A N/A resp N/A N/A N/A self volumes_client get_volume_info volume_id volume_id N/A N/A N/A resp ok N/A N/A msg N/A N/A get_volume_status() failure:  get_volume_info() call failed with a {0} status code format N/A resp status_code N/A N/A N/A N/A self _log error msg N/A N/A Exception msg N/A N/A N/A resp entity None N/A N/A msg get_volume_status() failure:  unable to deserialize response from get_volume_info() call N/A N/A N/A N/A self _log error msg N/A N/A Exception msg N/A N/A N/A resp entity status N/A wait_for_attachment_to_propagate N/A N/A self attachment_id server_id timeout poll_rate N/A None 5 N/A N/A timeout N/A timeout N/A N/A self config attachment_propagation_timeout N/A poll_rate N/A poll_rate N/A N/A self config api_poll_rate N/A endtime N/A N/A time N/A int timeout N/A N/A N/A time endtime N/A N/A resp N/A N/A N/A self client get_volume_attachment_details attachment_id server_id N/A N/A resp ok N/A N/A True N/A N/A sleep poll_rate N/A N/A False N/A wait_for_attachment_to_delete N/A N/A self attachment_id server_id timeout poll_rate N/A None None N/A N/A timeout N/A timeout N/A N/A self config attachment_propagation_timeout N/A poll_rate N/A poll_rate N/A N/A self config api_poll_rate N/A endtime N/A N/A time N/A int timeout N/A N/A N/A time endtime N/A N/A resp N/A N/A N/A self client get_volume_attachment_details attachment_id server_id N/A N/A N/A resp status_code 404 N/A N/A None N/A N/A sleep poll_rate N/A N/A N/A VolumeAttachmentBehaviorError N/A N/A Volume Attachment {0} still exists on server '{1}', {2} seconds after a successful DELETE. Could not verify that attachment was deleted. format attachment_id server_id timeout N/A verify_volume_status_progression_during_attachment N/A N/A self volume_id state_list N/A None N/A N/A verifier N/A StatusProgressionVerifier volume volume_id N/A self _get_volume_status volume_id N/A N/A N/A verifier set_global_state_properties timeout N/A N/A self config attachment_timeout N/A N/A N/A verifier add_state expected_statuses N/A available acceptable_statuses N/A attaching in-use error_statuses N/A error creating poll_rate N/A N/A self config api_poll_rate poll_failure_retry_limit 3 N/A N/A N/A verifier add_state expected_statuses N/A attaching acceptable_statuses N/A in-use error_statuses N/A error creating poll_rate N/A N/A self config api_poll_rate poll_failure_retry_limit 3 N/A N/A N/A verifier add_state expected_statuses N/A in-use error_statuses N/A available error creating poll_rate N/A N/A self config api_poll_rate poll_failure_retry_limit 3 N/A N/A N/A verifier start N/A verify_volume_status_progression_during_detachment N/A N/A self volume_id raise_on_error N/A True N/A N/A 
        Track the status progression of volume volume_id being detached.

        Optionally fails silently if rais_on_error is set to False.
        :param volume_id: the uuid of the volume being tracked
        :returns: None
         N/A verifier N/A StatusProgressionVerifier volume volume_id N/A self _get_volume_status volume_id N/A N/A N/A verifier set_global_state_properties timeout N/A N/A self config attachment_timeout N/A N/A N/A verifier add_state expected_statuses N/A in-use acceptable_statuses N/A detaching available error_statuses N/A error attaching creating deleting poll_rate N/A N/A self config api_poll_rate poll_failure_retry_limit 3 N/A N/A N/A verifier add_state expected_statuses N/A detaching acceptable_statuses N/A available error_statuses N/A error attaching creating deleting poll_rate N/A N/A self config api_poll_rate poll_failure_retry_limit 3 N/A N/A N/A verifier add_state expected_statuses N/A available error_statuses N/A error attaching creating deleting in-use poll_rate N/A N/A self config api_poll_rate poll_failure_retry_limit 3 N/A N/A N/A N/A N/A verifier start N/A N/A N/A Exception N/A exception N/A N/A raise_on_error N/A N/A exception N/A attach_volume_to_server N/A N/A self server_id volume_id device attachment_propagation_timeout N/A None 60 N/A N/A 
        Performs response validation on attach call, confirms volume attachment
        propogation, and verifies volume status progression during the attach
        process.

        :rtype: VolumeAttachment model
         N/A attachment_propagation_timeout N/A attachment_propagation_timeout N/A N/A self config attachment_propagation_timeout N/A resp N/A N/A self _validated_volume_attach server_id volume_id device N/A attachment N/A resp entity N/A propagated N/A N/A self wait_for_attachment_to_propagate N/A attachment id_ server_id timeout attachment_propagation_timeout N/A N/A propagated N/A N/A N/A VolumeAttachmentBehaviorError N/A N/A Volume attachment '{0}' belonging to server '{1}' failed to propagate to the relevant cell within {2} seconds format N/A attachment id_ server_id attachment_propagation_timeout N/A N/A N/A self verify_volume_status_progression_during_attachment volume_id N/A attachment N/A delete_volume_attachment N/A N/A self attachment_id server_id timeout poll_rate N/A None None N/A N/A Waits timeout seconds for volume attachment to 404 after issuing
        a delete to it.
        Raises exception on error.
         N/A N/A N/A self _validated_volume_detach attachment_id server_id N/A N/A N/A self wait_for_attachment_to_delete attachment_id server_id timeout poll_rate N/A N/A