← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1201766] Re: Parent cell fails to process a message from a child cell to update an instance

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-3

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

Title:
  Parent cell fails to process a message from a child cell to update an
  instance

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Steps to reproduce.

  1. Build an instance.

  2. The instance will be stuck in "building" status in parent db.
  Eventhough the instance has actually built successfully or errored out
  in child cell.

  On parent cell, the below exception is seen.

  2013-07-16 16:05:05.750 ERROR nova.cells.messaging [req-2d2c9f06-2e25-438c-97a6-8a419ab1cfab admin admin] Error processing message locally: replace() takes no keyword arguments
  2013-07-16 16:05:05.750 TRACE nova.cells.messaging Traceback (most recent call last):
  2013-07-16 16:05:05.750 TRACE nova.cells.messaging   File "/opt/stack/nova/nova/cells/messaging.py", line 202, in _process_locally
  2013-07-16 16:05:05.750 TRACE nova.cells.messaging     resp_value = self.msg_runner._process_message_locally(self)
  2013-07-16 16:05:05.750 TRACE nova.cells.messaging   File "/opt/stack/nova/nova/cells/messaging.py", line 1120, in _process_message_locally
  2013-07-16 16:05:05.750 TRACE nova.cells.messaging     return fn(message, **message.method_kwargs)
  2013-07-16 16:05:05.750 TRACE nova.cells.messaging   File "/opt/stack/nova/nova/cells/messaging.py", line 890, in instance_update_at_top
  2013-07-16 16:05:05.750 TRACE nova.cells.messaging     instance, update_cells=False)
  2013-07-16 16:05:05.750 TRACE nova.cells.messaging   File "/opt/stack/nova/nova/db/api.py", line 675, in instance_update
  2013-07-16 16:05:05.750 TRACE nova.cells.messaging     rv = IMPL.instance_update(context, instance_uuid, values)
  2013-07-16 16:05:05.750 TRACE nova.cells.messaging   File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 120, in wrapper
  2013-07-16 16:05:05.750 TRACE nova.cells.messaging     return f(*args, **kwargs)
  2013-07-16 16:05:05.750 TRACE nova.cells.messaging   File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 2024, in instance_update
  2013-07-16 16:05:05.750 TRACE nova.cells.messaging     instance_ref = _instance_update(context, instance_uuid, values)[1]
  2013-07-16 16:05:05.750 TRACE nova.cells.messaging   File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 2141, in _instance_update
  2013-07-16 16:05:05.750 TRACE nova.cells.messaging     values[key] = values[key].replace(tzinfo=None)
  2013-07-16 16:05:05.750 TRACE nova.cells.messaging TypeError: replace() takes no keyword arguments
  2013-07-16 16:05:05.750 TRACE nova.cells.messaging

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