Comment 2 for bug 963656

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

Reviewed: https://review.openstack.org/5827
Committed: http://github.com/openstack/nova/commit/80a55176e11da1594c9d663df0e4a0a755018c16
Submitter: Jenkins
Branch: master

commit 80a55176e11da1594c9d663df0e4a0a755018c16
Author: Johannes Erdfelt <email address hidden>
Date: Mon Mar 26 17:25:12 2012 +0000

    Don't set instance ACTIVE until it's really active

    Fixes bug 963656

    Reverting a resize would end up setting the instance ACTIVE before the
    driver had finished all of the work starting up the original instance.
    If the instance is deleted quickly after the revert, a race condition
    could occur between restarting the original instance and deleting it.

    Change-Id: Iba26ad7d1bc1049137f94e13898be86698963fb3