ironic/releasenotes/notes/power-state-notifications-9d865d7b3ecaf4ee.yaml
Mario Villaplana ff32b51bbf Add power state change notifications
This adds optional notifications emitted when ironic changes a node's power
state or when ironic detects a change in a node's power state.

These notifications can be consumed by any external service listening to the
message bus to perform functions like tracking node power state changes over
time or automatically responding to anomalous power states.

The event_types of the new notifications are:

* baremetal.node.power_set.{start,end,error}
* baremetal.node.power_state_corrected.success

This also adds a new NodePayload class for notification payloads related
to nodes.

Change-Id: I82702e7f959d666bb02b59d1fc53ab50b519cb74
Closes-Bug: 1526408
2016-10-17 15:39:18 +00:00

14 lines
540 B
YAML

---
features:
- |
Adds notifications for:
* when ironic attempts to set the power state on the node (notifications
with event type "baremetal.node.power_set.{start, end, error}")
* when ironic detects the power state on baremetal hardware has changed
and updates the node in the database appropriately (notifications with
event type "baremetal.node.power_state_corrected.success")
These are emitted if notifications are enabled. For more details, see the
developer documentation.