Project

General

Profile

Backport #18729

Updated by Nathan Cutler over 2 years ago

https://github.com/ceph/ceph/pull/13187 http://tracker.ceph.com/issues/18371

Got the same issue with Jewel (v10.2.5) on Ubuntu 16.04:
<pre>
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
</pre>

Back