dell_storagecenter_api.py was looking for the cgsnapshot for
cgsnapshot-delete via the wrong REST API call. It was also only
looking for the first volume's snapshot rather than all snapshots
associated with a cgsnapshot. It now locates the snapshots properly
and expires the associated replays on cgsnapshot-delete.
Tests updated appropriately.
Change-Id: I1e635db8b06d3d7a78573e6e8a2a4c25b7fb458d
Closes-Bug: #1500583
(cherry picked from commit e529e4d6cc71003c53126612dd869fa6fb23493a)
Reviewed: https:/ /review. openstack. org/229654 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=f9e6c5f88c9 6bcbd181e991219 d4ecbf9b8cf833
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit f9e6c5f88c96bcb d181e991219d4ec bf9b8cf833
Author: Tom Swanson <email address hidden>
Date: Tue Sep 29 10:26:48 2015 -0500
Dell SC: cgsnapshot-delete doesn't actually delete
dell_ storagecenter_ api.py was looking for the cgsnapshot for delete via the wrong REST API call. It was also only
cgsnapshot-
looking for the first volume's snapshot rather than all snapshots
associated with a cgsnapshot. It now locates the snapshots properly
and expires the associated replays on cgsnapshot-delete.
Tests updated appropriately.
Change-Id: I1e635db8b06d3d 7a78573e6e8a2a4 c25b7fb458d c53126612dd869f a6fb23493a)
Closes-Bug: #1500583
(cherry picked from commit e529e4d6cc71003