summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChiradeep Vittal <chiradeep@chiradeep-lt2>2010-10-14 13:37:49 -0700
committerChiradeep Vittal <chiradeep@chiradeep-lt2>2010-10-14 13:37:49 -0700
commita58648f0ce5472e0b671d1b043fc4e0afd01658c (patch)
tree25c404aad25af9156c175e23d39a924d40a87655
parentb328bac09fee6ff2de6e8326e655ee648bda5e2d (diff)
downloadnova-a58648f0ce5472e0b671d1b043fc4e0afd01658c.tar.gz
nova-a58648f0ce5472e0b671d1b043fc4e0afd01658c.tar.xz
nova-a58648f0ce5472e0b671d1b043fc4e0afd01658c.zip
remove nonexistent exception
-rw-r--r--nova/virt/hyperv.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/nova/virt/hyperv.py b/nova/virt/hyperv.py
index 968889116..9adb2f00a 100644
--- a/nova/virt/hyperv.py
+++ b/nova/virt/hyperv.py
@@ -161,8 +161,7 @@ class HyperVConnection(object):
success = (ret_val == 0)
if not success:
- raise VmResourceAllocationException('Failed to create VM %s',
- instance.name)
+ raise Exception('Failed to create VM %s', instance.name)
logging.debug('Created VM %s...', instance.name)
vm = self._conn.Msvm_ComputerSystem(ElementName=instance.name)[0]