Cells: race condition when saving an instance

Bug #1443640 reported by Andrew Laski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Sylvain Bauza

Bug Description

When an instance is saved in a parent cell the db update happens there and then the update is sent to a child cell. When the child cells updates its database it then sends that update back up to the parent to be save there again. The propagation of the change back up to the parent can overwrite subsequent changes there causing data to be lost. Updates from a parent->child or child->parent should go one direction only and not propagate back to the originating cell.

Revision history for this message
Andrew Laski (alaski) wrote :

We have seen this cause issues with the Tempest resetState test, and the ec2_idempotent test.

Changed in nova:
assignee: nobody → Sylvain Bauza (sylvain-bauza)
Changed in nova:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Andrew Laski (alaski) wrote :

Partially addressed by https://review.openstack.org/#/c/177356/ which keeps updates from going back up to the parent if they originate at the parent. Just waiting on a block for the other direction.

Revision history for this message
Andrew Laski (alaski) wrote :
Changed in nova:
status: Confirmed → In Progress
Revision history for this message
Andrew Laski (alaski) wrote :

The update was missed when the fix merged.

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → liberty-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: liberty-rc1 → 12.0.0
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.