fetch_to_volume_format calls copy_volume using the wrong parameter

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

Bug Description

When creating a volume from an image, if qemu-img is not installed, fetch_to_volume_format will call volume_utils.copy_volume to copy image to volume. copy_volume need the size of image in megabyte, but fetch_to_volume_format call it using size in bytes.

wuyuting (wytdahu)
Changed in cinder:
assignee: nobody → wuyuting (wytdahu)
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/150232

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

Reviewed: https://review.openstack.org/150232
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=549144f754a8b3adb9d7fdfa8f8f9ee186a52f1e
Submitter: Jenkins
Branch: master

commit 549144f754a8b3adb9d7fdfa8f8f9ee186a52f1e
Author: wuyuting <email address hidden>
Date: Tue Jan 27 02:50:28 2015 +0800

    Fetch_to_volume_format calls copy_volume using wrong parameter

    When creating a volume from an image, if qemu-img is not installed,
    fetch_to_volume_format will call volume_utils.copy_volume to copy
    image to volume. Copy_volume need the size of image in megabyte,
    but fetch_to_volume_format call it using size in bytes.

    Change-Id: Ia3b0f9168235a977a12232e27a5755ad11ec18f5
    Closes-Bug: #1414867

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