diff options
| author | Brian Lamar <brian.lamar@rackspace.com> | 2011-04-12 09:37:06 -0400 |
|---|---|---|
| committer | Brian Lamar <brian.lamar@rackspace.com> | 2011-04-12 09:37:06 -0400 |
| commit | ae30b0a83469b15d1986fdbbef4f1dee52d68c17 (patch) | |
| tree | d79fb36f29c5d0ab53b4b1dc4cc4cf3c49bb59b2 /nova/compute | |
| parent | 764862180657dbc16b2d57d3b2027c23b86ea649 (diff) | |
Removed extra call from try/except.
Diffstat (limited to 'nova/compute')
| -rw-r--r-- | nova/compute/manager.py | 2 |
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 |
