Project

General

Profile

Actions

Bug #68761

open

mds: no reply to beacons with state=DNE

Added by Max Kellermann over 1 year ago. Updated 5 months ago.

Status:
Pending Backport
Priority:
Normal
Category:
Monitor
Target version:
% Done:

0%

Source:
Backport:
squid,reef
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Tags (freeform):
backport_processed
Fixed In:
v19.3.0-6038-g8ae8988275
Released In:
v20.2.0~1629
Upkeep Timestamp:
2025-11-01T01:01:40+00:00

Description

During shutdown, the MDS sends a MSG_MDS_BEACON with MDSMap::STATE_DNE (in MDSDaemon::suicide()) and then waits for a MSG_MDS_BEACON reply from the MON.

The MON, however, suppresses replies to STATE_DNE; in MDSMonitor::preprocess_beacon(), it returns early on STATE_DNE and MDSMonitor::prepare_beacon() silently evicts the dying MDS without any reply.

This delays the MDS shutdown until the MDS times out.

Since MDSDaemon::suicide() has code to wait for a beacon reply, I figure that the MON reply was suppressed accidently, therefore I suggest adding it.


Related issues 2 (2 open0 closed)

Copied to Ceph - Backport #68924: squid: mds: no reply to beacons with state=DNENewActions
Copied to Ceph - Backport #68925: reef: mds: no reply to beacons with state=DNENewActions
Actions #1

Updated by Patrick Donnelly over 1 year ago

  • Subject changed from No reply to beacons with state=DNE to mds: no reply to beacons with state=DNE
  • Status changed from New to Fix Under Review
  • Assignee set to Max Kellermann
  • Target version set to v20.0.0
  • Backport set to squid,reef
Actions #2

Updated by Patrick Donnelly over 1 year ago

  • Status changed from Fix Under Review to Pending Backport
Actions #3

Updated by Upkeep Bot over 1 year ago

  • Copied to Backport #68924: squid: mds: no reply to beacons with state=DNE added
Actions #4

Updated by Upkeep Bot over 1 year ago

  • Copied to Backport #68925: reef: mds: no reply to beacons with state=DNE added
Actions #5

Updated by Upkeep Bot over 1 year ago

  • Tags (freeform) set to backport_processed
Actions #6

Updated by Upkeep Bot 8 months ago

  • Merge Commit set to 8ae8988275061cb2a3e8e0722c6637e7db46c634
  • Fixed In set to v19.3.0-6038-g8ae89882750
  • Upkeep Timestamp set to 2025-07-08T18:34:20+00:00
Actions #7

Updated by Upkeep Bot 8 months ago

  • Fixed In changed from v19.3.0-6038-g8ae89882750 to v19.3.0-6038-g8ae898827506
  • Upkeep Timestamp changed from 2025-07-08T18:34:20+00:00 to 2025-07-14T15:44:25+00:00
Actions #8

Updated by Upkeep Bot 8 months ago

  • Fixed In changed from v19.3.0-6038-g8ae898827506 to v19.3.0-6038-g8ae8988275
  • Upkeep Timestamp changed from 2025-07-14T15:44:25+00:00 to 2025-07-14T21:09:09+00:00
Actions #9

Updated by Upkeep Bot 5 months ago

  • Released In set to v20.2.0~1629
  • Upkeep Timestamp changed from 2025-07-14T21:09:09+00:00 to 2025-11-01T01:01:40+00:00
Actions

Also available in: Atom PDF