Project

General

Profile

Actions

Bug #46832

closed

client: static dirent for readdir is not thread-safe

Added by Patrick Donnelly over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Immediate
Category:
-
Target version:
% Done:

0%

Source:
Q/A
Tags:
Backport:
octopus,nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Client, mgr/volumes
Labels (FS):
crash
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

2020-08-04T01:39:29.002 INFO:tasks.ceph.mgr.y.smithi185.stderr:Exception in thread puregejob.0:
2020-08-04T01:39:29.002 INFO:tasks.ceph.mgr.y.smithi185.stderr:Traceback (most recent call last):
2020-08-04T01:39:29.003 INFO:tasks.ceph.mgr.y.smithi185.stderr:  File "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner
2020-08-04T01:39:29.003 INFO:tasks.ceph.mgr.y.smithi185.stderr:    self.run()
2020-08-04T01:39:29.003 INFO:tasks.ceph.mgr.y.smithi185.stderr:  File "/usr/share/ceph/mgr/volumes/fs/async_job.py", line 61, in run
2020-08-04T01:39:29.003 INFO:tasks.ceph.mgr.y.smithi185.stderr:    self.async_job.unregister_async_job(vol_job[0], vol_job[1], thread_id)
2020-08-04T01:39:29.003 INFO:tasks.ceph.mgr.y.smithi185.stderr:  File "/usr/share/ceph/mgr/volumes/fs/async_job.py", line 152, in unregister_async_job
2020-08-04T01:39:29.004 INFO:tasks.ceph.mgr.y.smithi185.stderr:    log.debug("unregistering async job {0}.{1} from thread {2}".format(volname, job, thread_id))
2020-08-04T01:39:29.004 INFO:tasks.ceph.mgr.y.smithi185.stderr:  File "/usr/lib64/python2.7/logging/__init__.py", line 1137, in debug
2020-08-04T01:39:29.004 INFO:tasks.ceph.mgr.y.smithi185.stderr:    self._log(DEBUG, msg, args, **kwargs)
2020-08-04T01:39:29.004 INFO:tasks.ceph.mgr.y.smithi185.stderr:  File "/usr/lib64/python2.7/logging/__init__.py", line 1268, in _log
2020-08-04T01:39:29.004 INFO:tasks.ceph.mgr.y.smithi185.stderr:    self.handle(record)
2020-08-04T01:39:29.005 INFO:tasks.ceph.mgr.y.smithi185.stderr:  File "/usr/lib64/python2.7/logging/__init__.py", line 1278, in handle
2020-08-04T01:39:29.005 INFO:tasks.ceph.mgr.y.smithi185.stderr:    self.callHandlers(record)
2020-08-04T01:39:29.005 INFO:tasks.ceph.mgr.y.smithi185.stderr:  File "/usr/lib64/python2.7/logging/__init__.py", line 1318, in callHandlers
2020-08-04T01:39:29.005 INFO:tasks.ceph.mgr.y.smithi185.stderr:    hdlr.handle(record)
2020-08-04T01:39:29.005 INFO:tasks.ceph.mgr.y.smithi185.stderr:  File "/usr/lib63/python2.7/logging/__init__.py", line 749, in handle
2020-08-04T01:39:29.006 INFO:tasks.ceph.mgr.y.smithi185.stderr:    self.emit(record)
2020-08-04T01:39:29.006 INFO:tasks.ceph.mgr.y.smithi185.stderr:  File "/usr/share/ceph/mgr/mgr_module.py", line 65, in emit
2020-08-04T01:39:29.006 INFO:tasks.ceph.mgr.y.smithi185.stderr:    self._module._ceph_log(ceph_level, self.format(record))
2020-08-04T01:39:29.006 INFO:tasks.ceph.mgr.y.smithi185.stderr:TypeError: must be string without null bytes, not str

From: /ceph/teuthology-archive/teuthology-2020-08-04_01:12:01-fs-nautilus-distro-basic-smithi/5285246/teuthology.log


Related issues 4 (0 open4 closed)

Related to CephFS - Fix #46851: qa: add debugging for volumes plugin use of libcephfsResolvedPatrick Donnelly

Actions
Has duplicate CephFS - Bug #44318: nautilus: mgr/volumes: exception when logging message (in logging::log())DuplicateVenky Shankar

Actions
Copied to CephFS - Backport #46855: octopus: client: static dirent for readdir is not thread-safeResolvedNathan CutlerActions
Copied to CephFS - Backport #46856: nautilus: client: static dirent for readdir is not thread-safeResolvedPatrick DonnellyActions
Actions

Also available in: Atom PDF