image-create minDisk size should be based on the flavor's Disk size

Bug #1200279 reported by Attila Fazekas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Ann Taraday

Bug Description

When you create an instance from image the instance disk size is expanded to the disk size specified in the flavor.

Normally you cannot use the snapshot for creating an instance with smaller disk size (flavor) because it potential y causes a data corruption.

Every snapshots minDisk size should be inherited from the flavor.

Changed in nova:
assignee: nobody → Ann Kamyshnikova (akamyshnikova)
importance: Undecided → Medium
status: New → In Progress
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/36829

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

Reviewed: https://review.openstack.org/36829
Committed: http://github.com/openstack/nova/commit/6104225fd0c7c71811635eb0e0e5cbdee8306fc4
Submitter: Jenkins
Branch: master

commit 6104225fd0c7c71811635eb0e0e5cbdee8306fc4
Author: Ann Kamyshnikova <email address hidden>
Date: Fri Jul 12 17:17:40 2013 +0400

    MinDisk size based on the flavor's Disk size

    When you create an instance from image the instance disk size
    is expanded to the disk size specified in the flavor.

    Normally you cannot use the snapshot for creating an instance
    with smaller disk size (flavor) because it potentialy
    causes a data corruption.

    Every snapshots minDisk size should be inherited from the flavor.

    bug 1200279

    Change-Id: I1d0e909b78db2c863b4fbb54ad9065207f1a0abe

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