summaryrefslogtreecommitdiffstats
path: root/tools/lintstack.py
diff options
context:
space:
mode:
authorRafi Khardalian <rafi@metacloud.com>2012-08-22 06:26:57 +0000
committerRafi Khardalian <rafi@metacloud.com>2012-08-22 23:56:05 +0000
commite1f774e4328c82d12cd14f9806cb849ef4562653 (patch)
treeadd494a3094aafe41d756198fe5a22f32c115447 /tools/lintstack.py
parent5aa8847cb679ad840dfa7286a2e08d0f6e905812 (diff)
downloadnova-e1f774e4328c82d12cd14f9806cb849ef4562653.tar.gz
nova-e1f774e4328c82d12cd14f9806cb849ef4562653.tar.xz
nova-e1f774e4328c82d12cd14f9806cb849ef4562653.zip
Re-define libvirt domain on "not found" exception
Fixes bug 1039891 If for any reason a libvirt-based VM becomes unregistered, there is currently no mechanism for recovering without administrative intervention. Discussing this with Vish, we agreed it was prudent to validate and accordingly define domains with libvirt on hard_reboot or hypervisor reboot. This patch will allow hard_reboot to re-define a domain in the event that a "domain not found" exception is returned from libvirt. The same approach is also applied to resume_state_on_host_boot. Change-Id: Ic0cd59087d3d84787173fdd9eefdb77b67c33995
Diffstat (limited to 'tools/lintstack.py')
0 files changed, 0 insertions, 0 deletions