Project

General

Profile

Actions

Bug #51183

closed

qa: FileNotFoundError: [Errno 2] No such file or directory: '/sys/kernel/debug/ceph/3fab6bea-f243-47a4-a956-8c03a62b61b5.client4721/mds_sessions'

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

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

0%

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

Description

2021-06-11T19:40:01.304 DEBUG:teuthology.orchestra.run.smithi093:> sudo python3 -c '
2021-06-11T19:40:01.305 DEBUG:teuthology.orchestra.run.smithi093:> import glob
2021-06-11T19:40:01.305 DEBUG:teuthology.orchestra.run.smithi093:> import os
2021-06-11T19:40:01.306 DEBUG:teuthology.orchestra.run.smithi093:> import json
2021-06-11T19:40:01.306 DEBUG:teuthology.orchestra.run.smithi093:>
2021-06-11T19:40:01.306 DEBUG:teuthology.orchestra.run.smithi093:> def get_id_to_dir():
2021-06-11T19:40:01.307 DEBUG:teuthology.orchestra.run.smithi093:>     result = {}
2021-06-11T19:40:01.307 DEBUG:teuthology.orchestra.run.smithi093:>     for dir in glob.glob("/sys/kernel/debug/ceph/*"):
2021-06-11T19:40:01.308 DEBUG:teuthology.orchestra.run.smithi093:>         mds_sessions_lines = open(os.path.join(dir, "mds_sessions")).readlines()
2021-06-11T19:40:01.308 DEBUG:teuthology.orchestra.run.smithi093:>         client_id = mds_sessions_lines[1].split()[1].strip('"'"'"'"'"')
2021-06-11T19:40:01.309 DEBUG:teuthology.orchestra.run.smithi093:>
2021-06-11T19:40:01.309 DEBUG:teuthology.orchestra.run.smithi093:>         result[client_id] = dir
2021-06-11T19:40:01.309 DEBUG:teuthology.orchestra.run.smithi093:>     return result
2021-06-11T19:40:01.310 DEBUG:teuthology.orchestra.run.smithi093:>
2021-06-11T19:40:01.310 DEBUG:teuthology.orchestra.run.smithi093:> print(json.dumps(get_id_to_dir()))
2021-06-11T19:40:01.311 DEBUG:teuthology.orchestra.run.smithi093:> '
2021-06-11T19:40:01.387 INFO:teuthology.orchestra.run.smithi093.stderr:Traceback (most recent call last):
2021-06-11T19:40:01.387 INFO:teuthology.orchestra.run.smithi093.stderr:  File "<string>", line 15, in <module>
2021-06-11T19:40:01.388 INFO:teuthology.orchestra.run.smithi093.stderr:  File "<string>", line 9, in get_id_to_dir
2021-06-11T19:40:01.388 INFO:teuthology.orchestra.run.smithi093.stderr:FileNotFoundError: [Errno 2] No such file or directory: '/sys/kernel/debug/ceph/3fab6bea-f243-47a4-a956-8c03a62b61b5.client4721/mds_sessions'
2021-06-11T19:40:01.390 DEBUG:teuthology.orchestra.run:got remote process result: 1

From: /ceph/teuthology-archive/pdonnell-2021-06-11_18:02:10-fs-wip-pdonnell-testing-20210611.162716-distro-basic-smithi/6166803/teuthology.log


Related issues 1 (0 open1 closed)

Copied to CephFS - Backport #51500: pacific: qa: FileNotFoundError: [Errno 2] No such file or directory: '/sys/kernel/debug/ceph/3fab6bea-f243-47a4-a956-8c03a62b61b5.client4721/mds_sessions'ResolvedPatrick DonnellyActions
Actions

Also available in: Atom PDF