Boot from volume doesn't honour the minDisk parameter

Bug #1175532 reported by Dermot Tynan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Dermot Tynan

Bug Description

The Glance image system includes minDisk and minRam specifications to guide the Nova code in terms of the minimum disk and memory requirements for the instance.

The cinder create_volume from image doesn't look at the metadata so it is possible that the specified volume size is actually too small for the image. As images are often stored as QCOW files, the actual image size itself isn't representative of the disk size needed for the image.

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

Fix proposed to branch: master
Review: https://review.openstack.org/28030

Changed in cinder:
assignee: nobody → Dermot Tynan (dtynan)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/28030
Committed: http://github.com/openstack/cinder/commit/d0b5b93fe7611b35a8c6a9b09f46641f4fb859f4
Submitter: Jenkins
Branch: master

commit d0b5b93fe7611b35a8c6a9b09f46641f4fb859f4
Author: Dermot Tynan <email address hidden>
Date: Thu May 2 11:02:05 2013 +0100

    Check that volume is at least minDisk size.

    The Image service (such as Glance) provides a minDisk parameter to
    indicate the minimum required disk size for the image. This change
    ensures that the guidance is followed in the case of bootable
    volumes.

    Added unit test and fixed PEP8 issue.

    Fixed issue with docstring.

    Added a comment.

    Fixes Bug #1175532

    Change-Id: I505af53db70b5b286dbca2eaca4fc1f30a8c0b2a

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