GPFS Driver should implement clone_image for efficient volume creation

Bug #1213248 reported by Bill Owen on 2013-08-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Undecided
Bill Owen

Bug Description

Modify GPFS driver organization so that the code for dealing with moving image files from gpfs-backed glance repository to gpfs-backed volumes resides in clone_image function. This simplifies the code and better follows the intent of the clone_image function.

Bill Owen (billowen) on 2013-08-16
Changed in cinder:
assignee: nobody → Bill Owen (billowen)

Fix proposed to branch: master
Review: https://review.openstack.org/42446

Changed in cinder:
status: New → In Progress

Reviewed: https://review.openstack.org/42446
Committed: http://github.com/openstack/cinder/commit/5f5a37d31a4466e32fad39000ecf71156cc09b2d
Submitter: Jenkins
Branch: master

commit 5f5a37d31a4466e32fad39000ecf71156cc09b2d
Author: Bill Owen <email address hidden>
Date: Fri Aug 16 15:49:06 2013 -0700

    GPFS use clone_image for creating volumes

    If both source and target of gpfs create volume from image operation
    are backed by gpfs storage use clone_image method for implementing
    the move of image data to the new volume.

    The copy_image_to_volume method is used only if this is not true,
    and uses image_utils.fetch_to_raw to move image data to the new
    volume.

    Fixes bug #1213248

    Change-Id: I3958febe67cc86bc3cb608288f7d064f74d3a731

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2013-09-05
Changed in cinder:
milestone: none → havana-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2013-10-17
Changed in cinder:
milestone: havana-3 → 2013.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers