Skip to content

Instantly share code, notes, and snippets.

@mriedem
Created May 27, 2014 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mriedem/1efcce4307f39253bc49 to your computer and use it in GitHub Desktop.
Save mriedem/1efcce4307f39253bc49 to your computer and use it in GitHub Desktop.
AUDIT [nova.compute.manager] Rescuing
WARNING [nova.compute.manager] Unable to find a different image to use for rescue VM, using instance's current image
INFO [nova.compute.manager] Task possibly preempted: Unexpected task state: expecting ('rescuing',) but the actual state is None
}}}
Traceback (most recent call last):
File "nova/tests/compute/test_compute.py", line 1883, in test_rescue
self.compute.rescue_instance(self.context, instance, None)
File "nova/compute/manager.py", line 401, in decorated_function
return function(self, context, *args, **kwargs)
File "nova/exception.py", line 88, in wrapped
payload)
File "nova/openstack/common/excutils.py", line 82, in __exit__
six.reraise(self.type_, self.value, self.tb)
File "nova/exception.py", line 71, in wrapped
return f(self, context, *args, **kw)
File "nova/compute/manager.py", line 278, in decorated_function
LOG.info(_("Task possibly preempted: %s") % e.format_message())
File "nova/openstack/common/excutils.py", line 82, in __exit__
six.reraise(self.type_, self.value, self.tb)
File "nova/compute/manager.py", line 272, in decorated_function
return function(self, context, *args, **kwargs)
File "nova/compute/manager.py", line 336, in decorated_function
function(self, context, *args, **kwargs)
File "nova/compute/manager.py", line 314, in decorated_function
kwargs['instance'], e, sys.exc_info())
File "nova/openstack/common/excutils.py", line 82, in __exit__
six.reraise(self.type_, self.value, self.tb)
File "nova/compute/manager.py", line 302, in decorated_function
return function(self, context, *args, **kwargs)
File "nova/compute/manager.py", line 3008, in rescue_instance
instance.save(expected_task_state=task_states.RESCUING)
File "nova/objects/base.py", line 183, in wrapper
return fn(self, ctxt, *args, **kwargs)
File "nova/objects/instance.py", line 473, in save
columns_to_join=_expected_cols(expected_attrs))
File "nova/db/api.py", line 780, in instance_update_and_get_original
columns_to_join=columns_to_join)
File "nova/db/sqlalchemy/api.py", line 164, in wrapper
return f(*args, **kwargs)
File "nova/db/sqlalchemy/api.py", line 2226, in instance_update_and_get_original
columns_to_join=columns_to_join)
File "nova/db/sqlalchemy/api.py", line 2277, in _instance_update
actual=actual_state, expected=expected)
UnexpectedTaskStateError: Unexpected task state: expecting ('rescuing',) but the actual state is None
======================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment