nova/nova/virt/vmwareapi
Jim Rollenhagen 81b0e5a068 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
(cherry picked from commit 19cb828023)
2019-03-04 14:24:30 +00:00
..
__init__.py
constants.py VMWare: Move constant power state strings to the constant.py 2017-01-19 02:58:17 +00:00
driver.py ironic: check fresh data when sync_power_state doesn't line up 2019-03-04 14:24:30 +00:00
ds_util.py VMware: implement get_inventory() driver method 2017-12-12 10:11:12 +02:00
error_util.py
host.py VMware: save VC reads for information that is static 2018-06-11 22:32:34 -07:00
imagecache.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
images.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
network_util.py Merge "VMware: ensure that provider networks work for type 'portgroup'" 2017-11-23 00:07:24 +00:00
vif.py Merge "VMware: ensure that provider networks work for type 'portgroup'" 2017-11-23 00:07:24 +00:00
vim_util.py [2/3]Replace six.iteritems() with .items() 2017-01-09 09:11:00 +00:00
vm_util.py VMware: remove reading resourcePool data 2018-06-11 22:36:36 -07:00
vmops.py VMware: add log message for VIF info details 2018-03-28 02:15:21 -07:00
volumeops.py VMware: Factor out relocate_vm() 2017-09-20 13:43:09 +03:00