]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
VNX: Fix issue in deleting cg/cgsnapshot
authorpeter_wang <peter.wang13@emc.com>
Tue, 8 Dec 2015 08:18:31 +0000 (03:18 -0500)
committerpeter_wang <peter.wang13@emc.com>
Thu, 10 Dec 2015 03:30:46 +0000 (22:30 -0500)
commitf7b5655d188bfde96333760bbe634f45d4a16395
tree8e5ccd11cbcc4becec043f77bea3a9d2dbed4efc
parentef08af911244210b5b7839502302a90199b14263
VNX: Fix issue in deleting cg/cgsnapshot

If user deletes a cg/cgsnapshot quickly after its creation,
driver would report 'not found' warning, and return success
for the deletion, but actually, the object underlying the VNX
is not deleted.

This fix tries to wait the cg and cg snapshot to be available
to make sure it's eligible for deletion.

liberty-backport-potential
Closes-Bug: 1499615
Change-Id: Ifae57b9e95e01b1789a37ac7c03e9aad65cd50f7
cinder/tests/unit/test_emc_vnxdirect.py
cinder/volume/drivers/emc/emc_vnx_cli.py