diff options
| author | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-09-14 10:43:13 -0700 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-09-14 12:26:03 -0700 |
| commit | c6ddff821fef8d9edfc7498dbe19d5794d9adc8f (patch) | |
| tree | 63acd9cc04c3bf8dcaf009f8f8ef9d4d1ebb0b42 /nova/api | |
| parent | c1af117628e1010f17931487785422a284687151 (diff) | |
| download | nova-c6ddff821fef8d9edfc7498dbe19d5794d9adc8f.tar.gz nova-c6ddff821fef8d9edfc7498dbe19d5794d9adc8f.tar.xz nova-c6ddff821fef8d9edfc7498dbe19d5794d9adc8f.zip | |
Allow older versions of libvirt to delete vms
Libvirt < 0.9.4 doesn't support undefineFlags, so the vms can't be
deleted. This patch adds a workaround to fallback to the old style
of undefine if undefineFlags throws an Attribute error. It also
attempts to remove any managed save images that exist.
Fixes bug 1051010
Change-Id: I155fe2ab3be347b1515c5aab4a9233921bd722ca
Diffstat (limited to 'nova/api')
0 files changed, 0 insertions, 0 deletions
