sync_power_state puts node in maintenance mode too fast
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Medium
|
Yuriy Zveryanskyy |
Bug Description
I created a node via 'ironic node-create -d fake_ipmitool', and in less than 5 minutes, the node was put in maintenance mode. I hadn't even finished setting it up yet :-(
If a node is new and hasn't been powered on yet, should we even be trying to sync the power state?
The logs show:
2014-04-08 19:49:41.130 4230 WARNING ironic.
2014-04-08 19:50:41.184 4230 WARNING ironic.
2014-04-08 19:51:41.186 4230 WARNING ironic.
2014-04-08 19:51:41.199 4230 ERROR ironic.
Changed in ironic: | |
milestone: | none → juno-1 |
status: | Fix Committed → Fix Released |
Changed in ironic: | |
milestone: | juno-1 → 2014.2 |
Yes, I also think there is a problem. One possible solution: start power sync for node only if power state is not None (was set manually or after deploy)