commit 743d5efccaa99e3b4873831a8f43c216a31c7113
Author: Nicolas Simonds <email address hidden>
Date: Wed May 11 10:52:52 2016 -0700
imagebackend: Check that the RBD image exists before trying to cleanup
In volume-backed setups, there is no image to clean up, so any
attempts to cleanup the resize snapshots will fail by definition.
Make sure the image exists first.
NOTE(mriedem): The test in the backport is slightly different from
mitaka because of some minor things with stubs and config options.
Change-Id: I25f65bcc76b83f31a8fce77c2b751d2d167ffc7e
Closes-Bug: 1580625
(cherry picked from commit 671bb2651d9d1a07947690468825581d30482dcb)
(cherry picked from commit 8b256fb50a0bb9c6ddcbff2099a744045688b652)
Reviewed: https:/ /review. openstack. org/315694 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=743d5efccaa 99e3b4873831a8f 43c216a31c7113
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 743d5efccaa99e3 b4873831a8f43c2 16a31c7113
Author: Nicolas Simonds <email address hidden>
Date: Wed May 11 10:52:52 2016 -0700
imagebackend: Check that the RBD image exists before trying to cleanup
In volume-backed setups, there is no image to clean up, so any
attempts to cleanup the resize snapshots will fail by definition.
Make sure the image exists first.
NOTE(mriedem): The test in the backport is slightly different from
mitaka because of some minor things with stubs and config options.
Change-Id: I25f65bcc76b83f 31a8fce77c2b751 d2d167ffc7e 794769046882558 1d30482dcb) 6ddcbff2099a744 045688b652)
Closes-Bug: 1580625
(cherry picked from commit 671bb2651d9d1a0
(cherry picked from commit 8b256fb50a0bb9c