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
(cherry picked from commit f7b5655d188bfde96333760bbe634f45d4a16395)
Reviewed: https:/ /review. openstack. org/256262 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=07e8c6728b5 543dcec80ffad0c 18972a7a6d2223
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 07e8c6728b5543d cec80ffad0c1897 2a7a6d2223
Author: peter_wang <email address hidden>
Date: Tue Dec 8 03:18:31 2015 -0500
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 96333760bbe634f 45d4a16395)
Closes-Bug: 1499615
(cherry picked from commit f7b5655d188bfde
Change-Id: Ifae57b9e95e01b 1789a37ac7c03e9 aad65cd50f7