Project

General

Profile

Bug #37373

Interactive mode CLI with Python 3: Traceback when pressing ^D

Added by Sebastian Wagner 11 months ago. Updated 11 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
ceph cli
Target version:
-
Start date:
11/22/2018
Due date:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

Hey,

calling ^d in the repl of the ceph command using Python 3 shows a Traceback:

$ ceph
ceph> 
ceph> 
ceph> Traceback (most recent call last):
  File "/home/sebastian/Repos/ceph/build/bin/ceph", line 1250, in <module>
    retval = main()
  File "/home/sebastian/Repos/ceph/build/bin/ceph", line 1229, in main
    raw_write(outbuf)
  File "/home/sebastian/Repos/ceph/build/bin/ceph", line 172, in raw_write
    raw_stdout.write(buf)
TypeError: a bytes-like object is required, not 'str'

Is there anyone that uses this mode? Relates to

https://marc.info/?i=CALe9h7c5kJudfsQ6Vf_vczUG0CeoN8=dxznC=92RamBvxD9u0w%20()%20mail%20!%20gmail%20!%20com

History

#1 Updated by Sebastian Wagner 11 months ago

Relates to #36358

#2 Updated by Brad Hubbard 11 months ago

  • Project changed from RADOS to Ceph
  • Category set to ceph cli

Also available in: Atom PDF