diff --git a/etc/masakari/masakari-custom-recovery-methods.conf b/etc/masakari/masakari-custom-recovery-methods.conf new file mode 100644 index 00000000..b4e87f01 --- /dev/null +++ b/etc/masakari/masakari-custom-recovery-methods.conf @@ -0,0 +1,83 @@ +[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']