"UnexpectedTaskStateError: Unexpected task state: expecting [None] but the actual state is powering-off" when running tempest.api.compute.v3.images.test_images.ImagesV3Test.test_create_image_from_stopped_server in gate job gate-tempest-dsvm-full

Bug #1331160 reported by Max Grishkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Incomplete
Undecided
Unassigned

Bug Description

2014-06-17 14:02:28.274 ERROR nova.api.openstack [req-511f6615-0e70-4dee-b926-65cdd07f2653 ImagesV3Test-873712061 ImagesV3Test-286613536] Caught error: Unexpected task state: expecting [None]
 but the actual state is powering-off
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack Traceback (most recent call last):
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack File "/opt/stack/new/nova/nova/api/openstack/__init__.py", line 125, in __call__
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack return req.get_response(self.application)
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1320, in send
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack application, catch_exc_info=False)
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1284, in call_application
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack app_iter = application(self.environ, start_response)
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack return resp(environ, start_response)
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack File "/opt/stack/new/python-keystoneclient/keystoneclient/middleware/auth_token.py", line 659, in __call__
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack return self.app(env, start_response)
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack return resp(environ, start_response)
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack return resp(environ, start_response)
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack response = self.app(environ, start_response)
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack return resp(environ, start_response)
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack return self.func(req, *args, **kwargs)
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack File "/opt/stack/new/nova/nova/api/openstack/wsgi.py", line 917, in __call__
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack content_type, body, accept)
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack File "/opt/stack/new/nova/nova/api/openstack/wsgi.py", line 983, in _process_stack
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack action_result = self.dispatch(meth, request, action_args)
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack File "/opt/stack/new/nova/nova/api/openstack/wsgi.py", line 1067, in dispatch
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack return method(req=request, **action_args)
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack File "/opt/stack/new/nova/nova/api/openstack/common.py", line 481, in inner
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack return f(*args, **kwargs)
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack File "/opt/stack/new/nova/nova/api/openstack/compute/plugins/v3/servers.py", line 922, in _action_create_image
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack extra_properties=props)
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack File "/opt/stack/new/nova/nova/compute/api.py", line 199, in wrapped
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack return func(self, context, target, *args, **kwargs)
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack File "/opt/stack/new/nova/nova/compute/api.py", line 216, in _wrapped
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack return fn(self, context, instance, *args, **kwargs)
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack File "/opt/stack/new/nova/nova/compute/api.py", line 170, in inner
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack return f(self, context, instance, *args, **kw)
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack File "/opt/stack/new/nova/nova/compute/api.py", line 1968, in snapshot
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack instance.save(expected_task_state=[None])
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack File "/opt/stack/new/nova/nova/objects/base.py", line 196, in wrapper
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack return fn(self, ctxt, *args, **kwargs)
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack File "/opt/stack/new/nova/nova/objects/instance.py", line 473, in save
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack columns_to_join=_expected_cols(expected_attrs))
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack File "/opt/stack/new/nova/nova/db/api.py", line 780, in instance_update_and_get_original
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack columns_to_join=columns_to_join)
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack File "/opt/stack/new/nova/nova/db/sqlalchemy/api.py", line 164, in wrapper
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack return f(*args, **kwargs)
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack File "/opt/stack/new/nova/nova/db/sqlalchemy/api.py", line 2226, in instance_update_and_get_original
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack columns_to_join=columns_to_join)
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack File "/opt/stack/new/nova/nova/db/sqlalchemy/api.py", line 2277, in _instance_update
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack actual=actual_state, expected=expected)
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack UnexpectedTaskStateError: Unexpected task state: expecting [None] but the actual state is powering-off
2014-06-17 14:02:28.274 14800 TRACE nova.api.openstack

Tags: testing
Revision history for this message
Max Grishkin (grishkin) wrote :
Revision history for this message
Max Grishkin (grishkin) wrote :
Tracy Jones (tjones-i)
tags: added: testing
Revision history for this message
Matt Riedemann (mriedem) wrote :

Is this a duplicate of bug 1334345? Was this seen in upstream jenkins check or gate queue? I'm assuming not since you've attached logs, so where are you running tempest?

Changed in nova:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.