Project

General

Profile

Actions

Bug #40800

closed

ceph_volume_client: to_bytes converts NoneType object str

Added by Rishabh Dave almost 5 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
nautilus,mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
VolumeClient
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Precisely, it happens here - https://github.com/ceph/ceph/blob/master/src/pybind/ceph_volume_client.py#L29-L32

IMO, to_bytes should just return None instead of returning "None".

I'll add fix for this to PR #28557 since it's blocked due this bug.


Related issues 2 (0 open2 closed)

Copied to CephFS - Backport #40886: mimic: ceph_volume_client: to_bytes converts NoneType object strRejectedRishabh DaveActions
Copied to CephFS - Backport #40887: nautilus: ceph_volume_client: to_bytes converts NoneType object strResolvedNathan CutlerActions
Actions

Also available in: Atom PDF