Description of problem: We have faced a bug in openstack-cinder when unprotect_snap() method was called for closed image object. As a result, SEGFAULT from python-rbd causes cinder-volume to crash. I am not challenging the idea that unprotect_snap() method shouldn't be called for closed volume and that python-rbd should generate some form of exception. But IMO Segmentation fault is wrong way to handle such situations. Version-Release number of selected component (if applicable): This issue was there for a long time. We reproduced it for: librbd1-12.2.12-74.el7cp.x86_64 python-rbd-12.2.12-74.el7cp.x86_64 How reproducible: https://bugs.launchpad.net/cinder/+bug/1794956/comments/6 Additional info: Related bug in cinder-volume #1811587
Already included in RHCS 5 (since v15.2.2).
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Red Hat Ceph Storage 5.0 bug fix and enhancement), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:3294