Commit Graph

1 Commits

Author SHA1 Message Date
Dinesh Bhor a67e0c5038 Make 'error' instances recovery configurable
Currently on master error instances are evacuated from failed
compute host and stopped at the destination host after evacuation.
Some operators may not want to evacuate error instances in some
cases like below:
If user is running 1ACT/n SBY application on instances, launching
error instances will cause unexpected effect.

This patch adds a new config option 'ignore_instances_in_error_state'
under [host_failure] section which makes the recovery of error
instances configurable. If this config option set to True, masakari
will skip the recovery of error instances otherwise it will evacuate
error instances from a failed source compute node along with other
instances. The default value for this config option is set to False.

Change-Id: I24f8282357f28544fd1b56f270da22c7329a9f3d
2017-08-17 10:24:52 +05:30