Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Num Assign NameStore BinOpMult Num Num ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore TupleLoad AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str AttributeLoad NameLoad attr Return BinOpMod NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Return Call NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Str NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIs NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad For NameStore ListLoad Str Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body If CompareNotEq NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Num If CompareEq Call NameLoad NameLoad Num body Return NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body If CompareNotEq AttributeLoad NameLoad attr NameLoad body Assign NameStore Str Assign NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Raise Call NameLoad BinOpMod NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr Num Return AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr keyword Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr keyword Num decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Return ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body If CompareNotIn AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr orelse Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad If CompareGt Call NameLoad NameLoad Num body Raise Call NameLoad Str orelse If CompareEq Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index Num orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore AttributeLoad NameLoad attr If NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad BinOpAdd Str AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Continue If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListComp NameLoad comprehension NameStore NameLoad BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Continue If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListComp NameLoad comprehension NameStore NameLoad BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Continue If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Return ListLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore NameLoad body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Continue If UnaryOpNot AttributeLoad NameLoad attr body If BoolOpOr AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad If CompareEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Str Return ListLoad If UnaryOpNot NameLoad body Return NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Num While NameLoad body If CompareGt NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore SubscriptLoad NameLoad Slice For NameStore NameLoad body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareEq Call NameLoad Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Num body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore NameLoad body If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr For NameStore NameLoad body Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num AugAssignAdd AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A logging N/A time copy copy datetime datetime boto ec2 rds neckbeard.cloud_resource InfrastructureNode N/A logger N/A N/A logging getLogger environment_manager N/A WAIT_TIME 10 N/A MAKE_OPERATIONAL_TIMEOUT N/A 4 60 PstatRdsId N/A object N/A __init__ N/A N/A self pstat_instance pstat_version counter N/A N/A N/A N/A self pstat_instance pstat_instance N/A N/A self pstat_version pstat_version N/A N/A self counter N/A int counter N/A __str__ N/A N/A self N/A N/A N/A rds_tpl %s-v-%s-db-%s N/A rds_args N/A N/A self pstat_instance N/A N/A N/A self pstat_version replace . - N/A self counter N/A N/A rds_tpl rds_args N/A from_string N/A N/A id_str N/A N/A N/A 
        Create and return a PstatRdsId from a compliant rds_id.

        >>> rds_id = PstatRdsId('test', '10.9.0', 3)
        >>> id_str = str(rds_id)
        >>> new_rds_id = PstatRdsId(id_str)
        >>> rds_id == new_rds_id
        True
         N/A N/A N/A N/A pstat_instance tail N/A N/A id_str split -v- N/A N/A pstat_version counter N/A N/A tail split -db- N/A counter N/A int counter N/A N/A PstatRdsId pstat_instance pstat_version counter N/A N/A N/A ValueError N/A N/A N/A None N/A staticmethod N/A WaitTimedOut N/A Exception N/A N/A Waiting for an operation to complete timed out N/A N/A MissingAWSCredentials N/A Exception N/A N/A N/A NonUniformAWSCredentials N/A Exception N/A N/A N/A Deployment N/A object N/A N/A 
    Use configuration info to classify all currently running ec2 and RDS
    instances and group them by deployment generation.
     __init__ N/A N/A self deployment_name ec2_nodes rds_nodes elb_nodes N/A N/A N/A 
        ``deployment_name`` A string uniquely identifying a deployment.
         N/A N/A self deployment_name deployment_name N/A N/A self deployment_confs N/A N/A N/A N/A self deployment_confs N/A ec2 ec2_nodes N/A N/A N/A self deployment_confs N/A rds rds_nodes N/A N/A N/A self deployment_confs N/A elb elb_nodes N/A aws_credentials N/A N/A self _get_valid_aws_credentials N/A self deployment_confs N/A N/A self _pending_gen_id None N/A N/A self _active_gen_id None N/A N/A self ec2conn N/A N/A ec2 EC2Connection N/A aws_credentials N/A access_key_id N/A aws_credentials N/A secret_access_key N/A N/A self rdsconn N/A N/A rds RDSConnection N/A aws_credentials N/A access_key_id N/A aws_credentials N/A secret_access_key N/A _get_valid_aws_credentials N/A N/A self deployment_confs N/A N/A N/A aws_credentials N/A access_key_id secret_access_key None None N/A N/A aws_type configs_of_type N/A N/A deployment_confs items N/A N/A N/A name resource_config N/A N/A configs_of_type items N/A N/A aws_config N/A N/A resource_config get aws N/A N/A aws_config None N/A N/A N/A MissingAWSCredentials N/A %s resource %s has no 'aws' configs N/A aws_type name N/A key N/A access_key_id secret_access_key N/A N/A value N/A N/A aws_config get key N/A N/A value None N/A N/A N/A MissingAWSCredentials N/A %s resource %s has no '%s' config N/A aws_type name key N/A other_resource_value N/A N/A aws_credentials get key N/A N/A other_resource_value None N/A N/A N/A value other_resource_value N/A N/A N/A NonUniformAWSCredentials N/A %s resource %s has no '%s' config different from previously seen N/A aws_type name key N/A N/A aws_credentials N/A key value N/A aws_credentials N/A active_gen_id N/A N/A self N/A N/A N/A N/A self _active_gen_id N/A N/A N/A self _active_gen_id N/A active_nodes N/A N/A N/A InfrastructureNode objects filter deployment_name N/A self deployment_name is_active_generation 1 N/A N/A N/A len active_nodes 0 N/A N/A None N/A first_active_node N/A active_nodes N/A 0 N/A gen_id N/A first_active_node generation_id N/A active_node active_nodes N/A N/A N/A N/A active_node generation_id gen_id N/A N/A err_str Inconsistent generation ids in simpledb. %s:%s and %s:%s both marked active N/A context N/A N/A first_active_node aws_id N/A first_active_node generation_id N/A active_node aws_id N/A active_node generation_id N/A N/A Exception N/A err_str context N/A N/A self _active_gen_id gen_id N/A N/A self _active_gen_id N/A property pending_gen_id N/A N/A self N/A N/A N/A N/A self _pending_gen_id N/A N/A N/A self _pending_gen_id N/A N/A self active_gen_id N/A N/A N/A self _pending_gen_id N/A N/A self active_gen_id 1 N/A N/A self _pending_gen_id N/A N/A self _pending_gen_id 1 N/A N/A self _pending_gen_id N/A property get_blank_node N/A N/A self aws_type N/A N/A N/A node N/A InfrastructureNode N/A N/A N/A node set_aws_conns N/A self ec2conn N/A self rdsconn N/A N/A node aws_type aws_type N/A node N/A get_active_node N/A N/A self aws_type node_name N/A N/A N/A N/A self active_gen_id N/A N/A N/A N/A self get_node aws_type node_name N/A self active_gen_id is_running 1 N/A None N/A get_pending_node N/A N/A self aws_type node_name N/A N/A N/A N/A N/A self get_node aws_type node_name N/A self pending_gen_id is_running 1 N/A get_all_active_nodes N/A N/A self is_running N/A None N/A N/A N/A self active_gen_id N/A N/A N/A N/A self get_all_nodes N/A self active_gen_id is_running is_running N/A N/A N/A get_all_pending_nodes N/A N/A self is_running N/A None N/A N/A N/A N/A self get_all_nodes N/A self pending_gen_id is_running is_running N/A get_all_old_nodes N/A N/A self is_running N/A None N/A N/A nodes N/A N/A all_nodes N/A N/A self get_all_nodes N/A new_generations N/A N/A self active_gen_id N/A self pending_gen_id N/A node all_nodes N/A N/A N/A N/A node generation_id new_generations N/A N/A N/A N/A nodes append node N/A N/A N/A nodes sort key N/A N/A N/A n N/A N/A n generation_id N/A nodes N/A get_all_nodes N/A N/A self generation_id is_running N/A None None N/A N/A matching_nodes N/A N/A N/A InfrastructureNode objects filter deployment_name N/A self deployment_name N/A generation_id N/A N/A matching_nodes N/A N/A matching_nodes filter generation_id generation_id N/A N/A is_running None N/A N/A matching_nodes N/A N/A matching_nodes filter is_running is_running N/A configured_nodes N/A N/A node matching_nodes N/A N/A N/A N/A node set_aws_conns N/A self ec2conn N/A self rdsconn N/A deploy_conf N/A N/A N/A N/A self deployment_confs N/A N/A node aws_type get N/A node name None N/A N/A deploy_conf None N/A N/A N/A node is_running N/A N/A N/A N/A logger warning No DEPLOYMENTS configuration exists in the <%s> deployment for the <%s> node with the name <%s> N/A self deployment_name N/A node aws_type N/A node name N/A N/A N/A logger info Available configurations: %s N/A N/A N/A N/A self deployment_confs N/A N/A node aws_type keys N/A N/A N/A N/A node set_deployment_info N/A N/A N/A self deployment_confs N/A N/A node aws_type N/A N/A node name N/A N/A N/A configured_nodes append node N/A configured_nodes N/A get_node N/A N/A self aws_type node_name generation_id is_running N/A 1 N/A N/A matching_nodes N/A N/A N/A InfrastructureNode objects filter deployment_name N/A self deployment_name generation_id generation_id aws_type aws_type name node_name is_running is_running N/A N/A N/A len matching_nodes 1 N/A N/A N/A Exception More than one matching node N/A N/A N/A N/A len matching_nodes 1 N/A N/A node N/A matching_nodes N/A 0 N/A N/A N/A node set_aws_conns N/A self ec2conn N/A self rdsconn N/A N/A N/A node set_deployment_info N/A N/A N/A self deployment_confs N/A N/A node aws_type N/A N/A node name N/A node N/A N/A None N/A set_active_node N/A N/A self aws_type node_name boto_object N/A N/A N/A N/A self active_gen_id N/A N/A gen_id N/A self active_gen_id N/A N/A gen_id N/A self pending_gen_id N/A N/A N/A self set_node aws_type node_name gen_id boto_object is_active True N/A set_pending_node N/A N/A self aws_type node_name boto_object N/A N/A N/A N/A N/A self set_node aws_type node_name N/A self pending_gen_id boto_object is_active False N/A set_node N/A N/A self aws_type node_name generation_id boto_object is_active N/A N/A N/A aws_id N/A boto_object id N/A matching_nodes N/A N/A N/A InfrastructureNode objects filter aws_type aws_type aws_id aws_id deployment_name N/A self deployment_name N/A N/A N/A len matching_nodes 1 N/A N/A node N/A matching_nodes N/A 0 N/A N/A node N/A N/A self get_blank_node aws_type N/A N/A node generation_id generation_id N/A N/A node deployment_name N/A self deployment_name N/A N/A node aws_type aws_type N/A N/A node aws_id aws_id N/A N/A node name node_name N/A N/A node creation_date N/A N/A datetime now N/A N/A node is_running 1 N/A N/A node is_active_generation is_active N/A N/A N/A node save N/A get_new_rds_label N/A N/A self node_name version is_active N/A False N/A N/A counter N/A self pending_gen_id N/A is_active N/A N/A counter N/A self active_gen_id N/A rds_label N/A PstatRdsId N/A pstat N/A self deployment_name version counter N/A rds_label N/A verify_running_state N/A N/A self nodes N/A N/A N/A node nodes N/A N/A N/A N/A node verify_running_state N/A verify_active_deployment_state N/A N/A self N/A N/A N/A 
        Ensures that all node entries match nodes. If an entry is found for an
        ``is_running`` node that isn't running, that entry is updated.

        Nodes that actually exist but aren't recorded are NOT affected.
         N/A nodes N/A N/A self get_all_active_nodes N/A N/A N/A self verify_running_state nodes N/A verify_pending_deployment_state N/A N/A self N/A N/A N/A nodes N/A N/A self get_all_pending_nodes N/A N/A N/A self verify_running_state nodes N/A verify_old_deployment_state N/A N/A self N/A N/A N/A nodes N/A N/A self get_all_old_nodes N/A N/A N/A self verify_running_state nodes N/A verify_deployment_state N/A N/A self verify_old N/A True N/A N/A 
        Ensures that all node entries match nodes. If an entry is found for an
        ``is_running`` node that isn't running, that entry is updated.

        Nodes that actually exist but aren't recorded are NOT affected.
         N/A N/A N/A self verify_pending_deployment_state N/A N/A N/A self verify_active_deployment_state N/A verify_old N/A N/A N/A N/A self verify_old_deployment_state N/A get_inoperational_active_nodes N/A N/A self N/A N/A N/A 
        Get a list of configured nodes that aren't operational.

        If no running node exists to match a configuration, a mock node is
        returned in its place with no aws_id.
         N/A inoperational N/A N/A N/A aws_type confs N/A N/A N/A self deployment_confs items N/A N/A N/A node_name node_confs N/A N/A confs items N/A N/A node N/A N/A self get_active_node aws_type node_name N/A N/A node N/A N/A mock_node N/A N/A self get_blank_node aws_type N/A N/A mock_node name node_name N/A N/A N/A inoperational append mock_node N/A N/A N/A logger info N/A Missing node: %s-%s N/A aws_type node_name N/A N/A N/A N/A node is_operational N/A N/A N/A N/A inoperational append node N/A inoperational N/A get_unhealthy_active_nodes N/A N/A self N/A N/A N/A 
        Get a list of configured nodes that don't exist or aren't healthy.
         N/A nodes N/A N/A self get_all_active_nodes N/A unhealthy N/A node N/A node nodes N/A N/A node is_running N/A N/A node is_healthy N/A N/A aws_type confs N/A N/A N/A self deployment_confs items N/A N/A N/A node_name node_confs N/A N/A confs items N/A N/A node N/A N/A self get_active_node aws_type node_name N/A N/A node N/A N/A mock_node N/A N/A self get_blank_node aws_type N/A N/A mock_node name node_name N/A N/A N/A unhealthy append mock_node N/A N/A N/A logger info N/A Missing node: %s-%s N/A aws_type node_name N/A N/A N/A N/A node is_healthy N/A N/A N/A N/A unhealthy append node N/A N/A N/A logger info N/A Node unhealthy: %s node N/A unhealthy N/A get_unhealthy_pending_nodes N/A N/A self N/A N/A N/A 
        Get a list of configured nodes that don't exist or aren't healthy.
         N/A nodes N/A N/A self get_all_pending_nodes N/A unhealthy N/A node N/A node nodes N/A N/A node is_running N/A N/A node is_healthy N/A N/A aws_type confs N/A N/A N/A self deployment_confs items N/A N/A N/A node_name node_confs N/A N/A confs items N/A N/A node N/A N/A self get_pending_node aws_type node_name N/A N/A node N/A N/A mock_node N/A N/A self get_blank_node aws_type N/A N/A mock_node name node_name N/A N/A N/A unhealthy append mock_node N/A N/A N/A logger info N/A Missing node: %s-%s N/A aws_type node_name N/A N/A N/A N/A node is_healthy N/A N/A N/A N/A unhealthy append node N/A N/A N/A logger info N/A Node unhealthy: %s node N/A unhealthy N/A active_is_healthy N/A N/A self N/A N/A N/A 
        Determine if the active generation is fully healthy.
         N/A unhealthy_nodes N/A N/A self get_unhealthy_active_nodes N/A unhealthy_nodes N/A N/A False N/A True N/A active_is_fully_operational N/A N/A self N/A N/A N/A inoperational_nodes N/A N/A self get_inoperational_active_nodes N/A inoperational_nodes N/A N/A False N/A True N/A pending_is_healthy N/A N/A self N/A N/A N/A 
        Determine if the pending generation is fully healthy.
         N/A unhealthy_nodes N/A N/A self get_unhealthy_pending_nodes N/A unhealthy_nodes N/A N/A False N/A True N/A repair_active_generation N/A N/A self force_operational wait_until_operational N/A False True N/A N/A 
        Ensure that all healthy active-generation nodes are operational.

        ``force_operational`` If True, even non-healthy active-generation nodes
        will be made operational.
        ``wait_until_operational`` If False, doesn't wait for the nodes to
        become fully operational.

        Returns any nodes that were made operational by this action.
         N/A N/A N/A self active_is_fully_operational N/A N/A N/A N/A logger info All active nodes are operational N/A N/A N/A nodes N/A N/A self get_inoperational_active_nodes N/A made_operational N/A N/A node nodes N/A N/A N/A N/A node aws_id N/A N/A N/A N/A logger warning Node missing: %s- %s N/A node aws_type N/A node name N/A N/A N/A N/A node is_operational N/A N/A N/A N/A node is_healthy force_operational N/A N/A N/A N/A logger info N/A Making node operational: %s node N/A N/A N/A node make_operational force_operational force_operational N/A N/A N/A made_operational append node N/A N/A N/A N/A logger warning N/A Node unhealthy: %s N/A node boto_instance N/A N/A N/A N/A logger debug N/A Node operational: %s node N/A fixed_nodes N/A copy made_operational N/A N/A N/A len fixed_nodes 0 N/A N/A N/A N/A logger info No healthy non-operational nodes available N/A N/A N/A N/A wait_until_operational N/A N/A fixed_nodes N/A N/A N/A logger info Waiting until all nodes are actually operational N/A time_waited 0 N/A made_operational N/A N/A N/A time_waited MAKE_OPERATIONAL_TIMEOUT N/A N/A N/A WaitTimedOut N/A Timed out waiting on nodes: %s made_operational N/A _made_operational N/A made_operational N/A N/A node _made_operational N/A N/A N/A node is_operational N/A N/A N/A N/A made_operational remove node N/A made_operational N/A N/A N/A N/A logger info %s node(s) still not operational. Waiting %ss N/A len made_operational WAIT_TIME N/A N/A N/A time sleep WAIT_TIME N/A time_waited WAIT_TIME N/A fixed_nodes N/A uses_rds N/A N/A self N/A N/A N/A 
        Does this deployment uses rds. (is there an RDS node in the config)
         N/A N/A N/A len N/A N/A N/A N/A self deployment_confs N/A rds keys 0 N/A N/A False N/A True N/A has_required_redundancy N/A N/A self node N/A N/A N/A 
        Determine whether the given ``node`` has the required level of
        redundancy so that it can be rendered inoperational without service
        interruption to the deployment as a whole.

        Returns True if there are redundant nodes, False otherwise.

        The logic is currently crude in that only one other node of the same
        ``aws_type`` needs to be available.
         N/A all_gen_nodes N/A N/A self get_all_nodes N/A node generation_id is_running True N/A same_aws_nodes N/A n N/A n all_gen_nodes N/A N/A n aws_type N/A node aws_type N/A other_operational_nodes N/A N/A other_node same_aws_nodes N/A N/A N/A N/A other_node name N/A node name N/A N/A N/A other_node is_operational N/A N/A N/A N/A other_operational_nodes append other_node N/A N/A bool other_operational_nodes N/A increment_generation N/A N/A self N/A N/A N/A 
        Node by node, make the nodes in pending generation operational.
         N/A N/A N/A N/A self pending_is_healthy N/A N/A N/A Exception Pending generation must be fully healthy to increment_generation N/A active_nodes N/A N/A self get_all_active_nodes N/A pending_nodes N/A N/A self get_all_pending_nodes N/A node active_nodes N/A N/A N/A node is_active_generation 0 N/A N/A N/A node save N/A node pending_nodes N/A N/A N/A node is_active_generation 1 N/A N/A N/A node save N/A N/A self _active_gen_id 1 N/A N/A self _pending_gen_id 1 N/A N/A N/A logger info Generation succesfully incremented. N/A N/A N/A logger info Making nodes operational N/A N/A N/A self repair_active_generation N/A N/A