Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword Str Assign AttributeStore Call AttributeLoad NameLoad attr Str Str keyword Str attr Call NameLoad NameLoad Assign AttributeStore Call AttributeLoad NameLoad attr Str Str keyword Str keyword NameLoad attr Call NameLoad NameLoad Assign AttributeStore Call AttributeLoad NameLoad attr Str Str keyword Str keyword NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad keyword AttributeLoad NameLoad attr Print BinOpMod Str Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call NameLoad Str AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Print BinOpMod Str Call AttributeLoad Str attr SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Slice Num Print Str Print BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr decorator_list
N/A paasta_tools.cli.utils execute_paasta_serviceinit_on_remote_master paasta_tools.cli.utils figure_out_service_name paasta_tools.cli.utils lazy_choices_completer paasta_tools.cli.utils list_instances paasta_tools.cli.utils list_services paasta_tools.utils compose_job_id paasta_tools.utils DEFAULT_SOA_DIR paasta_tools.utils list_clusters add_subparser N/A N/A subparsers N/A N/A N/A status_parser N/A N/A subparsers add_parser emergency-start help Resumes normal operation of a PaaSTA service instance by scaling to the configured instance count description 'emergency-start' scales a PaaSTA service instance up to the configured instance count for a Marathon service. It does nothing to an existing Marathon service that already has the desired instance count.

On a Chronos job, 'emergency-start' has the effect of forcing a job to run outside of its normal schedule. N/A N/A N/A N/A status_parser add_argument -s --service help Service that you want to start. Like 'example_service'. completer N/A lazy_choices_completer list_services N/A N/A N/A N/A status_parser add_argument -i --instance help Instance of the service that you want to start. Like 'main' or 'canary'. required True completer N/A lazy_choices_completer list_instances N/A N/A N/A N/A status_parser add_argument -c --cluster help The PaaSTA cluster that has the service instance you want to start. Like 'norcal-prod'. required True completer N/A lazy_choices_completer list_clusters N/A N/A N/A status_parser add_argument -d --soa-dir dest soa_dir metavar SOA_DIR default DEFAULT_SOA_DIR help define a different soa config directory N/A N/A N/A status_parser set_defaults command paasta_emergency_start N/A paasta_emergency_start N/A N/A args N/A N/A N/A Performs an emergency start on a given service instance on a given cluster

    Warning: This command is not magic and cannot actually get a service to start if it couldn't
    run before. This includes configurations that prevent the service from running,
    such as 'instances: 0' (for Marathon apps).

    All it does for Marathon apps is ask Marathon to resume normal operation by scaling up to
    the instance count defined in the service's config.
    All it does for Chronos jobs is send the latest version of the job config to Chronos and run it immediately.
     N/A service N/A figure_out_service_name args soa_dir N/A args soa_dir N/A N/A Performing an emergency start on %s... N/A compose_job_id service N/A args instance N/A N/A execute_paasta_serviceinit_on_remote_master start N/A args cluster service N/A args instance N/A N/A %s N/A N/A join N/A N/A N/A N/A paasta_emergency_start __doc__ splitlines N/A -8 N/A Run this command to see the status: N/A N/A paasta status --service %s --clusters %s N/A service N/A args cluster N/A