commit 19cb8280232fd3b0ba0000a475d061ea9fb10e1a
Author: Jim Rollenhagen <email address hidden>
Date: Wed Feb 13 12:59:53 2019 -0500
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.
Reviewed: https:/ /review. openstack. org/636699 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=19cb8280232 fd3b0ba0000a475 d061ea9fb10e1a
Committed: https:/
Submitter: Zuul
Branch: master
commit 19cb8280232fd3b 0ba0000a475d061 ea9fb10e1a
Author: Jim Rollenhagen <email address hidden>
Date: Wed Feb 13 12:59:53 2019 -0500
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 c169a4869cfc788 9308ca419d5
Change-Id: I907b69eb689cf6