Actions
Bug #7264
closedrados.py: exception catching when librados load fails hides error
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
A developer had built a library set that had an unresolved-symbol problem; rados.py, and thus the ceph cli, failed with "Unable to find librados" rather than the real error (librados was found and bound, but couldn't succeed due to the unresolved symbol).
The exception handling in rados.py should print the error text from the exception, which contains the detail on the error, and should say something like "Couldn't load" rather than "Couldn't find", as the error may not be a missing library.
Actions