Bug 1262068

Summary: [RFE][cinder] Implement optimized RBD to RBD volume migration
Product: Red Hat OpenStack Reporter: Jon Bernard <jobernar>
Component: openstack-cinderAssignee: Jon Bernard <jobernar>
Status: CLOSED ERRATA QA Contact: Avi Avraham <aavraham>
Severity: medium Docs Contact: James Smith <jamsmith>
Priority: medium    
Version: 9.0 (Mitaka)CC: achernet, cschwede, eharney, flucifre, jamsmith, jobernar, nlevinki, pgrist, sclewis, scohen, sgotliv, srevivo, tshefi, tvignaud, yrabl
Target Milestone: Upstream M1Keywords: FutureFeature, TestOnly, Triaged
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/cinder/+spec/ceph-volume-migrate
Whiteboard: upstream_milestone_none upstream_definition_approved upstream_status_needs-code-review
Fixed In Version: openstack-cinder-13.0.0-0.20180710093321.64bebcd.el7ost Doc Type: Enhancement
Doc Text:
This enhancement optimizes migration of an RBD volume from one Cinder back end to another when the volume resides within the same Ceph cluster. If both volumes are in the same Ceph cluster, data migration is performed by ceph itself, instead of the cinder-volume process. This reduces migration time.
Story Points: ---
Clone Of:
: 1640385 (view as bug list) Environment:
Last Closed: 2019-01-11 11:47:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1394651, 1640385    

Description Jon Bernard 2015-09-10 18:38:50 UTC
Generic volume migration was added to Cinder during the Liberty cycle.  This allows the RBD driver to participate in volume migration using the "generic" method where each block is read from the source volume and written to the target volume.  Although this gives customers the ability to migration volumes where previously they had no options, the block-for-block copy is more work than needed when both backends (source and target) reside on the same Ceph cluster.  In this case, an optimized migration methond can be implemented to take advantage of the underlying storage knowlege.  We should do this.

Comment 3 Sean Cohen 2016-07-26 13:38:06 UTC
*** Bug 1315661 has been marked as a duplicate of this bug. ***

Comment 4 Jon Bernard 2016-08-16 16:00:48 UTC
update: patch is complete to my knowledge, waiting on upstream reviews

Comment 5 Elise Gafford 2016-08-22 18:48:50 UTC
Moving to ON_DEV, as this change is currently under upstream review.

Comment 19 Avi Avraham 2018-10-14 14:22:13 UTC
verified 
RPM package version 
python-cinder-13.0.1-0.20180917193045.c56591a.el7ost.noarch
openstack-cinder-13.0.1-0.20180917193045.c56591a.el7ost.noarch
python2-cinderclient-4.0.1-0.20180809133302.460229c.el7ost.noarch
puppet-cinder-13.3.1-0.20180917145846.550e793.el7ost.noarch
according to RFE test run

Comment 22 errata-xmlrpc 2019-01-11 11:47:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2019:0045