Support server power state update through external event
During the regular power sync between ironic and nova, physical instances going down will be marked down in nova's DB. However, physical instances coming up "unexpectedly" (via IPMI or power button) will be shut down again if they are marked as SHUTDOWN in nova. This can cause operational issues, e.g. if there was a power outage or when doing system repairs.
This blueprint proposes to make the power sync "source of truth" configurable, in particular to allow the physical instance to be the source of truth (and make nova update its DB rather than enforcing the DB state onto the physical instance).
The basic idea is to add a "power-update" option/event to the existing os-server-
Blueprint information
- Status:
- Complete
- Approver:
- Eric Fried
- Priority:
- Undefined
- Drafter:
- Surya Seetharaman
- Direction:
- Approved
- Assignee:
- Surya Seetharaman
- Definition:
- Approved
- Series goal:
- Accepted for train
- Implementation:
-
Implemented
- Milestone target:
-
train-3
- Started by
- Matt Riedemann
- Completed by
- Matt Riedemann
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Support server power state update through external event
Addressed by: https:/
[WIP] Add 'power-update' external event to listen to ironic
Gerrit topic: https:/
Addressed by: https:/
Support server power state update through external event
Addressed by: https:/
[WIP] Add 'power-update' external event to listen to ironic
Released as the 2.76 microversion. -- mriedem 20190820