conductor.utils.node_power_action() doesn't always use timeout
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Medium
|
Ruby Loo |
Bug Description
The PowerInterface methods set_power_state() and reboot() were enhanced to take a 'timeout' parameter [1]. For backwards compatibility and to support Interfaces that didn't support timeout, conductor.
The problem is that there was a bug with the ironic_
At the time of filing this bug, these PowerInterfaces support 'timeout':
- FakePower
- ipmitool
- irmc
- oneview
- redfish
Of the above interfaces, ipmitool, irmc, and oneview use the METRICS decorator, so the 'timeout' parameter was being ignored, even though it should have been used :-(
[1] https:/
[2] https:/
Changed in ironic: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Ruby Loo (rloo) |
Changed in ironic: | |
status: | Confirmed → In Progress |
We had a discussion on irc about this [1] - [2]. Among other things, we decided that we'd add a timeout parameter to all the in-tree PowerInterfaces. Out-of-tree PowerInterfaces will cause a TypeError exception to be raised.
[1] http:// eavesdrop. openstack. org/irclogs/ %23openstack- ironic/ %23openstack- ironic. 2018-02- 01.log. html#t2018- 02-01T15: 51:18 eavesdrop. openstack. org/irclogs/ %23openstack- ironic/ %23openstack- ironic. 2018-02- 01.log. html#t2018- 02-01T17: 18:33
[2] http://