with cells, instances can go from active back to build

Bug #1180283 reported by Chris Behrens
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Chris Behrens

Bug Description

The build process for instances can send a lot of state changes very quickly. For the most part, it doesn't matter too much if they come in out of order. However, the final message setting the instance to the ACTIVE state is important. After we've seen an instance go ACTIVE, we should never reset it back to BUILDING.

Chris Behrens (cbehrens)
Changed in nova:
status: New → In Progress
assignee: nobody → Chris Behrens (cbehrens)
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/29215

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

Reviewed: https://review.openstack.org/29215
Committed: http://github.com/openstack/nova/commit/9dd6db4baec104fe811be8fecece40c05788cdff
Submitter: Jenkins
Branch: master

commit 9dd6db4baec104fe811be8fecece40c05788cdff
Author: Chris Behrens <email address hidden>
Date: Wed May 15 09:09:10 2013 +0000

    Cells: Don't allow active -> build

    Adds support for passing 'expected_vm_state' in an instance_update dict
    much like the current support for 'expected_task_state'.

    For cells, when the API cell receives an instance update containing a
    vm_state of BUILDING, raise an exception if the instance is in some
    other state. This addresses out-of-order messaging issues that can
    cause an instance to appear to have a huge delay going ACTIVE. (A
    periodic task run can later heal the state, but it can take a long
    while)

    Fixes bug 1180283

    Change-Id: I64252b30e2596812f3b84da64b1fc8681661d7f8

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