ipmitool driver could needlessly check power status even after power action fails
Bug #1675529 reported by
Arun S A G
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Medium
|
Julian Edwards |
Bug Description
It looks like the when someone wants to switch on a node. The driver does a 'ipmitool power on' command first and then runs 'ipmitool power status' to check if the power state changed to target power state. It looks like if the initial 'ipmitool power on' command fails for some reason (returns code > 0, or process execution error) The code still keeps doing 'power status' in a loop needlessly
https:/
If the power action (on/off) itself fails, there is no need to check power status. We either have to retry the power action or error out.
Changed in ironic: | |
assignee: | nobody → Julian Edwards (julian-edwards) |
To post a comment you must log in.
Thanks for the report.