
Previously Masakari enforced a common instance metadata key that controlled how the HA protection applied to the instance: "HA_Enabled". Moreover, it was the same whether considering the instance or host failure. There are cases where users (operators) would like to independently configure it per failure class and in general customize its name. This patch implements the requested behaviour. New tests are included. Change-Id: I9dddf784da422f239ec304a2c0b8f24625914fc5 Implements: blueprint customisable-ha-enabled-instance-metadata-key
9 lines
403 B
YAML
9 lines
403 B
YAML
---
|
|
features:
|
|
- |
|
|
Adds ``ha_enabled_instance_metadata_key`` config option to ``host_failure``
|
|
and ``instance_failure`` config groups. This option allows operators to
|
|
override the default ``HA_Enabled`` instance metadata key which controls
|
|
the behaviour of Masakari towards the instance. This way one can have
|
|
different keys for different failure types (host vs instance failures).
|