summaryrefslogtreecommitdiffstats
path: root/nova/node.py
diff options
context:
space:
mode:
authorDerek Higgins <derekh@redhat.com>2012-09-04 11:50:36 +0100
committerDerek Higgins <derekh@redhat.com>2012-09-05 23:36:51 +0100
commitaeacea16a30f85dfb307803a4b46a602cabc8eb5 (patch)
tree35819f424cae7ec550014bd3470f05cd034472b5 /nova/node.py
parent06dec8ec1e518c33d00df2e88ffea92cf236a8dc (diff)
Fixing call to hasManagedSaveImage
Fixes bug #1044090 hasManagedSaveImage is not implmented in the LXC libvirt driver, resulting in the following error when a vm is deleted "Error from libvirt during saved instance removal. Code=3 Error=this function is not supported by the connection driver: virDomainHasManagedSaveImage" This commit replaces the use of hasManagedSaveImage, managedSaveRemove and undefine with undefineFlags which does the work of all 3 calls and is implemented in versions of libvirt > 0.9.4. We also revert back to calling undefine if undefineFlags raises an error. Change-Id: Ib8d451aeff7767f835c3c1aab99ee4ab5e299852
Diffstat (limited to 'nova/node.py')
0 files changed, 0 insertions, 0 deletions