]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
3PAR Disable generic image volume cache
authorWalter A. Boring IV <walter.boring@hp.com>
Tue, 1 Sep 2015 18:59:22 +0000 (11:59 -0700)
committerWalter A. Boring IV (hemna) <walter.boring@hp.com>
Mon, 7 Sep 2015 17:06:42 +0000 (17:06 +0000)
commit1fccdfb7950d0c40ef99f62df47344f3e890dacf
treeae851943284e22117b7a55811b8f9e72beb649a6
parent8e70d0d286cca00f770bdbb8c2fd61ba32fd1c74
3PAR Disable generic image volume cache

This patch disables the 3PAR drivers if an admin tries to
enable the generic image volume cache capability.

The 3PAR drivers don't work with this currently because of the way volume
cloning works in the drivers.  When a volume is cloned, it's done so
in the background, which makes the clone available immediately for attaching.
The problem is, a background cloning also locks the original volume from
being modified.  The generic image cache does a clone, and then an extend
volume, which fails for the 3PAR drivers currently.

Change-Id: If2e79a24969ab85bacdffdf750af5fc74be37a5c
Partial-Bug: 1491088
cinder/tests/unit/test_hp3par.py
cinder/volume/drivers/san/hp/hp_3par_common.py