ironic/releasenotes/notes/power-fault-recovery-6e22f0114ceee203.yaml
Kaifeng Wang 0a1b165ba5 Power fault recovery: apply fault
This patch implements setting and using the fault field.

For each case currently maintenance is set to True, the fault is set
accordingly. A periodic task is added to check power state for nodes
in maintenance due to power failure, maintenance is cleared if the
power state of a node can be retrieved.

When a node is taken out of maintenance by user, the fault is
cleared (if there is any).

Story: #1596107
Task: #10469

Change-Id: Ic4ab20af9022a2d06bdac567e7a098f3ba08570a
Partial-Bug: #1596107
2018-05-27 23:28:39 +08:00

18 lines
975 B
YAML

---
features:
- |
Adds power failure recovery to ironic. For nodes that ironic had put into
maintenance mode due to power failure, ironic periodically checks their
power state, and moves them out of maintenance mode when power state can
be retrieved. The interval of this check is configured via
``[conductor]power_failure_recovery_interval`` configuration option, the
default value is 300 (seconds). Set to 0 to disable this behavior.
upgrade:
- |
Power failure recovery introduces a new configuration option
``[conductor]power_failure_recovery_interval``, which is enabled and set
to 300 seconds by default. In case the default value is not suitable for
the needs or scale of a deployment, please make adjustment or turn it off
during upgrade. The power failure recovery does not apply to nodes that
were in maintenance mode due to power failure before upgrade, they have
to be manually moved out of maintenance mode.