Project

General

Profile

Actions

Bug #47734

closed
PD PD

client: hang after statfs

Bug #47734: client: hang after statfs

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

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

0%

Source:
Development
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-6437-g008eaca6c1
Released In:
v16.2.0~1061
Upkeep Timestamp:
2025-07-14T19:27:46+00:00

Description

2020-10-02T16:25:49.256 INFO:teuthology.orchestra.run.smithi097.stderr:Error EINVAL: pool 'test_new_default_ec-data' (id '29') is an erasure-coded pool. Use of an EC pool for the default data pool is discouraged; see the online CephFS documentation for more information. Use --force to override.
2020-10-02T16:25:49.258 DEBUG:teuthology.orchestra.run:got remote process result: 22
2020-10-02T16:25:49.260 INFO:teuthology.nuke.actions:Clearing teuthology firewall rules...
2020-10-02T16:25:49.261 INFO:teuthology.orchestra.run.smithi097:> sudo sh -c 'iptables-save | grep -v teuthology | iptables-restore'
2020-10-02T16:25:49.289 INFO:teuthology.orchestra.run.smithi174:> sudo sh -c 'iptables-save | grep -v teuthology | iptables-restore'
2020-10-02T16:25:49.323 INFO:teuthology.nuke.actions:Cleared teuthology firewall rules.
2020-10-02T16:25:49.324 INFO:teuthology.orchestra.run:Running command with timeout 900
2020-10-02T16:25:49.324 INFO:teuthology.orchestra.run.smithi097:> (cd /home/ubuntu/cephtest && exec stat --file-system '--printf=%T
2020-10-02T16:25:49.325 INFO:teuthology.orchestra.run.smithi097:> ' -- /home/ubuntu/cephtest/mnt.0)

From: /ceph/teuthology-archive/pdonnell-2020-10-02_16:04:20-fs-wip-pdonnell-testing-20201002.031142-octopus-distro-basic-smithi/5489148/teuthology.log

This does not exist on master/Pacific because of 8728da9c085fea4c34e4247f45d495437f32c5fd. The is_mounted check no longer does a statfs on the ceph-fuse mount. The real cause of this is that the Client does not add a timeout for responses from the monitors:

https://github.com/ceph/ceph/blob/2d5bf454b7b42bf883a89b5ec12ad457c95fc37d/src/client/Client.cc#L15062

We should update this to be some reasonable timeout.


Related issues 3 (0 open — 3 closed)

Related to CephFS - Feature #44044: qa: add network namespaces to kernel/ceph-fuse mounts for partition testingResolvedXiubo Li

Actions
Copied to CephFS - Backport #47941: nautilus: octopus: client: hang after statfsRejectedPatrick Donnelly

Actions
Copied to CephFS - Backport #47942: octopus: octopus: client: hang after statfsResolvedPatrick Donnelly

Actions

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

  • Related to Feature #44044: qa: add network namespaces to kernel/ceph-fuse mounts for partition testing added

PD Updated by Patrick Donnelly about 6 years ago Actions #2

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 37529

PD Updated by Patrick Donnelly about 6 years ago Actions #3

  • Status changed from Fix Under Review to Pending Backport

NC Updated by Nathan Cutler about 6 years ago Actions #4

  • Subject changed from octopus: client: hang after statfs to client: hang after statfs
  • Affected Versions v15.2.5 added

NC Updated by Nathan Cutler about 6 years ago Actions #5

  • Copied to Backport #47941: nautilus: octopus: client: hang after statfs added

NC Updated by Nathan Cutler about 6 years ago Actions #6

  • Copied to Backport #47942: octopus: octopus: client: hang after statfs added

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

  • 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 #8

  • Merge Commit set to 008eaca6c177347510d6c53bd505f5e0617e5fa0
  • Fixed In set to v16.0.0-6437-g008eaca6c1
  • Released In set to v16.2.0~1061
  • Upkeep Timestamp set to 2025-07-14T19:27:46+00:00
Actions

Also available in: PDF Atom