Reviewed: https://review.openstack.org/75982 Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=e31b9e78374bcaeae573cce2915897ceb870ffc3 Submitter: Jenkins Branch: master
commit e31b9e78374bcaeae573cce2915897ceb870ffc3 Author: Ramy Asselin <email address hidden> Date: Mon Feb 24 12:29:01 2014 -0800
3PAR: Delete missing snapshot stuck in error_del
If the snapshot is deleted outside of cinder, attempting to delete it again results in the snapshot state stuck in error_deleting.
This is because the current code raises a NotFound exception, but the base cinder code does not catch this and update its db.
Instead, log a warning, and simply tell the base cinder code that it was successfully deleted.
Change-Id: I5c5d24bc113e320346ff4f1f4f62fffdf7cddfc4 Closes-Bug: #1283233
Reviewed: https:/ /review. openstack. org/75982 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=e31b9e78374 bcaeae573cce291 5897ceb870ffc3
Committed: https:/
Submitter: Jenkins
Branch: master
commit e31b9e78374bcae ae573cce2915897 ceb870ffc3
Author: Ramy Asselin <email address hidden>
Date: Mon Feb 24 12:29:01 2014 -0800
3PAR: Delete missing snapshot stuck in error_del
If the snapshot is deleted outside of cinder, attempting
to delete it again results in the snapshot state stuck in
error_deleting.
This is because the current code raises a NotFound exception,
but the base cinder code does not catch this and update its db.
Instead, log a warning, and simply tell the base cinder code that it was
successfully deleted.
Change-Id: I5c5d24bc113e32 0346ff4f1f4f62f ffdf7cddfc4
Closes-Bug: #1283233