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/143507 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=36bb8c285b7 5fb025095baf26c 7a2e3feb136b0c
Committed: https:/
Submitter: Jenkins
Branch: stable/juno
commit 36bb8c285b75fb0 25095baf26c7a2e 3feb136b0c
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