Project

General

Profile

Actions

Support #58635

open

MDS blacklists clients causing hang at mountpoint

Added by siva p about 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
Category:
fs/ceph
Target version:
-
% Done:

0%

Tags:
Reviewed:
Affected Versions:

Description

Hello,
We are running Ceph server on RHEL running kernel 4.18.0-348.el8.x86_64 with
ceph version 16.2.6 (ee28fb57e47e9f88813e24bbf4c14496ca299d31) pacific (stable)

There are around 5 Clients connected which run on kernel 5.10
But i observe intermittent mount issue and it hangs for more than 10 minutes and connects back. During this time i noted that the particular client is blackisted by the server.
I would like to know what could be the reason for the server to blacklist a particular client and is there a timeout for recovery which cause it hung for more than 10 minutes?
Also is there a way to reduce the timeout?
Please let me know if there are any info is needed

Logs from the hung client below:
[12277.120315] ceph: mds0 caps stale
[12513.987362] ceph: mds0 hung
[13157.516794] libceph: mds0 (1)[fd0d:ed01:fffc:34f2:10:41:208:131]:6801 socket closed (con state OPEN)
[13157.996991] libceph: mds0 (1)[fd0d:ed01:fffc:34f2:10:41:208:131]:6801 connection reset
[13158.000466] libceph: reset on mds0
[13158.000654] ceph: mds0 closed our session
[13158.000664] ceph: mds0 reconnect start
[13158.004275] ceph: mds0 reconnect denied
[13158.005383] libceph: mds0 (1)[fd0d:ed01:fffc:34f2:10:41:208:131]:6801 socket closed (con state NEGOTIATING)
[13159.021372] ceph: mds0 rejected session
[13164.174089] libceph: mon0 (1)[fd0d:ed01:fffc:34f2:10:41:208:131]:6789 session established
[13164.174281] libceph: mon0 (1)[fd0d:ed01:fffc:34f2:10:41:208:131]:6789 socket closed (con state OPEN)
[13164.174448] libceph: mon0 (1)[fd0d:ed01:fffc:34f2:10:41:208:131]:6789 session lost, hunting for new mon
[13164.176660] libceph: mon2 (1)[fd0d:ed01:fffc:34f2:10:41:208:133]:6789 session established
[13164.177965] libceph: client229404 fsid 97a30083-08fd-4069-aa8c-47508a4e9c01

Actions

Also available in: Atom PDF