Actions
Bug #21885
closedLuminous: "ceph osd df" generates traceback
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
I upgraded to Luminous from Kraken. And after upgrade "ceph osd df" does not work:
$ ceph osd df Traceback (most recent call last): File "/usr/bin/ceph", line 1122, in <module> retval = main() File "/usr/bin/ceph", line 1057, in main verbose) File "/usr/bin/ceph", line 580, in new_style_command inbuf=inbuf) File "/usr/lib/python2.7/dist-packages/ceph_argparse.py", line 1346, in json_command raise RuntimeError('"{0}": exception {1}'.format(argdict, e)) RuntimeError: "{'prefix': u'osd df', 'target': ('mgr', '')}": exception "['{"prefix": "osd df", "target": ["mgr", ""]}']": exception 'rados.Rados' object has no attribute 'mgr_command'
Updated by Марк Коренберг over 6 years ago
$ dpkg -l | fgrep ceph ii ceph-common 12.2.1-1xenial amd64 common utilities to mount and interact with a ceph storage cluster ii libcephfs2 12.2.1-1xenial amd64 Ceph distributed file system client library ii python-cephfs 12.2.1-1xenial amd64 Python 2 libraries for the Ceph libcephfs library
Updated by Марк Коренберг over 6 years ago
Sorry, guys. I had installed python-rados module in ~/.local/lib/python2.7. After removing it, everything become perfect.
So, anyway, it will be nice to disable such paths for python-based programs.
(bug may be closed right now)
Actions