Project

General

Profile

Backport #18729

jewel: ceph-disk: error on _bytes2str

Added by Alexey Sheplyakov over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
High
Target version:
Release:
jewel


Related issues

Copied from Ceph - Bug #18371: ceph-disk: error on _bytes2str Resolved 12/30/2016

History

#1 Updated by Alexey Sheplyakov over 2 years ago

  • Copied from Bug #18371: ceph-disk: error on _bytes2str added

#2 Updated by Kefu Chai over 2 years ago

  • Status changed from New to In Progress

#3 Updated by Nathan Cutler over 2 years ago

  • Description updated (diff)

#4 Updated by Nathan Cutler over 2 years ago

  • Description updated (diff)

description

http://tracker.ceph.com/issues/18371

Got the same issue with Jewel (v10.2.5) on Ubuntu 16.04:

Jan 30 10:47:52 saceph-osd1 ceph[1791]: Traceback (most recent call last):
Jan 30 10:47:52 saceph-osd1 ceph[1791]:   File "/usr/sbin/ceph-disk", line 9, in <module>
Jan 30 10:47:52 saceph-osd1 ceph[1791]:     load_entry_point('ceph-disk==1.0.0', 'console_scripts', 'ceph-disk')()
Jan 30 10:47:52 saceph-osd1 ceph[1791]:   File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 5022, in run
Jan 30 10:47:52 saceph-osd1 ceph[1791]:     main(sys.argv[1:])
Jan 30 10:47:52 saceph-osd1 ceph[1791]:   File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 4975, in main
Jan 30 10:47:52 saceph-osd1 ceph[1791]:     main_catch(args.func, args)
Jan 30 10:47:52 saceph-osd1 ceph[1791]:   File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 5000, in main_catch
Jan 30 10:47:52 saceph-osd1 ceph[1791]:     func(args)
Jan 30 10:47:52 saceph-osd1 ceph[1791]:   File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 3806, in main_activate_all
Jan 30 10:47:52 saceph-osd1 ceph[1791]:     '{prog}: {msg}'.format(prog=args.prog, msg=e),
Jan 30 10:47:52 saceph-osd1 ceph[1791]:   File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 270, in __str__
Jan 30 10:47:52 saceph-osd1 ceph[1791]:     return ': '.join([doc] + [_bytes2str(a) for a in self.args])
Jan 30 10:47:52 saceph-osd1 ceph[1791]: TypeError: sequence item 2: expected string or Unicode, CalledProcessError found

#5 Updated by Nathan Cutler over 2 years ago

  • Status changed from In Progress to Resolved
  • Target version set to v10.2.6

Also available in: Atom PDF