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

Bug #1201766 reported by Sumanth Nagadavalli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Souvik Basu

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

Tags: cells
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/37452

Changed in nova:
assignee: nobody → Aarti Kriplani (aarti-kriplani)
status: New → In Progress
Changed in nova:
assignee: Aarti Kriplani (aarti-kriplani) → Souvik Basu (souvikb)
Revision history for this message
Brian Lamar (blamar) wrote :

This bug was fixed... I guess launchpad doesn't pick up bugs fixed from duplicate bugs.

https://bugs.launchpad.net/nova/+bug/1203069 was fixed with https://review.openstack.org/37921

Apologies for the duplicate effort!

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → havana-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-3 → 2013.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.