]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
RBD: Make snapshot_delete more robust
authorDirk Mueller <dirk@dmllr.de>
Thu, 29 Jan 2015 13:11:35 +0000 (14:11 +0100)
committerSean McGinnis <sean_mcginnis@dell.com>
Wed, 25 Nov 2015 22:18:23 +0000 (16:18 -0600)
commitc776607c4305304f56e779403e1d23ad51e8dcb5
tree777ab994e7684eff2077bbd35fbd9c95710c4beb
parentcdc645e2f9da5dccd7d05eb157029e2542ac18db
RBD: Make snapshot_delete more robust

Since there is no equivalent of a force-snapshot-delete,
the normal snapshot-delete should be more robust to
also handle backend errors. In case the backend does not have
the image snapshot anymore, log an info message and succeed the
operation.

Change-Id: I7fe0878dbc07053ac78272b6998513fafa1c36e8
Closes-Bug: #1415905
Related-Bug: #1361926
cinder/tests/unit/test_rbd.py
cinder/volume/drivers/rbd.py