[Bug 1114567] New: ceph-volume: memoryview: a bytes-like object is required, not 'str'
http://bugzilla.opensuse.org/show_bug.cgi?id=1114567 Bug ID: 1114567 Summary: ceph-volume: memoryview: a bytes-like object is required, not 'str' Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: All OS: SUSE Other Status: NEW Severity: Major Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: marcos.souza.org@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- ceph-volume has a problem to create an OSD: CEPH_VOLUME_DEBUG=1 ceph-volume lvm create --data /dev/sdb Running command: /usr/bin/ceph-authtool --gen-print-key Running command: /usr/bin/ceph --cluster ceph --name client.bootstrap-osd --keyring /var/lib/ceph/bootstrap-osd/ceph.keyring -i - osd new 1acafc42-c63c-4e8d-b4cb-b454b35c5293 Traceback (most recent call last): File "/usr/sbin/ceph-volume", line 6, in <module> main.Volume() File "/usr/lib/python3.6/site-packages/ceph_volume/main.py", line 37, in __init__ self.main(self.argv) File "/usr/lib/python3.6/site-packages/ceph_volume/decorators.py", line 59, in newfunc return f(*a, **kw) File "/usr/lib/python3.6/site-packages/ceph_volume/main.py", line 153, in main terminal.dispatch(self.mapper, subcommand_args) File "/usr/lib/python3.6/site-packages/ceph_volume/terminal.py", line 182, in dispatch instance.main() File "/usr/lib/python3.6/site-packages/ceph_volume/devices/lvm/main.py", line 38, in main terminal.dispatch(self.mapper, self.argv) File "/usr/lib/python3.6/site-packages/ceph_volume/terminal.py", line 182, in dispatch instance.main() File "/usr/lib/python3.6/site-packages/ceph_volume/devices/lvm/create.py", line 69, in main self.create(args) File "/usr/lib/python3.6/site-packages/ceph_volume/decorators.py", line 16, in is_root return func(*a, **kw) File "/usr/lib/python3.6/site-packages/ceph_volume/devices/lvm/create.py", line 26, in create prepare_step.safe_prepare(args) File "/usr/lib/python3.6/site-packages/ceph_volume/devices/lvm/prepare.py", line 216, in safe_prepare self.prepare(args) File "/usr/lib/python3.6/site-packages/ceph_volume/decorators.py", line 16, in is_root return func(*a, **kw) File "/usr/lib/python3.6/site-packages/ceph_volume/devices/lvm/prepare.py", line 245, in prepare self.osd_id = prepare_utils.create_id(osd_fsid, json.dumps(secrets), osd_id=args.osd_id) File "/usr/lib/python3.6/site-packages/ceph_volume/util/prepare.py", line 72, in create_id show_command=True File "/usr/lib/python3.6/site-packages/ceph_volume/process.py", line 201, in call stdout_stream, stderr_stream = process.communicate(stdin) File "/usr/lib64/python3.6/subprocess.py", line 843, in communicate stdout, stderr = self._communicate(input, endtime, timeout) File "/usr/lib64/python3.6/subprocess.py", line 1499, in _communicate input_view = memoryview(self._input) TypeError: memoryview: a bytes-like object is required, not 'str' This error was fixed in ceph-osd 13.2.2 [1] as per this tracker issue[2]. Opensuse Leap 15.0 still has ceph-osd version 13.0.2: Information for package ceph-osd: --------------------------------- Repository : openSUSE-Leap-15.0-1 Name : ceph-osd Version : 13.0.2.1874+ge31585919b-lp150.1.2 Arch : x86_64 Vendor : openSUSE Installed Size : 41.7 MiB Installed : Yes (automatically) Status : up-to-date Source package : ceph-13.0.2.1874+ge31585919b-lp150.1.2.src Summary : Ceph Object Storage Daemon Description : ceph-osd is the object storage daemon for the Ceph distributed file system. It is responsible for storing objects on a local file system and providing access to them over the network. Would be possible to upgrade the ceph-osd package in order to have this bug fixed? [1]: https://github.com/ceph/ceph/pull/23239 [2]: https://tracker.ceph.com/issues/24993 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com