summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorWangpan <hzwangpan@corp.netease.com>2013-01-09 19:33:43 +0800
committerWangpan <hzwangpan@corp.netease.com>2013-01-10 11:43:12 +0800
commit67376d34ed6bf68b15ac87ef444887cbc27dc6b0 (patch)
treeaec69d3759bd5eaaae2b9f1d44a6dff9cc90e831 /nova/exception.py
parent5a87a506420c31a9490fccc7eac3f02e834ef9bc (diff)
downloadnova-67376d34ed6bf68b15ac87ef444887cbc27dc6b0.tar.gz
nova-67376d34ed6bf68b15ac87ef444887cbc27dc6b0.tar.xz
nova-67376d34ed6bf68b15ac87ef444887cbc27dc6b0.zip
Map libvirt error to InstanceNotFound in get_instance_disk_info
When getting instance disk info, the instance may be destroyed/deleted, and a libvirtError will be raised in XMLDesc method, so catching and mapping it to InstanceNotFound and the caller can handle it correctly. Fixes bug #1064581 Change-Id: I07fed3e82e10dad4cb84ae5c8650ada351c24e78
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions