yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #37505
[Bug 1490842] [NEW] UnexpectedTaskStateError_Remote: Unexpected task state: expecting (u'resize_migrating', ) but the actual state is None
Public bug reported:
[req-7a72cf1e-b163-4863-9330-f2b60bd15a6e None] [instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] Setting instance vm_state to ERROR
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] Traceback (most recent call last):
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 6705, in _error_out_instance_on_exception
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] yield
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 3841, in resize_instance
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] instance.save(expected_task_state=task_states.RESIZE_MIGRATING)
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/nova/objects/base.py", line 189, in wrapper
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] ctxt, self, fn.__name__, args, kwargs)
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/nova/conductor/rpcapi.py", line 351, in object_action
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] objmethod=objmethod, args=args, kwargs=kwargs)
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/client.py", line 152, in call
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] retry=self.retry)
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/oslo/messaging/transport.py", line 90, in _send
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] timeout=timeout, retry=retry)
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 408, in send
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] retry=retry)
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 399, in _send
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] raise result
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] UnexpectedTaskStateError_Remote: Unexpected task state: expecting (u'resize_migrating',) but the actual state is None
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] Traceback (most recent call last):
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb]
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 400, in _object_dispatch
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] return getattr(target, method)(context, *args, **kwargs)
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb]
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/nova/objects/base.py", line 204, in wrapper
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] return fn(self, ctxt, *args, **kwargs)
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb]
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/nova/objects/instance.py", line 500, in save
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] columns_to_join=_expected_cols(expected_attrs))
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb]
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/nova/db/api.py", line 766, in instance_update_and_get_original
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] columns_to_join=columns_to_join)
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb]
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/nova/db/sqlalchemy/api.py", line 143, in wrapper
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] return f(*args, **kwargs)
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb]
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/nova/db/sqlalchemy/api.py", line 2318, in instance_update_and_get_original
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] columns_to_join=columns_to_join)
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb]
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/nova/db/sqlalchemy/api.py", line 2369, in _instance_update
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] actual=actual_state, expected=expected)
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb]
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] UnexpectedTaskStateError: Unexpected task state: expecting (u'resize_migrating',) but the actual state is None
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb]
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb]
** Affects: nova
Importance: Undecided
Status: New
--
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/1490842
Title:
UnexpectedTaskStateError_Remote: Unexpected task state: expecting
(u'resize_migrating',) but the actual state is None
Status in OpenStack Compute (nova):
New
Bug description:
[req-7a72cf1e-b163-4863-9330-f2b60bd15a6e None] [instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] Setting instance vm_state to ERROR
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] Traceback (most recent call last):
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 6705, in _error_out_instance_on_exception
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] yield
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 3841, in resize_instance
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] instance.save(expected_task_state=task_states.RESIZE_MIGRATING)
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/nova/objects/base.py", line 189, in wrapper
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] ctxt, self, fn.__name__, args, kwargs)
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/nova/conductor/rpcapi.py", line 351, in object_action
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] objmethod=objmethod, args=args, kwargs=kwargs)
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/client.py", line 152, in call
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] retry=self.retry)
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/oslo/messaging/transport.py", line 90, in _send
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] timeout=timeout, retry=retry)
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 408, in send
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] retry=retry)
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 399, in _send
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] raise result
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] UnexpectedTaskStateError_Remote: Unexpected task state: expecting (u'resize_migrating',) but the actual state is None
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] Traceback (most recent call last):
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb]
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 400, in _object_dispatch
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] return getattr(target, method)(context, *args, **kwargs)
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb]
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/nova/objects/base.py", line 204, in wrapper
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] return fn(self, ctxt, *args, **kwargs)
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb]
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/nova/objects/instance.py", line 500, in save
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] columns_to_join=_expected_cols(expected_attrs))
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb]
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/nova/db/api.py", line 766, in instance_update_and_get_original
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] columns_to_join=columns_to_join)
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb]
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/nova/db/sqlalchemy/api.py", line 143, in wrapper
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] return f(*args, **kwargs)
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb]
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/nova/db/sqlalchemy/api.py", line 2318, in instance_update_and_get_original
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] columns_to_join=columns_to_join)
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb]
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] File "/usr/lib/python2.7/site-packages/nova/db/sqlalchemy/api.py", line 2369, in _instance_update
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] actual=actual_state, expected=expected)
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb]
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb] UnexpectedTaskStateError: Unexpected task state: expecting (u'resize_migrating',) but the actual state is None
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb]
[instance: 5dbb0778-e7d2-42bd-8427-b727301972cb]
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1490842/+subscriptions
Follow ups