summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nova/virt/xenapi/vmops.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/nova/virt/xenapi/vmops.py b/nova/virt/xenapi/vmops.py
index 42c2c70b8..306e45891 100644
--- a/nova/virt/xenapi/vmops.py
+++ b/nova/virt/xenapi/vmops.py
@@ -312,8 +312,7 @@ class VMOps(object):
ramdisk_file=ramdisk_file)
def undo_create_vm():
- self._shutdown(instance, vm_ref)
- self._destroy_vm(instance, vm_ref)
+ self._destroy(instance, vm_ref, network_info)
undo_mgr.undo_with(undo_create_vm)
return vm_ref