Boot from volume doesn't honour the minDisk parameter

Bug #1175532 reported by Dermot Tynan on 2013-05-02
This bug affects 1 person
Affects Status Importance Assigned to Milestone
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.

Fix proposed to branch: master

Changed in cinder:
assignee: nobody → Dermot Tynan (dtynan)
status: New → In Progress

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

    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) on 2013-05-29
Changed in cinder:
milestone: none → havana-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2013-10-17
Changed in cinder:
milestone: havana-1 → 2013.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers