Configuration Options¶
The following is an overview of all available configuration options in Masakari. For a sample configuration file, refer to Masakari Customized Recovery Workflow Configuration Options.
taskflow_driver_recovery_flows¶
-
host_auto_failure_recovery_tasks
¶ - Type
unknown type
- Default
{'pre': ['disable_compute_service_task'], 'main': ['prepare_HA_enabled_instances_task'], 'post': ['evacuate_instances_task']}
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}
.
-
host_rh_failure_recovery_tasks
¶ - Type
unknown type
- Default
{'pre': ['disable_compute_service_task'], 'main': ['prepare_HA_enabled_instances_task', 'evacuate_instances_task'], 'post': []}
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}
.
-
instance_failure_recovery_tasks
¶ - Type
unknown type
- Default
{'pre': ['stop_instance_task'], 'main': ['start_instance_task'], 'post': ['confirm_instance_active_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}
.
-
process_failure_recovery_tasks
¶ - Type
unknown type
- Default
{'pre': ['disable_compute_node_task'], 'main': ['confirm_compute_node_disabled_task'], 'post': []}
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}
.