← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1331160] Re: "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

 

*** This bug is a duplicate of bug 1334345 ***
    https://bugs.launchpad.net/bugs/1334345

** This bug has been marked a duplicate of bug 1334345
   Unexpected task state: expecting [None] but the actual state is powering-off

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1331160

Title:
  "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

Status in OpenStack Compute (Nova):
  Incomplete

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1331160/+subscriptions


References