d45f754cbb
Reserved hosts can be shared between multiple host_aggregates. So before evacuating the instances from failed_host to reserved_host, the target resered_host should be added to the same aggregate in which the failed_host is. This patch adds the reserved_host to failed_host's aggregate. Adding reserved_host to aggregate is optional and can be configured by operators with the help of new configuration parameter 'add_reserved_host_to_aggregate' which is added under the 'host_failure' section. This config option defaults to 'False'. Change-Id: I7478e0f24ecd6fd6385dd67e7f0cad5ca3460526
13 lines
416 B
YAML
13 lines
416 B
YAML
---
|
|
features:
|
|
- |
|
|
Operators can now decide based on the new config option
|
|
'add_reserved_host_to_aggregate' whether to add or not a reserved_host
|
|
to all host aggregates which failed compute host belongs to.
|
|
|
|
To use this feature, following config option need to be set under
|
|
``host_failure`` section in 'masakari.conf' file::
|
|
|
|
[host_failure]
|
|
add_reserved_host_to_aggregate = True
|