Node has to be powered off before putting in maintenace when clean fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Triaged
|
Medium
|
Unassigned |
Bug Description
When using ironic automated cleaning, if the node clean fails it is put into clean failed state and in maintenance. Ironic hence loses track of the power state, and reports power off even if the node is actually turned on. This causes very difficult to debug problems from an os-collect-
Changed in ironic: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Hi! This bug cannot be fixed for two reasons:
1. If we power off on failed cleaning, we're losing the ability to debug it AND we can potentially brick the node, if it was doing something dangerous.
2. Not syncing power state during maintenance is one of the main features of maintenance.
Now, the whole situation may improve with the specific faults work https:/ /review. openstack. org/#/c/ 334113/, but as it is we cannot really fix it.