Module Expr Str Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias ImportFrom alias identifier alias alias alias alias ClassDef bases NameLoad body Assign NameStore ListLoad ListLoad Str NameLoad Str Str ListLoad Str NameLoad NameLoad Str ListLoad Str NameLoad NameLoad Str ListLoad Str NameLoad NameLoad Str ListLoad Str NameLoad Num Str NameLoad ListLoad Str NameLoad NameLoad Str NameLoad Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareNotIn NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot SubscriptLoad NameLoad Index Str body Raise Call NameLoad Str If CompareIs Call AttributeLoad NameLoad attr Str NameLoad body Raise Call NameLoad Str If CompareIs Call AttributeLoad NameLoad attr Str NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr body Raise Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad NameLoad attr body Raise Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call NameLoad Assign NameStore Call NameLoad keyword NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Raise Call NameLoad Num Assign NameStore Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str SubscriptLoad NameLoad Index Str Assign ListStore NameStore ListComp NameLoad comprehension NameStore NameLoad CompareEq AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Call NameLoad NameLoad keyword NameLoad keyword Call NameLoad NameLoad keyword Call AttributeLoad NameLoad attr keyword Call NameLoad Call AttributeLoad NameLoad attr keyword Call NameLoad SubscriptLoad NameLoad Index Str keyword NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Yield Call NameLoad NameLoad NameLoad NameLoad If CompareIs SubscriptLoad NameLoad Index Str NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Print Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str NameLoad SubscriptLoad NameLoad Index Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str AttributeLoad NameLoad attr NameLoad ImportFrom alias Assign NameStore Call NameLoad keyword Call NameLoad keyword Call NameLoad BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr Str keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str If CompareIn SubscriptLoad NameLoad Index Str TupleLoad Str body Assign NameStore Call NameLoad Str Str Expr Call NameLoad NameLoad NameLoad NameLoad orelse If CompareIn SubscriptLoad NameLoad Index Str TupleLoad Str Str body Assign NameStore Call NameLoad Str Str Expr Call NameLoad NameLoad NameLoad NameLoad Expr Yield Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Yield Call NameLoad NameLoad Assign NameStore Num For TupleStore NameStore NameStore NameLoad body If UnaryOpNot NameLoad body Assign NameStore BinOpAdd NameLoad Num If NameLoad body Print Call AttributeLoad Str attr NameLoad Expr Yield Call NameLoad NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr Expr Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str NameLoad Expr Call NameLoad SubscriptLoad NameLoad Index Str NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad
N/A N/A 
Provision new nodes and add them to an existing cluster.
 N/A sys eliot FileDestination twisted.internet.defer DeferredList inlineCallbacks twisted.python.usage UsageError twisted.python.filepath FilePath flocker.provision._ca Certificates flocker.provision._common Cluster acceptance capture_journal capture_upstart configure_eliot_logging_for_acceptance get_default_volume_size make_managed_nodes save_backend_configuration cluster_setup RunOptions SetupOptions make_client save_environment save_managed_config wait_for_nodes RunOptions N/A SetupOptions N/A N/A optParameters N/A N/A purpose None testing Purpose of the cluster recorded in its metadata where possible. N/A tag None None Tag used in names of the existing cluster nodes. N/A control-node None None The address of the cluster's control node. N/A cert-directory None None Directory with the cluster certificates.  N/A number-of-nodes None 1 Number of new nodes to create. int N/A starting-index None None Starting index to use in names of new nodes. int N/A synopsis Usage: add-cluster-nodes [options] __init__ N/A N/A self top_level N/A N/A N/A 
        :param FilePath top_level: The top-level of the Flocker repository.
        :param reactor: The reactor.
        :param Deferred ready: A deferred to fire...
         N/A N/A N/A N/A super RunOptions self __init__ top_level N/A N/A N/A self _remove_options N/A no-keep N/A _remove_options N/A N/A self to_remove N/A N/A N/A 
        Remove the given options that are defined in the parent classes.

        :param to_remove: The options to rmeove.
        :type to_remove: list of str

        .. note::
            Option names should be given as is,
            parameter names should have '=' suffix.
         N/A N/A self longOpt N/A opt N/A opt N/A self longOpt N/A opt to_remove N/A postOptions N/A N/A self N/A N/A N/A N/A N/A self N/A control-node N/A N/A N/A UsageError Control node address must be provided. N/A N/A N/A N/A self get cert-directory None N/A N/A N/A UsageError Certificate directory must be set. N/A N/A N/A N/A self get tag None N/A N/A N/A UsageError Tag must be specified. N/A N/A N/A N/A super RunOptions self postOptions N/A _check_cert_directory N/A N/A self N/A N/A N/A cert_path N/A FilePath N/A self N/A cert-directory N/A N/A self N/A cert-directory cert_path N/A N/A N/A N/A cert_path exists N/A N/A N/A UsageError N/A N/A {} does not exist format N/A cert_path path N/A N/A N/A N/A cert_path isdir N/A N/A N/A UsageError N/A N/A {} is not a directory format N/A cert_path path N/A N/A main N/A N/A reactor args base_path top_level N/A N/A N/A 
    :param reactor: Reactor to use.
    :param list args: The arguments passed to the script.
    :param FilePath base_path: The executable being run.
    :param FilePath top_level: The top-level of the Flocker repository.
     N/A N/A configure_eliot_logging_for_acceptance N/A options N/A RunOptions top_level top_level N/A N/A N/A N/A N/A options parseOptions args N/A N/A N/A UsageError N/A e N/A N/A N/A N/A N/A sys stderr write N/A %s: %s
 N/A N/A N/A base_path basename e N/A N/A N/A N/A sys stderr write N/A N/A N/A N/A sys stderr write N/A str options N/A N/A SystemExit 1 N/A existing_nodes N/A make_managed_nodes N/A N/A N/A options N/A config N/A managed N/A addresses N/A options N/A distribution N/A N/A control_node N/A node N/A node existing_nodes N/A N/A node address N/A options N/A control-node N/A dataset_backend_config_file N/A save_backend_configuration N/A N/A options dataset_backend N/A N/A options dataset_backend_configuration N/A cluster N/A Cluster all_nodes N/A list existing_nodes control_node control_node agent_nodes N/A list existing_nodes dataset_backend N/A N/A options dataset_backend default_volume_size N/A get_default_volume_size N/A N/A options dataset_backend_configuration certificates N/A Certificates N/A options N/A cert-directory dataset_backend_config_file dataset_backend_config_file N/A flocker_client N/A make_client reactor cluster N/A existing_count N/A len existing_nodes N/A N/A N/A wait_for_nodes reactor flocker_client existing_count N/A N/A N/A options N/A starting-index None N/A N/A N/A options N/A starting-index existing_count N/A N/A N/A Adding {} node(s) to the cluster of {} nodes starting at index {} format N/A options N/A number-of-nodes existing_count N/A options N/A starting-index N/A runner N/A options runner N/A cleanup_id N/A N/A reactor addSystemEventTrigger before shutdown N/A runner stop_cluster reactor flocker.common.script eliot_logging_service N/A log_writer N/A eliot_logging_service destination N/A FileDestination file N/A open N/A %s.log N/A N/A N/A base_path basename a reactor reactor capture_stdout False N/A N/A N/A log_writer startService N/A N/A N/A reactor addSystemEventTrigger before shutdown N/A log_writer stopService N/A control_node N/A options N/A control-node N/A N/A N/A options N/A distribution N/A centos-7 N/A N/A remote_logs_file N/A open remote_logs.log a N/A N/A capture_journal reactor control_node remote_logs_file N/A N/A N/A N/A options N/A distribution N/A ubuntu-14.04 ubuntu-15.10 N/A N/A remote_logs_file N/A open remote_logs.log a N/A N/A capture_upstart reactor control_node remote_logs_file N/A N/A N/A N/A runner ensure_keys reactor N/A deferreds N/A N/A runner extend_cluster reactor cluster N/A options N/A number-of-nodes N/A options N/A tag N/A options N/A starting-index N/A results N/A N/A DeferredList deferreds N/A failed_count 0 N/A N/A success value results N/A N/A N/A success N/A N/A failed_count N/A failed_count 1 N/A failed_count N/A N/A N/A N/A Failed to create {} nodes, see logs. format failed_count N/A N/A N/A wait_for_nodes reactor flocker_client N/A len N/A cluster agent_nodes N/A N/A save_managed_config N/A options N/A cert-directory N/A options N/A config cluster N/A N/A save_environment N/A options N/A cert-directory cluster N/A N/A options package_source N/A N/A N/A reactor removeSystemEventTrigger cleanup_id N/A inlineCallbacks