Be sure converted image will be restored

Bug #1298976 reported by Sahid Orentino
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Sahid Orentino

Bug Description

On the driver libvirt. During the process of resizing disk if an image is qcow2 with
partition less the process converts the instance to raw.

After the extend we should restore the original format in all cases
not only if 'use_cow_images' is configured to True.

Tags: libvirt
Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/78626
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=7b15ed36cdf16f53255ded135bb3c49c2ae76d3b
Submitter: Jenkins
Branch: master

commit 7b15ed36cdf16f53255ded135bb3c49c2ae76d3b
Author: Sahid Orentino Ferdjaoui <email address hidden>
Date: Tue Aug 12 09:55:43 2014 +0200

    libvirt: fix _disk_resize to make sure converted image will be restored

    During the process of resizing disk if an image is in qcow2 with
    partition less the process converts the image to raw.
    After the extend we should to restore the original format in all cases
    not only if 'use_cow_images' is configured to True.

    Change-Id: I792e0fb986a6c5cf9ac477cef0949c8a40099faa
    Closes-Bug: #1298976

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