← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1335315] [NEW] Cells: set_admin_password doesn't work after an objects update

 

Public bug reported:

Set admin password fails in the child cell service with the following:

2014-06-24 20:45:08.403 29591 DEBUG nova.openstack.common.policy [req- None] Rule compute
:set_admin_password will be now enforced enforce /opt/rackstack/806.0/nova/lib/python2.6/site-packages/nova/openstack/common/
policy.py:288
2014-06-24 20:45:08.404 29591 ERROR nova.cells.messaging [req- None] Error processing mes
sage locally: 'dict' object has no attribute 'task_state'
2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging Traceback (most recent call last):
2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging File "/opt/rackstack/806.0/nova/lib/python2.6/site-packages/nova/c
ells/messaging.py", line 200, in _process_locally
2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging resp_value = self.msg_runner._process_message_locally(self)
2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging File "/opt/rackstack/806.0/nova/lib/python2.6/site-packages/nova/c
ells/messaging.py", line 1289, in _process_message_locally
2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging return fn(message, **message.method_kwargs)
2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging File "/opt/rackstack/806.0/nova/lib/python2.6/site-packages/nova/c
ells/messaging.py", line 692, in run_compute_api_method
2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging return fn(message.ctxt, *args, **method_info['method_kwargs'])
2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging File "/opt/rackstack/806.0/nova/lib/python2.6/site-packages/nova/c
ompute/api.py", line 201, in wrapped
2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging return func(self, context, target, *args, **kwargs)
2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging File "/opt/rackstack/806.0/nova/lib/python2.6/site-packages/nova/c
ompute/api.py", line 191, in inner
2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging return function(self, context, instance, *args, **kwargs)
2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging File "/opt/rackstack/806.0/nova/lib/python2.6/site-packages/nova/c
ompute/api.py", line 172, in inner
2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging return f(self, context, instance, *args, **kw)
2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging File "/opt/rackstack/806.0/nova/lib/python2.6/site-packages/nova/c
ompute/api.py", line 2712, in set_admin_password
2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging instance.task_state = task_states.UPDATING_PASSWORD
2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging AttributeError: 'dict' object has no attribute 'task_state'
2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging

** Affects: nova
     Importance: Medium
     Assignee: Andrew Laski (alaski)
         Status: In Progress

** Changed in: nova
   Importance: Undecided => Medium

** Changed in: nova
     Assignee: (unassigned) => Andrew Laski (alaski)

-- 
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/1335315

Title:
  Cells: set_admin_password doesn't work after an objects update

Status in OpenStack Compute (Nova):
  In Progress

Bug description:
  Set admin password fails in the child cell service with the following:

  2014-06-24 20:45:08.403 29591 DEBUG nova.openstack.common.policy [req- None] Rule compute
  :set_admin_password will be now enforced enforce /opt/rackstack/806.0/nova/lib/python2.6/site-packages/nova/openstack/common/
  policy.py:288
  2014-06-24 20:45:08.404 29591 ERROR nova.cells.messaging [req- None] Error processing mes
  sage locally: 'dict' object has no attribute 'task_state'
  2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging Traceback (most recent call last):
  2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging File "/opt/rackstack/806.0/nova/lib/python2.6/site-packages/nova/c
  ells/messaging.py", line 200, in _process_locally
  2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging resp_value = self.msg_runner._process_message_locally(self)
  2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging File "/opt/rackstack/806.0/nova/lib/python2.6/site-packages/nova/c
  ells/messaging.py", line 1289, in _process_message_locally
  2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging return fn(message, **message.method_kwargs)
  2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging File "/opt/rackstack/806.0/nova/lib/python2.6/site-packages/nova/c
  ells/messaging.py", line 692, in run_compute_api_method
  2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging return fn(message.ctxt, *args, **method_info['method_kwargs'])
  2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging File "/opt/rackstack/806.0/nova/lib/python2.6/site-packages/nova/c
  ompute/api.py", line 201, in wrapped
  2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging return func(self, context, target, *args, **kwargs)
  2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging File "/opt/rackstack/806.0/nova/lib/python2.6/site-packages/nova/c
  ompute/api.py", line 191, in inner
  2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging return function(self, context, instance, *args, **kwargs)
  2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging File "/opt/rackstack/806.0/nova/lib/python2.6/site-packages/nova/c
  ompute/api.py", line 172, in inner
  2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging return f(self, context, instance, *args, **kw)
  2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging File "/opt/rackstack/806.0/nova/lib/python2.6/site-packages/nova/c
  ompute/api.py", line 2712, in set_admin_password
  2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging instance.task_state = task_states.UPDATING_PASSWORD
  2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging AttributeError: 'dict' object has no attribute 'task_state'
  2014-06-24 20:45:08.404 29591 TRACE nova.cells.messaging

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


Follow ups

References