]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Catch ImageNotFound exception when deleting rbd volume
authorJordan Tardif <jordan@dreamhost.com>
Mon, 15 Sep 2014 21:59:06 +0000 (17:59 -0400)
committerJordan Tardif <jordan.tardif@gmail.com>
Wed, 17 Dec 2014 17:21:42 +0000 (17:21 +0000)
commitddc8d7a4233aee139f9c91aeee885d7f2e45f8ac
tree9129cd183d6024de16e21b43604604bc2f3128d5
parentd1b89778f97fe235bef68a81215249ea590f327b
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
cinder/tests/test_rbd.py
cinder/volume/drivers/rbd.py