masakari/releasenotes/notes/customisable-ha-enabled-instance-metadata-key-af511ea2aac96690.yaml
Radosław Piliszek 4397088da7 Add ha_enabled_instance_metadata_key config option
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
2020-08-16 10:15:00 +02:00

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).