summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorPádraig Brady <pbrady@redhat.com>2013-01-03 14:25:06 +0000
committerPádraig Brady <pbrady@redhat.com>2013-01-03 18:12:26 +0000
commit2ee83a493a91b6dd0ce79a8f6e74ac21638cff0a (patch)
tree89e18958e4e39f53f6922dbd5c98fa240acae468 /nova/openstack
parent54ee787d7ae1d7635bd5dac8efd985e3a93ad1c2 (diff)
downloadnova-2ee83a493a91b6dd0ce79a8f6e74ac21638cff0a.tar.gz
nova-2ee83a493a91b6dd0ce79a8f6e74ac21638cff0a.tar.xz
nova-2ee83a493a91b6dd0ce79a8f6e74ac21638cff0a.zip
improve libguestfs exception handling
* nova/virt/disk/vfs/guestfs.py (teardown): Handle specific exceptions when tearing down so that (future) nova bugs aren't masked. Also handle AttributeError so that the relatively new handle() and close() don't cause erroneous debug logs on older versions of libguestfs. (has_file): remove the last use of generic exception catching and use the more specific RuntimeError. Change-Id: Ia7345675d75c1c6727e9254791d44475c0ed9295
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions