Copy image to volume unnecessarily calls ensure_export( )

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

Bug Description

The Create Volume from Image extension 'os-image-create' creates a new volume and copies the specified image on this new volume. Since the Volume is newly created, it is an overhead to call 'ensure_export' from '_copy_image_to_volume( )' method.
Therefore, the call to 'ensure_export' needs to be removed.

Changed in cinder:
assignee: nobody → Unmesh Gurjar (unmesh-gurjar)
description: updated
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/12258

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/12258
Committed: http://github.com/openstack/cinder/commit/8c30edff982042d2533a810709308b586267c0e9
Submitter: Jenkins
Branch: master

commit 8c30edff982042d2533a810709308b586267c0e9
Author: Unmesh Gurjar <email address hidden>
Date: Fri Aug 31 07:25:39 2012 -0700

    Removed unnecessary call to ensure_export

    Removed the extra call to 'ensure_export' from '_copy_image_to_volume' while
    creating a volume from an image.

    Fixes LP: #1044399

    Change-Id: I189a4cb66b965367289c2f677147ee085e431190

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