Files
ironic/releasenotes/notes/node-fault-8c59c0ecb94ba562.yaml
Kaifeng Wang b4c4eb99fc Power fault recovery: API implementation
This patch exposes fault field to the API node object,
microversion and compatibility is handled.

Story: #1596107
Task: #10469

Change-Id: I31ed332be12cf98baaf01badcbb09ae4b8c6cae9
Partial-Bug: #1596107
2018-06-01 20:10:25 +08:00

18 lines
846 B
YAML

---
features:
- |
Adds support for the ``fault`` field in the node, beginning with API
version 1.42. This field records the fault, if any, detected by ironic for
a node. If no fault is detected, the ``fault`` is ``None``. The ``fault``
is set to one of following values according to different circumstances:
* ``power failure``: when a node is put into maintenance due to power sync
failures that exceed max retries.
* ``clean failure``: when a node is put into maintenance due to failure of
a cleaning operation.
* ``rescue abort failure``: when a node is put into maintenance due to
failure of cleaning up during rescue abort.
The ``fault`` will be set to ``None`` if an operator manually set
maintenance to ``False``. The ``fault`` field can be used as a filter for
querying nodes.