diff options
author | Rafi Khardalian <rafi@metacloud.com> | 2012-08-22 06:26:57 +0000 |
---|---|---|
committer | Rafi Khardalian <rafi@metacloud.com> | 2012-08-22 23:56:05 +0000 |
commit | e1f774e4328c82d12cd14f9806cb849ef4562653 (patch) | |
tree | add494a3094aafe41d756198fe5a22f32c115447 /tools/lintstack.py | |
parent | 5aa8847cb679ad840dfa7286a2e08d0f6e905812 (diff) | |
download | nova-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