Virtual size of the QCOW2 should be logged when flavor's root disk size < virtual size of the QCOW2

Bug #1206362 reported by Hirofumi Ichihara
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Hirofumi Ichihara

Bug Description

When we boot VM with QCOW2 which virtual size of the QCOW2 is larger than flavor's root disk size, boot fails with Error( /opt/stack/data/nova/instances/_base/instanceID virtual size larger than flavor root disk size xxxxxxxxxx). This behavior is right( This patch is bug #1177830 ).

But we cannot know virtual size in the log and cannot select suitable flavor. We must command 'qemu-img info image-path' on machine hosted image for knowing it.

So virtual size of the QCOW2 should be logged when flavor's root disk size < virtual size of the QCOW2.
(e.g. /opt/stack/data/nova/instances/_base/instanceID virtual size yyyyyyyyyyyy larger than flavor root disk size xxxxxxxxx )

Changed in nova:
assignee: nobody → Hirofumi Ichihara (ichihara-hirofumi)
Changed in nova:
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/39241

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

Reviewed: https://review.openstack.org/39241
Committed: http://github.com/openstack/nova/commit/62e8dd3042bb62c0e11db6cfd64ca9841eb689b9
Submitter: Jenkins
Branch: master

commit 62e8dd3042bb62c0e11db6cfd64ca9841eb689b9
Author: Hirofumi Ichihara <email address hidden>
Date: Tue Jul 30 16:29:23 2013 +0900

    Logging virtual size of the QCOW2

    When we boot VM with QCOW2 which virtual size of the QCOW2 is larger than
    flavor's root disk size, we cannot know virtual size in the log.

    Virtual size of the QCOW2 should be logged.

    Change-Id: I3ed969151525cada2208f755b0116ed0eca1bdf2
    Fixes: bug #1206362

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.