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.
Reviewed: https:/ /review. openstack. org/255655 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=f7b5655d188 bfde96333760bbe 634f45d4a16395
Committed: https:/
Submitter: Jenkins
Branch: master
commit f7b5655d188bfde 96333760bbe634f 45d4a16395
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 1789a37ac7c03e9 aad65cd50f7
Closes-Bug: 1499615
Change-Id: Ifae57b9e95e01b