summaryrefslogtreecommitdiff
path: root/releasenotes/notes/power-fault-recovery-6e22f0114ceee203.yaml
diff options
context:
space:
mode:
authorKaifeng Wang <kaifeng.w@gmail.com>2018-03-27 13:20:48 +0800
committerKaifeng Wang <kaifeng.w@gmail.com>2018-05-27 23:28:39 +0800
commit0a1b165ba5e05c345523db34ceb121cefc8a665c (patch)
tree5821a56b9c9314e9383e2299ccdb5b1bcf569aac /releasenotes/notes/power-fault-recovery-6e22f0114ceee203.yaml
parent96aeaa8d9b06007f5c99502453d57c0bba743195 (diff)
downloadironic-0a1b165ba5e05c345523db34ceb121cefc8a665c.tar.gz
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
Diffstat (limited to 'releasenotes/notes/power-fault-recovery-6e22f0114ceee203.yaml')
-rw-r--r--releasenotes/notes/power-fault-recovery-6e22f0114ceee203.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/releasenotes/notes/power-fault-recovery-6e22f0114ceee203.yaml b/releasenotes/notes/power-fault-recovery-6e22f0114ceee203.yaml
new file mode 100644
index 000000000..a7184d776
--- /dev/null
+++ b/releasenotes/notes/power-fault-recovery-6e22f0114ceee203.yaml
@@ -0,0 +1,18 @@
+---
+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. \ No newline at end of file