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
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): manager File "/opt/stack/ nova/nova/ compute/ manager. py", line 167, in decorated_function manager return function(self, context, *args, **kwargs) manager File "/opt/stack/ nova/nova/ compute/ manager. py", line 202, in decorated_function manager kwargs[ 'instance' ]['uuid' ], e, sys.exc_info()) manager File "/usr/lib/ python2. 7/contextlib. py", line 24, in __exit__ manager self.gen.next() manager File "/opt/stack/ nova/nova/ compute/ manager. py", line 196, in decorated_function manager return function(self, context, *args, **kwargs) manager File "/opt/stack/ nova/nova/ compute/ manager. py", line 816, in run_instance manager do_run_instance() manager File "/opt/stack/ nova/nova/ utils.py" , line 751, in inner manager retval = f(*args, **kwargs) manager File "/opt/stack/ nova/nova/ compute/ manager. py", line 815, in do_run_instance manager admin_password, is_first_time, instance) manager File "/opt/stack/ nova/nova/ compute/ manager. py", line 512, in _run_instance manager self._set_ instance_ error_state( context, instance['uuid']) manager File "/usr/lib/ python2. 7/contextlib. py", line 24, in __exit__ manager self.gen.next() manager File "/opt/stack/ nova/nova/ compute/ manager. py", line 477, in _run_instance manager self._start_ building( context, instance) manager File "/opt/stack/ nova/nova/ compute/ manager. py", line 687, in _start_building manager None)) manager File "/opt/stack/ nova/nova/ compute/ manager. py", line 254, in _instance_update manager context, instance_uuid, kwargs) manager File "/opt/stack/ nova/nova/ db/api. py", line 675, in instance_ update_ and_get_ original manager values) manager File "/opt/stack/ nova/nova/ db/sqlalchemy/ api.py" , line 130, in wrapper manager return f(*args, **kwargs) manager File "/opt/stack/ nova/nova/ db/sqlalchemy/ api.py" , line 1768, in instance_ update_ and_get_ original manager copy_old_ instance= True) manager File "/opt/stack/ nova/nova/ db/sqlalchemy/ api.py" , line 1788, in _instance_update manager expected=expected) manager UnexpectedTaskS tateError: unexpected task state: expecting ('scheduling', None) but the actual state is deleting
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.
2012-09-06 06:00:56 TRACE nova.compute.