RBD get_manageable_volumes ImageNotFound exception handling is faulty

Bug #2065713 reported by Eric Harney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
In Progress
Medium
Eric Harney

Bug Description

https://opendev.org/openstack/cinder/src/commit/6e71a67f4da86bf95/cinder/volume/drivers/rbd.py#L2239

rbd.ImageNotFound() is thrown outside of the necessary try: block, so it propagates up to the API layer when it should be handled in the driver.

Tags: drivers rbd
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/cinder/+/919607

Changed in cinder:
status: New → In Progress
Eric Harney (eharney)
description: updated
description: updated
Eric Harney (eharney)
Changed in cinder:
importance: Undecided → Medium
assignee: nobody → Eric Harney (eharney)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.