nova/releasenotes/notes/bug-1815791-f84a913eef9e3b21.yaml
Jim Rollenhagen 19cb828023 ironic: check fresh data when sync_power_state doesn't line up
We return cached data to sync_power_state to avoid pummeling the ironic
API. However, this can lead to a race condition where an instance is
powered on, but nova thinks it should be off and calls stop(). Check
again without the cache when this happens to make sure we don't
unnecessarily kill an instance.

Closes-Bug: #1815791
Change-Id: I907b69eb689cf6c169a4869cfc7889308ca419d5
2019-03-01 12:13:28 -05:00

12 lines
337 B
YAML

---
fixes:
- |
Fixes a race condition that could allow a newly created Ironic
instance to be powered off after deployment, without letting
the user power it back on.
upgrade:
- |
Adds a ``use_cache`` parameter to the virt driver ``get_info``
method. Out of tree drivers should add support for this
parameter.