]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
3PAR: Backend assisted volume migrate
authorRamy Asselin <ramy.asselin@hp.com>
Thu, 13 Feb 2014 00:23:15 +0000 (16:23 -0800)
committerGerrit Code Review <review@openstack.org>
Fri, 21 Feb 2014 16:58:42 +0000 (16:58 +0000)
commitec7f21ff8b8c15734ab845ee10187a1005e979fd
tree23dd40246f19f0a04e7a4d170d9e4e9bac80fe3f
parent6966a00065c9e092d90161e1f40e9455174bd4d9
3PAR: Backend assisted volume migrate

This patch implements volume migrate using native 3PAR APIs.

Prerequisites:
1. Same 3PAR backend
2. Volume cannot be attached
3. Source and Dest CPGS are in the same domain

Steps:
1. Create a temporary volume in the destination with a copy of the source
2. Wait for the copy to complete
3. Delete the source
4. Rename the temporary to the same name as the original

Change-Id: Ia42503d41bf8afd908cd3ffb0288f0d353f313f1
Implements: blueprint native-3par-migrate-volume
cinder/tests/test_hp3par.py
cinder/volume/drivers/san/hp/hp_3par_common.py
cinder/volume/drivers/san/hp/hp_3par_fc.py
cinder/volume/drivers/san/hp/hp_3par_iscsi.py