summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorBrian Lamar <brian.lamar@rackspace.com>2011-04-12 09:37:06 -0400
committerBrian Lamar <brian.lamar@rackspace.com>2011-04-12 09:37:06 -0400
commitae30b0a83469b15d1986fdbbef4f1dee52d68c17 (patch)
treed79fb36f29c5d0ab53b4b1dc4cc4cf3c49bb59b2 /nova
parent764862180657dbc16b2d57d3b2027c23b86ea649 (diff)
Removed extra call from try/except.
Diffstat (limited to 'nova')
-rw-r--r--nova/compute/manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/compute/manager.py b/nova/compute/manager.py
index 04f2abc49..a8bb091ec 100644
--- a/nova/compute/manager.py
+++ b/nova/compute/manager.py
@@ -245,13 +245,13 @@ class ComputeManager(manager.SchedulerDependentManager):
try:
self.driver.spawn(instance_ref)
- self._update_launched_at(context, instance_id)
except Exception as ex: # pylint: disable=W0702
msg = _("Instance '%(instance_id)s' failed to spawn. Is "
"virtualization enabled in the BIOS? Details: "
"%(ex)s") % locals()
LOG.exception(msg)
+ self._update_launched_at(context, instance_id)
self._update_state(context, instance_id)
@exception.wrap_exception