]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Adding the -online option to the 3PAR clone
authorKurt Martin <kurt.f.martin@hp.com>
Tue, 13 Aug 2013 20:51:15 +0000 (13:51 -0700)
committerKurt Martin <kurt.f.martin@hp.com>
Wed, 14 Aug 2013 01:07:28 +0000 (18:07 -0700)
commitde31210c05f464c4a79255de68b1a515d9b84ed3
treee86d6a4ff198611c4f52f45d2035f98eb1e4eb8e
parent402f3e230a3ef993c198cbce974f7f4c6d52f3ef
Adding the -online option to the 3PAR clone

The 3PAR drivers had to wait while the clone was being performed
and this would take a considerable amount of time for large volumes.
This patch takes advantage of the 3PAR backend by using the -online
option in the command that we were calling to perform the copy. This
allows us to remove the sleep in the driver. Using the -online
option forced us to change some of the delete_volume code because
the 3PAR backend will not allow a volume that was copied to be added
to a virtual volume set.

DocImpact

Change-Id: I47d72063c858e2eee10756be4f74febdd1603179
Fixes: bug 1208586
cinder/tests/test_hp3par.py
cinder/volume/drivers/san/hp/hp_3par_common.py