81b0e5a068
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
(cherry picked from commit
|
||
---|---|---|
.. | ||
disk | ||
tasks | ||
volume | ||
__init__.py | ||
driver.py | ||
host.py | ||
image.py | ||
media.py | ||
mgmt.py | ||
vif.py | ||
vm.py |