Project

General

Profile

Actions

Bug #7264

closed

rados.py: exception catching when librados load fails hides error

Added by Dan Mick about 10 years ago. Updated about 7 years ago.

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 #1

Updated by Radoslaw Zarzynski about 9 years ago

I am working on this.

Actions #3

Updated by Greg Farnum about 7 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF