Catch ImageNotFound exception when deleting rbd volume
When deleting a rbd volume it is possible for remove() to
throw a ImageNotFound exception. In this case we should
catch the exception, so the volume delete can continue.
Closes-Bug: 1403172
Change-Id: I32cf9d3774c129cda4449996ceeb4b43b7e42904
(cherry picked from commit ddc8d7a4233aee139f9c91aeee885d7f2e45f8ac)
Reviewed: https:/ /review. openstack. org/142860 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=303d0210611 2b4c3766a580d5c cb75f756892e02
Committed: https:/
Submitter: Jenkins
Branch: stable/icehouse
commit 303d02106112b4c 3766a580d5ccb75 f756892e02
Author: Jordan Tardif <email address hidden>
Date: Mon Sep 15 17:59:06 2014 -0400
Catch ImageNotFound exception when deleting rbd volume
When deleting a rbd volume it is possible for remove() to
throw a ImageNotFound exception. In this case we should
catch the exception, so the volume delete can continue.
Closes-Bug: 1403172 cda4449996ceeb4 b43b7e42904 39f9c91aeee885d 7f2e45f8ac)
Change-Id: I32cf9d3774c129
(cherry picked from commit ddc8d7a4233aee1