Module ImportFrom alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias Import alias Import alias Assign NameStore NameLoad Assign NameStore Str Assign NameStore NameLoad Assign NameStore NameLoad ClassDef bases body Assign NameStore Str Assign NameStore Str Assign NameStore Str decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Call NameLoad Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpAdd Str Call NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If BoolOpOr CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Str If CompareNotEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Num If CompareNotEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Call NameLoad keyword Str keyword NameLoad orelse If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Call NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr Call NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad orelse Assign NameStore NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr Call NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword ListLoad NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr If BoolOpAnd CompareNotEq AttributeLoad AttributeLoad NameLoad attr attr Str CompareNotEq AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpAdd Str Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num Assign NameStore Num While CompareLt NameLoad NameLoad body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr If CompareEq Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Str Assign NameStore BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr Num Continue orelse Break handlers ExceptHandler body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad NameLoad Assign NameStore BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr Num If CompareEq NameLoad NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body While CompareNotEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Print Str Expr Call AttributeLoad NameLoad attr NameLoad keyword Num keyword AttributeLoad NameLoad attr Print Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword Num keyword AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Print Call AttributeLoad NameLoad attr
N/A bigjob logger N/A os N/A uuid N/A time N/A traceback N/A sys boto.ec2.connection EC2Connection boto.ec2.regioninfo RegionInfo N/A boto.ec2 N/A saga N/A PLACEMENT_GROUP None N/A SECURITY_GROUP default N/A AWS_ACCESS_KEY_ID None N/A AWS_SECRET_ACCESS_KEY None State N/A N/A N/A UNKNOWN unknown N/A PENDING pending N/A RUNNING running N/A Service N/A object N/A N/A  Plugin for Amazon EC2 and EUCA
    
        Manages endpoint in the form of:
        
            ec2+ssh://<EC2 Endpoint>
            euca+ssh://<EUCA Endpoint>
     __init__ N/A N/A self resource_url pilot_compute_description N/A None N/A N/A Constructor N/A N/A self resource_url resource_url N/A N/A self pilot_compute_description pilot_compute_description N/A create_job N/A N/A self job_description N/A N/A N/A j N/A Job job_description N/A self resource_url N/A self pilot_compute_description N/A j N/A __del__ N/A N/A self N/A N/A N/A N/A N/A Job N/A object N/A N/A  Plugin for Amazon EC2 
    
        Starts VM and executes BJ agent on this VM    
        
        
        Eucalyptus on FutureGrid uses a self-signed certificate, which 1) needs to be added to boto configuration
        or 2) certificate validation needs to be disabled.
     __init__ N/A N/A self job_description resource_url pilot_compute_description N/A N/A N/A N/A self job_description job_description N/A N/A N/A logger debug N/A N/A N/A URL:  N/A str resource_url  Type:  N/A str N/A type resource_url N/A N/A self resource_url N/A N/A saga Url N/A str resource_url N/A N/A self pilot_compute_description pilot_compute_description N/A N/A self id N/A bigjob- N/A str N/A N/A uuid uuid1 N/A N/A self network_ip None N/A N/A self ec2_conn None N/A N/A N/A N/A N/A self resource_url scheme euca+ssh N/A N/A N/A self resource_url scheme nova+ssh N/A N/A host N/A N/A self resource_url host N/A path /services/Eucalyptus N/A N/A N/A N/A self resource_url path None N/A N/A path N/A N/A self resource_url path N/A port 8773 N/A N/A N/A N/A self resource_url port None N/A N/A port N/A N/A self resource_url port N/A region None N/A N/A N/A logger debug N/A Host: %s, Path: %s, Port: %d N/A host path port N/A N/A N/A N/A self resource_url scheme euca+ssh N/A N/A region N/A RegionInfo name eucalyptus endpoint host N/A N/A N/A N/A N/A self resource_url scheme nova+ssh N/A N/A region N/A RegionInfo name openstack endpoint host N/A N/A N/A logger debug N/A Access Key: %s Secret: %s N/A N/A N/A self pilot_compute_description N/A access_key_id N/A N/A self pilot_compute_description N/A secret_access_key N/A N/A self ec2_conn N/A EC2Connection aws_access_key_id N/A N/A self pilot_compute_description N/A access_key_id aws_secret_access_key N/A N/A self pilot_compute_description N/A secret_access_key region region is_secure False port port path path N/A N/A aws_region None N/A N/A N/A N/A self pilot_compute_description has_key region N/A N/A region N/A N/A self pilot_compute_description N/A region N/A N/A N/A logger debug N/A Connect to region: %s N/A str region N/A aws_region N/A N/A N/A boto ec2 get_region region aws_access_key_id N/A N/A self pilot_compute_description N/A access_key_id aws_secret_access_key N/A N/A self pilot_compute_description N/A secret_access_key N/A N/A self ec2_conn N/A EC2Connection aws_access_key_id N/A N/A self pilot_compute_description N/A access_key_id aws_secret_access_key N/A N/A self pilot_compute_description N/A secret_access_key region aws_region N/A N/A self instance None N/A run N/A N/A self N/A N/A N/A  Start VM and start BJ agent via SSH on VM  N/A  Map fields of Pilot description to EC2 API
            { "vm_id":"ami-d7f742be",
              "vm_ssh_username":"ubuntu",
              "vm_ssh_keyname":"MyKey",
              "vm_ssh_keyfile":"<path>",
              "vm_type":"t1.micro",
              "access_key_id":"xxx",
              "secret_access_key":"xxx"
            }
         N/A reservation N/A N/A N/A self ec2_conn run_instances N/A N/A self pilot_compute_description N/A vm_id key_name N/A N/A self pilot_compute_description N/A vm_ssh_keyname instance_type N/A N/A self pilot_compute_description N/A vm_type security_groups N/A SECURITY_GROUP N/A N/A self instance N/A N/A reservation instances N/A 0 N/A N/A self instance_id N/A N/A self instance id N/A N/A N/A logger debug N/A Started EC2/Eucalyptus/Nova instance: %s N/A self instance_id N/A N/A N/A time sleep 5 N/A N/A N/A self wait_for_running N/A N/A N/A N/A N/A self resource_url scheme euca+ssh N/A N/A N/A self resource_url scheme nova+ssh N/A N/A N/A N/A N/A self ec2_conn create_tags N/A N/A self instance_id N/A Name N/A self id N/A N/A self network_ip N/A N/A self instance ip_address N/A url N/A ssh:// N/A str N/A self network_ip N/A N/A N/A logger debug N/A Connect to: %s url N/A ctx N/A N/A saga Context SSH N/A N/A ctx user_id N/A N/A self pilot_compute_description N/A vm_ssh_username N/A N/A ctx user_key N/A N/A self pilot_compute_description N/A vm_ssh_keyfile N/A session N/A N/A saga Session N/A N/A N/A session add_context ctx N/A TRIAL_MAX 30 N/A trials 0 N/A N/A trials TRIAL_MAX N/A N/A N/A N/A js N/A N/A N/A saga job Service url session session N/A N/A N/A logger debug N/A Job Description Type:  N/A str N/A type N/A self job_description N/A job N/A N/A js create_job N/A self job_description N/A N/A N/A logger debug N/A Attempt: %d, submit pilot job to: %s  N/A trials N/A str url N/A N/A N/A job run N/A N/A N/A N/A job get_state N/A N/A saga job FAILED N/A N/A N/A N/A logger warning Submission failed. N/A trials N/A trials 1 N/A N/A N/A time sleep 30 N/A N/A N/A N/A N/A N/A N/A N/A exc_type exc_value exc_traceback N/A N/A sys exc_info N/A N/A N/A logger warning N/A Submission failed:  N/A str exc_value N/A trials N/A trials 1 N/A N/A N/A time sleep 30 N/A N/A trials TRIAL_MAX N/A N/A N/A Exception Submission of agent failed. N/A N/A N/A logger debug N/A Job State : %s N/A N/A job get_state N/A wait_for_running N/A N/A self N/A N/A N/A N/A N/A N/A self get_state N/A State RUNNING N/A N/A N/A N/A time sleep 5 N/A get_state N/A N/A self N/A N/A N/A result N/A State UNKNOWN N/A N/A N/A N/A N/A N/A self instance update N/A result N/A N/A self instance state N/A N/A N/A N/A N/A N/A logger warning Instance not reachable/active yet... N/A result N/A cancel N/A N/A self N/A N/A N/A N/A N/A N/A self instance terminate N/A __print_traceback N/A N/A self N/A N/A N/A N/A exc_type exc_value exc_traceback N/A N/A sys exc_info N/A *** print_tb: N/A N/A N/A traceback print_tb exc_traceback limit 1 file N/A sys stdout N/A *** print_exception: N/A N/A N/A traceback print_exception exc_type exc_value exc_traceback limit 2 file N/A sys stdout N/A N/A N/A N/A __name__ __main__ N/A N/A ec2_service N/A Service ec2+ssh://aws.amazon.com N/A j N/A N/A ec2_service create_job blas N/A N/A N/A j run N/A N/A N/A j get_state