summaryrefslogtreecommitdiffstats
path: root/nova/virt
diff options
context:
space:
mode:
Diffstat (limited to 'nova/virt')
-rw-r--r--nova/virt/xenapi/vm_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/xenapi/vm_utils.py b/nova/virt/xenapi/vm_utils.py
index 18ab0444b..296f9b0e4 100644
--- a/nova/virt/xenapi/vm_utils.py
+++ b/nova/virt/xenapi/vm_utils.py
@@ -505,7 +505,7 @@ w
cls.create_vbd(session, vm_ref, vdi_ref, userdevice,
bootable=False)
except:
- with utils.original_exception_raised():
+ with utils.save_and_reraise_exception():
cls.destroy_vdi(session, vdi_ref)
@classmethod