Project

General

Profile

Actions

Bug #45665

closed
PD XL

client: fails to reconnect to MDS

Bug #45665: client: fails to reconnect to MDS

Added by Patrick Donnelly over 6 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
Due date:
% Done:

0%

Source:
Q/A
Backport:
octopus,nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Client
Labels (FS):
Pull request ID:
Tags (freeform):
Fixed In:
v16.0.0-2200-gf3d52ec619
Released In:
v16.2.0~2398
Upkeep Timestamp:
2025-07-14T19:43:11+00:00

Description

...
2020-05-21T00:51:21.903+0000 7faaa0e031c0 10 client.8758 wait_sync_caps want 7 (last is 7, 2 total flushing)
2020-05-21T00:51:21.903+0000 7faaa0e031c0 10 client.8758  waiting on mds.0 tid 6 (want 7)
...

From: /ceph/teuthology-archive/pdonnell-2020-05-20_20:43:43-fs-wip-pdonnell-testing-20200520.182104-distro-basic-smithi/5073922/remote/smithi102/log/ceph-client.0.64364.log.gz

MDS gave up:

2020-05-21T00:52:18.654+0000 7f0c5233d700  7 mds.0.server reconnect timed out, 1 clients have not reconnected in time
2020-05-21T00:52:18.654+0000 7f0c5233d700  1 mds.0.server reconnect gives up on client.8758 192.168.0.1:0/75408247

From: /ceph/teuthology-archive/pdonnell-2020-05-20_20:43:43-fs-wip-pdonnell-testing-20200520.182104-distro-basic-smithi/5073922/remote/smithi071/log/ceph-mds.b.log.gz


Related issues 2 (0 open — 2 closed)

Copied to CephFS - Backport #45887: nautilus: client: fails to reconnect to MDSResolvedNathan Cutler

Actions
Copied to CephFS - Backport #45888: octopus: client: fails to reconnect to MDSResolvedWei-Chung Cheng

Actions

PD Updated by Patrick Donnelly over 6 years ago Actions #1

  • Status changed from New to Triaged
  • Assignee set to Xiubo Li

XL Updated by Xiubo Li over 6 years ago Actions #2

When the mds daemon is restarting or trying to reconnect the client, while the client was trying to umount and waiting the sync flush caps.

XL Updated by Xiubo Li over 6 years ago Actions #3

If the ceph-fuse client need to flush the caps and does sync wait, the umount() will just return successfully, then the netns container will be destroyed and the network will not be reachable, but the ceph-fuse daemon is still stucked and waiting for the flush caps ack.

This will cause the ceph-fuse daemon get stuck forever and if the mds daemons get restarted, it will try to reconnect the clients, but the stucked ceph-fuse daemnon won't reply to it.

XL Updated by Xiubo Li over 6 years ago Actions #4

  • Pull request ID set to 35328

XL Updated by Xiubo Li over 6 years ago Actions #5

  • Status changed from Triaged to Fix Under Review

PD Updated by Patrick Donnelly over 6 years ago Actions #6

  • Status changed from Fix Under Review to Pending Backport

NC Updated by Nathan Cutler over 6 years ago Actions #7

  • Copied to Backport #45887: nautilus: client: fails to reconnect to MDS added

NC Updated by Nathan Cutler over 6 years ago Actions #8

  • Copied to Backport #45888: octopus: client: fails to reconnect to MDS added

NC Updated by Nathan Cutler over 6 years ago Actions #9

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

UB Updated by Upkeep Bot over 1 year ago Actions #10

  • Merge Commit set to f3d52ec619166771cf590e778ee2279c8d67c739
  • Fixed In set to v16.0.0-2200-gf3d52ec619
  • Released In set to v16.2.0~2398
  • Upkeep Timestamp set to 2025-07-14T19:43:11+00:00
Actions

Also available in: PDF Atom