Comment 5 for bug 1177811

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

Reviewed: https://review.openstack.org/29005
Committed: http://github.com/openstack/nova/commit/32372a62a89614d4ddc7f2bdc96f41c4d49bd131
Submitter: Jenkins
Branch: master

commit 32372a62a89614d4ddc7f2bdc96f41c4d49bd131
Author: Matt Riedemann <email address hidden>
Date: Mon May 13 10:06:11 2013 -0700

    Set resized instance back to original vm_state

    You can resize an instance when it's in the ACTIVE or STOPPED state but
    the code currently always finishes the resize (either confirmed or
    rejected) by putting the instance into ACTIVE state. This change
    saves the original vm_state and uses it to restore the state on the
    instance after the resize is confirmed or rejected.

    With this change, the resize flow will never automatically power on an
    instance that is originally shutoff. The user, however, can manually
    power on the resized instance to test it before confirming or rejecting
    the resize. If the user powered on the instance and confirmed the
    resize, then this change will leave the instance active. If the user
    powered on the instance and then rejected the resize, this change will
    stop the instance when it finishes the revert operation.

    Related to bug 1177811

    Change-Id: I19fa61d467edd5a7572040d084824972569ef65a