Bogus power state when a node is in maintenance

Bug #1686699 reported by Dmitry Tantsur
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Triaged
Medium
Unassigned

Bug Description

When we move nodes to maintenance mode for reasons not related to power fault, we keep the last power state in the database. As we don't sync power states, it never gets updated, no matter what happens to the node. It can cause confusion, as described in https://bugzilla.redhat.com/show_bug.cgi?id=1433416 when operators believe that node is powered off, while it's actually on.

We can either set power state to None to indicate "I don't know" or sync power state without enforcing it. The latter can put unnecessary load on the BMC, so I think we should do the former.

Tags: conductor
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

Fix proposed to branch: master
Review: https://review.openstack.org/460523

Changed in ironic:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ironic (master)

Change abandoned by Dmitry Tantsur (<email address hidden>) on branch: master
Review: https://review.openstack.org/460523
Reason: Unfortunately, I don't have time to figure out this. Anyone is free to take over.

Dmitry Tantsur (divius)
Changed in ironic:
status: In Progress → Triaged
assignee: Dmitry Tantsur (divius) → nobody
tags: removed: low-hanging-fruit
Changed in ironic:
assignee: nobody → Ramamani Yeleswarapu (ramamani-yeleswarapu)
Changed in ironic:
assignee: Ramamani Yeleswarapu (ramamani-yeleswarapu) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.