]> 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 21:56:26 +0000 (21:56 +0000)
commitf9e6c5f88c96bcbd181e991219d4ecbf9b8cf833
tree18c33817c07a479f84083ae2a27a03e510131a6e
parent24451969ecc2439bc0f76f14ac2305478185c8f4
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
(cherry picked from commit e529e4d6cc71003c53126612dd869fa6fb23493a)
cinder/tests/unit/test_dellscapi.py
cinder/volume/drivers/dell/dell_storagecenter_api.py