Project

General

Profile

Bug #40800

ceph_volume_client: to_bytes converts NoneType object str

Added by Rishabh Dave about 1 month ago. Updated about 1 month ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
07/17/2019
Due date:
% 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:

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

Copied to fs - Backport #40886: mimic: ceph_volume_client: to_bytes converts NoneType object str New
Copied to fs - Backport #40887: nautilus: ceph_volume_client: to_bytes converts NoneType object str New

History

#1 Updated by Rishabh Dave about 1 month ago

  • Status changed from In Progress to Need Review
  • Pull request ID set to 28557

#2 Updated by Patrick Donnelly about 1 month ago

  • Status changed from Need Review to Pending Backport
  • Target version set to v15.0.0
  • Source set to Development
  • Backport set to nautilus,mimic

#3 Updated by Nathan Cutler about 1 month ago

  • Copied to Backport #40886: mimic: ceph_volume_client: to_bytes converts NoneType object str added

#4 Updated by Nathan Cutler about 1 month ago

  • Copied to Backport #40887: nautilus: ceph_volume_client: to_bytes converts NoneType object str added

Also available in: Atom PDF