19cb828023
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
12 lines
337 B
YAML
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.
|