Project

General

Profile

Actions

Bug #21885

closed

Luminous: "ceph osd df" generates traceback

Added by Марк Коренберг over 6 years ago. Updated over 5 years ago.

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

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

Actions #2

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

Updated by Марк Коренберг over 5 years ago

Please close.

Actions #4

Updated by Nathan Cutler over 5 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF