Project

General

Profile

Bug #39722

pybind: ceph_volume_client py3 error

Added by Patrick Donnelly 5 months ago. Updated 5 months ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Source:
Q/A
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:

Description

2019-05-11T02:08:11.979 INFO:teuthology.orchestra.run.smithi136.stderr:Traceback (most recent call last):
2019-05-11T02:08:11.980 INFO:teuthology.orchestra.run.smithi136.stderr:  File "<string>", line 9, in <module>
2019-05-11T02:08:11.980 INFO:teuthology.orchestra.run.smithi136.stderr:  File "/usr/lib/python3/dist-packages/ceph_volume_client.py", line 506, in connect
2019-05-11T02:08:11.980 INFO:teuthology.orchestra.run.smithi136.stderr:    self._connect(premount_evict)
2019-05-11T02:08:11.980 INFO:teuthology.orchestra.run.smithi136.stderr:  File "/usr/lib/python3/dist-packages/ceph_volume_client.py", line 484, in _connect
2019-05-11T02:08:11.980 INFO:teuthology.orchestra.run.smithi136.stderr:    self.recover()
2019-05-11T02:08:11.980 INFO:teuthology.orchestra.run.smithi136.stderr:  File "/usr/lib/python3/dist-packages/ceph_volume_client.py", line 309, in recover
2019-05-11T02:08:11.981 INFO:teuthology.orchestra.run.smithi136.stderr:    match = re.search(regex, d.d_name)
2019-05-11T02:08:11.981 INFO:teuthology.orchestra.run.smithi136.stderr:  File "/usr/lib/python3.6/re.py", line 182, in search
2019-05-11T02:08:11.981 INFO:teuthology.orchestra.run.smithi136.stderr:    return _compile(pattern, flags).search(string)
2019-05-11T02:08:11.981 INFO:teuthology.orchestra.run.smithi136.stderr:TypeError: cannot use a string pattern on a bytes-like object

From: /ceph/teuthology-archive/pdonnell-2019-05-10_23:53:02-fs-wip-pdonnell-testing-20190510.182613-distro-basic-smithi/3947593/teuthology.log

Looks new. Dunno why we've never seen this before.


Related issues

Duplicates fs - Bug #39406: ceph_volume_client: d_name needs to be converted to string before using Pending Backport

History

#1 Updated by Patrick Donnelly 5 months ago

  • Description updated (diff)

Rishabh, please investigate.

#2 Updated by Rishabh Dave 5 months ago

If I am looking at this correctly, you have reported this before - http://tracker.ceph.com/issues/39406#note-2.

Fix for the issue - https://github.com/ceph/ceph/pull/27718/commits/db9fadd1e73209e7323377fb74e6b2d206de2c7d.

#3 Updated by Patrick Donnelly 5 months ago

  • Duplicates Bug #39406: ceph_volume_client: d_name needs to be converted to string before using added

#4 Updated by Patrick Donnelly 5 months ago

  • Status changed from New to Duplicate

Also available in: Atom PDF