Comment 4 for bug 1244222

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

Reviewed: https://review.openstack.org/82201
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=400f3705264904ac266c748b4ba2bb44fa172b2c
Submitter: Jenkins
Branch: master

commit 400f3705264904ac266c748b4ba2bb44fa172b2c
Author: Thang Pham <email address hidden>
Date: Fri Mar 21 16:34:48 2014 -0400

    Enabled swap disk to be resized when resizing instance.

    When you resize an instance, it is powered off and the root and
    ephemeral disks are resized (not swap). Swap is not resized
    because it is a partition. To allow the swap disk to be resized,
    we have to delete it and re-create it with the correct size.
    We do not care about the contents of the swap disk because
    when an instance is shut down, the contents of the swap space
    are just garbage, the OS doesn't bother about what is in it.

    Change-Id: I2bb05f01af6c97e6860dcd79a68884101a13c7d4
    Closes-Bug: #1244222