yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #49645
[Bug 1448564] Re: Rescue using cells fails with: unexpected keyword argument 'expected_task_state'
Marking this as invalid because I think it's already been fixed. Please
feel free to re-open this bug if you can still reproduce it.
** Changed in: nova
Status: Confirmed => Invalid
--
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/1448564
Title:
Rescue using cells fails with: unexpected keyword argument
'expected_task_state'
Status in OpenStack Compute (nova):
Invalid
Bug description:
Instance rescue gets stuck when using cells.
nova version: 2014.2.2
Using cells (parent - child setup)
How to reproduce:
nova rescue <instance_uuid>
-> the instance "task state" stays in "rescuing".
-> nova cells log of the child shows:
2015-04-26 01:26:09.475 20672 ERROR nova.cells.messaging [req-162b3318-70c3-4290-8e09-ffb9fbcef19d None] Error processing message locally: save() got an unexpected keyword argument 'expected_task_state'
2015-04-26 01:26:09.475 20672 TRACE nova.cells.messaging Traceback (most recent call last):
2015-04-26 01:26:09.475 20672 TRACE nova.cells.messaging File "/usr/lib/python2.7/site-packages/nova/cells/messaging.py", line 199, in _process_locally
2015-04-26 01:26:09.475 20672 TRACE nova.cells.messaging resp_value = self.msg_runner._process_message_locally(self)
2015-04-26 01:26:09.475 20672 TRACE nova.cells.messaging File "/usr/lib/python2.7/site-packages/nova/cells/messaging.py", line 1293, in _process_message_locally
2015-04-26 01:26:09.475 20672 TRACE nova.cells.messaging return fn(message, **message.method_kwargs)
2015-04-26 01:26:09.475 20672 TRACE nova.cells.messaging File "/usr/lib/python2.7/site-packages/nova/cells/messaging.py", line 698, in run_compute_api_method
2015-04-26 01:26:09.475 20672 TRACE nova.cells.messaging return fn(message.ctxt, *args, **method_info['method_kwargs'])
2015-04-26 01:26:09.475 20672 TRACE nova.cells.messaging File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 224, in wrapped
2015-04-26 01:26:09.475 20672 TRACE nova.cells.messaging return func(self, context, target, *args, **kwargs)
2015-04-26 01:26:09.475 20672 TRACE nova.cells.messaging File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 214, in inner
2015-04-26 01:26:09.475 20672 TRACE nova.cells.messaging return function(self, context, instance, *args, **kwargs)
2015-04-26 01:26:09.475 20672 TRACE nova.cells.messaging File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 195, in inner
2015-04-26 01:26:09.475 20672 TRACE nova.cells.messaging return f(self, context, instance, *args, **kw)
2015-04-26 01:26:09.475 20672 TRACE nova.cells.messaging File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 2750, in rescue
2015-04-26 01:26:09.475 20672 TRACE nova.cells.messaging instance.save(expected_task_state=[None])
2015-04-26 01:26:09.475 20672 TRACE nova.cells.messaging TypeError: save() got an unexpected keyword argument 'expected_task_state'
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1448564/+subscriptions
References