7f49b41eef
The "except ImageNotFound" was outside of the required try block, so ImageNotFound errors would result in exceptions being thrown up to the API layer. Add handling for other errors that could be thrown by RBD here, too. Reference info: https://github.com/ceph/ceph/blob/08d7ff952d/src/pybind/rbd/rbd.pyx#L8 Closes-Bug: #2065713 Change-Id: Ifaceb04263973b1445c7f13a6155dc63647d7176
8 lines
298 B
YAML
8 lines
298 B
YAML
---
|
|
fixes:
|
|
- |
|
|
`Bug #2065713 <https://bugs.launchpad.net/cinder/+bug/2065713>`_: Due to
|
|
incorrect exception handling, ImageNotFound errors in the RBD driver's
|
|
get_manageable_volumes operation would propagate up to the API layer rather
|
|
than being caught and handled in the driver.
|