]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Dell SC: cgsnapshot-delete doesn't actually delete
authorTom Swanson <tom_swanson@dell.com>
Tue, 29 Sep 2015 15:26:48 +0000 (10:26 -0500)
committerTom Swanson <tom_swanson@dell.com>
Wed, 30 Sep 2015 14:29:19 +0000 (09:29 -0500)
commite529e4d6cc71003c53126612dd869fa6fb23493a
tree084ac35c4aa0627903aabf3837149095d70d0d79
parenta9aab612c0546afd2fb2e22dc0eff2b8c75bb2ed
Dell SC: cgsnapshot-delete doesn't actually delete

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
cinder/tests/unit/test_dellscapi.py
cinder/volume/drivers/dell/dell_storagecenter_api.py