]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
More validation logic for VNX CG creation
authorJeegn Chen <jeegn.chen@emc.com>
Wed, 4 Mar 2015 13:10:34 +0000 (21:10 +0800)
committerJeegn Chen <jeegn.chen@emc.com>
Wed, 4 Mar 2015 13:10:34 +0000 (21:10 +0800)
commit876e891a8bf5a1a7cdb857c7cefa946c418272f0
tree7e0d32336e5c7714d33f548eff96d48d02603dc9
parentd2af7faf2dfa0f60724fe9cf3b64f24e2566d3a1
More validation logic for VNX CG creation

In VNX array, compressed LUNs cannot be added into a Consistency Group.

VNX Cinder Driver should check the volume types.
If storagetype:provisioning=compressed is specified,
VNX Cinder Driver should reject the CG creation operation.

When parsing group['volume_type_id'], the trailing comma should be
considered.

Change-Id: Ie683935f8aa03f04e0c353bdebadc0f410ada08e
Closes-Bug: #1421163
cinder/tests/test_emc_vnxdirect.py
cinder/volume/drivers/emc/emc_vnx_cli.py