Project

General

Profile

Actions

Bug #39406

closed

ceph_volume_client: d_name needs to be converted to string before using

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

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

0%

Source:
Development
Tags:
Backport:
nautilus,mimic,luminous
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

The d_name in DirEntry is obtained by ceph_volume_client.py as bytes array while it expects it to be a string. Make the conversion before using it. Originally this commit converted byte to string which was recently reversed by this commit.


Related issues 4 (0 open4 closed)

Has duplicate CephFS - Bug #39722: pybind: ceph_volume_client py3 errorDuplicateRishabh Dave

Actions
Copied to CephFS - Backport #40323: luminous: ceph_volume_client: d_name needs to be converted to string before usingRejectedActions
Copied to CephFS - Backport #40324: nautilus: ceph_volume_client: d_name needs to be converted to string before usingResolvedPatrick DonnellyActions
Copied to CephFS - Backport #40325: mimic: ceph_volume_client: d_name needs to be converted to string before usingRejectedNathan CutlerActions
Actions

Also available in: Atom PDF