# Masakari Customized Recovery Workflow Configuration Options

masakari-custom-recovery-methods.conf.sample The following is a sample Masakari recovery workflow configuration for adaptation and use.

The sample configuration can also be downloaded from `here`.

    [DEFAULT]

    [taskflow_driver_recovery_flows]

    #
    # From customized_recovery_flow_opts
    #

    #
    # This option allows operator to customize tasks to be executed for host failure
    # auto recovery workflow.
    #
    # Provide list of strings reflecting to the task classes that should be included
    # to the host failure recovery workflow. The full classname path of all task
    # classes should be defined in the 'masakari.task_flow.tasks' of setup.cfg and
    # these classes may be implemented by OpenStack Masaskari project team, deployer
    # or third party.
    #
    # By default below three tasks will be part of this config option:-
    # 1. disable_compute_service_task
    # 2. prepare_HA_enabled_instances_task
    # 3. evacuate_instances_task
    #
    # The allowed values for this option is comma separated dictionary of object
    # names in between ``{`` and ``}``. (dict value)
    #host_auto_failure_recovery_tasks = main:['prepare_HA_enabled_instances_task'],post:['evacuate_instances_task'],pre:['disable_compute_service_task']

    #
    # This option allows operator to customize tasks to be executed for host failure
    # reserved_host recovery workflow.
    #
    # Provide list of strings reflecting to the task classes that should be included
    # to the host failure recovery workflow. The full classname path of all task
    # classes should be defined in the 'masakari.task_flow.tasks' of setup.cfg and
    # these classes may be implemented by OpenStack Masaskari project team, deployer
    # or third party.
    #
    # By default below three tasks will be part of this config option:-
    # 1. disable_compute_service_task
    # 2. prepare_HA_enabled_instances_task
    # 3. evacuate_instances_task
    #
    # The allowed values for this option is comma separated dictionary of object
    # names in between ``{`` and ``}``. (dict value)
    #host_rh_failure_recovery_tasks = main:['prepare_HA_enabled_instances_task', 'evacuate_instances_task'],post:[],pre:['disable_compute_service_task']

    #
    # This option allows operator to customize tasks to be executed for instance
    # failure recovery workflow.
    #
    # Provide list of strings reflecting to the task classes that should be included
    # to the instance failure recovery workflow. The full classname path of all task
    # classes should be defined in the 'masakari.task_flow.tasks' of setup.cfg and
    # these classes may be implemented by OpenStack Masaskari project team, deployer
    # or third party.
    #
    # By default below three tasks will be part of this config option:-
    # 1. stop_instance_task
    # 2. start_instance_task
    # 3. confirm_instance_active_task
    #
    # The allowed values for this option is comma separated dictionary of object
    # names in between ``{`` and ``}``. (dict value)
    #instance_failure_recovery_tasks = main:['start_instance_task'],post:['confirm_instance_active_task'],pre:['stop_instance_task']

    #
    # This option allows operator to customize tasks to be executed for process
    # failure recovery workflow.
    #
    # Provide list of strings reflecting to the task classes that should be included
    # to the process failure recovery workflow. The full classname path of all task
    # classes should be defined in the 'masakari.task_flow.tasks' of setup.cfg and
    # these classes may be implemented by OpenStack Masaskari project team, deployer
    # or third party.
    #
    # By default below two tasks will be part of this config option:-
    # 1. disable_compute_node_task
    # 2. confirm_compute_node_disabled_task
    #
    # The allowed values for this option is comma separated dictionary of object
    # names in between ``{`` and ``}``. (dict value)
    #process_failure_recovery_tasks = main:['confirm_compute_node_disabled_task'],post:[],pre:['disable_compute_node_task']

this page last updated: 2026-04-01 20:28:51

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug