Comment 3 for bug 1046870

Revision history for this message
Thierry Carrez (ttx) wrote : Re: Tempest showing nova compute failures

Looks like all errors are due to the same cause:

2012-09-06 06:00:56 TRACE nova.compute.manager Traceback (most recent call last):
2012-09-06 06:00:56 TRACE nova.compute.manager File "/opt/stack/nova/nova/compute/manager.py", line 167, in decorated_function
2012-09-06 06:00:56 TRACE nova.compute.manager return function(self, context, *args, **kwargs)
2012-09-06 06:00:56 TRACE nova.compute.manager File "/opt/stack/nova/nova/compute/manager.py", line 202, in decorated_function
2012-09-06 06:00:56 TRACE nova.compute.manager kwargs['instance']['uuid'], e, sys.exc_info())
2012-09-06 06:00:56 TRACE nova.compute.manager File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2012-09-06 06:00:56 TRACE nova.compute.manager self.gen.next()
2012-09-06 06:00:56 TRACE nova.compute.manager File "/opt/stack/nova/nova/compute/manager.py", line 196, in decorated_function
2012-09-06 06:00:56 TRACE nova.compute.manager return function(self, context, *args, **kwargs)
2012-09-06 06:00:56 TRACE nova.compute.manager File "/opt/stack/nova/nova/compute/manager.py", line 816, in run_instance
2012-09-06 06:00:56 TRACE nova.compute.manager do_run_instance()
2012-09-06 06:00:56 TRACE nova.compute.manager File "/opt/stack/nova/nova/utils.py", line 751, in inner
2012-09-06 06:00:56 TRACE nova.compute.manager retval = f(*args, **kwargs)
2012-09-06 06:00:56 TRACE nova.compute.manager File "/opt/stack/nova/nova/compute/manager.py", line 815, in do_run_instance
2012-09-06 06:00:56 TRACE nova.compute.manager admin_password, is_first_time, instance)
2012-09-06 06:00:56 TRACE nova.compute.manager File "/opt/stack/nova/nova/compute/manager.py", line 512, in _run_instance
2012-09-06 06:00:56 TRACE nova.compute.manager self._set_instance_error_state(context, instance['uuid'])
2012-09-06 06:00:56 TRACE nova.compute.manager File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2012-09-06 06:00:56 TRACE nova.compute.manager self.gen.next()
2012-09-06 06:00:56 TRACE nova.compute.manager File "/opt/stack/nova/nova/compute/manager.py", line 477, in _run_instance
2012-09-06 06:00:56 TRACE nova.compute.manager self._start_building(context, instance)
2012-09-06 06:00:56 TRACE nova.compute.manager File "/opt/stack/nova/nova/compute/manager.py", line 687, in _start_building
2012-09-06 06:00:56 TRACE nova.compute.manager None))
2012-09-06 06:00:56 TRACE nova.compute.manager File "/opt/stack/nova/nova/compute/manager.py", line 254, in _instance_update
2012-09-06 06:00:56 TRACE nova.compute.manager context, instance_uuid, kwargs)
2012-09-06 06:00:56 TRACE nova.compute.manager File "/opt/stack/nova/nova/db/api.py", line 675, in instance_update_and_get_original
2012-09-06 06:00:56 TRACE nova.compute.manager values)
2012-09-06 06:00:56 TRACE nova.compute.manager File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 130, in wrapper
2012-09-06 06:00:56 TRACE nova.compute.manager return f(*args, **kwargs)
2012-09-06 06:00:56 TRACE nova.compute.manager File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 1768, in instance_update_and_get_original
2012-09-06 06:00:56 TRACE nova.compute.manager copy_old_instance=True)
2012-09-06 06:00:56 TRACE nova.compute.manager File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 1788, in _instance_update
2012-09-06 06:00:56 TRACE nova.compute.manager expected=expected)
2012-09-06 06:00:56 TRACE nova.compute.manager UnexpectedTaskStateError: unexpected task state: expecting ('scheduling', None) but the actual state is deleting