]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
3PAR fix driver to work with image cache
authorWalter A. Boring IV <walter.boring@hp.com>
Thu, 10 Sep 2015 18:19:24 +0000 (11:19 -0700)
committerWalter A. Boring IV <walter.boring@hpe.com>
Tue, 2 Feb 2016 16:56:13 +0000 (08:56 -0800)
commitab573d0412df807eaf129ab6c2af47dba02e1de7
tree9a05b4a12fcf04b920b386c926a18ebddb967c82
parent9814feedf46e9d363cefb975ca994b83cf89cba9
3PAR fix driver to work with image cache

This patch fixes the problem with the 3PAR not
working with the generic image cache.

In order to do the image cache, the 3PAR has to create a
temporary snapshot of the volume being cloned.  Then the
background cloning is against the temporary snapshot.
The problem is, the temporary snapshot stays around.
We try to account for this temporary snapshot in
the delete volume action.

We also bump the minimum required python-3parclient
version to 4.1.0, which has the new getVolumeSnapshots
API call required to make this all work.

Change-Id: I6dea01ce07387990aa38bd5106b51504739b3a6e
Closes-Bug: #1491088
cinder/tests/unit/fake_hpe_3par_client.py
cinder/tests/unit/test_hpe3par.py
cinder/volume/drivers/hpe/hpe_3par_common.py