Project

General

Profile

Actions

Bug #37373

open

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

Added by Sebastian Wagner over 5 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
ceph cli
Target version:
-
% Done:

0%

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

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

Actions #1

Updated by Sebastian Wagner over 5 years ago

Relates to #36358

Actions #2

Updated by Brad Hubbard over 5 years ago

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

Also available in: Atom PDF