Actions
Bug #44610
closed[python] ensure image is open before permitting operations
% Done:
0%
Source:
Community (user)
Tags:
Backport:
nautilus,octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Description
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
Actions