Project

General

Profile

Actions

Bug #70587

closed
KS KS

mon: MON stopped pinging during startup or restart because quorum_mon_feature is null

Bug #70587: mon: MON stopped pinging during startup or restart because quorum_mon_feature is null

Added by Kamoltat (Junior) Sirivadhna over 1 year ago. Updated 3 months ago.

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

0%

Source:
Backport:
squid, reef
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Tags (freeform):
Fixed In:
v20.0.0-1614-g7c994bfa05
Released In:
v20.2.0~529
Upkeep Timestamp:
2026-08-28T01:41:10+00:00

Description

Problem:

Monitors stop pinging each other when quorum_mon_feature flag is empty. This happens when the monitor freshly starts up and never formed a quorum before, or when you restart the monitors in the cluster. Basically, Monitor startups.

This problem can easily be reproduced everytime.

Steps to reproduce:

Start 3 MONs with connectivity election strategy
Fail 1 mon.
Restart all the monitors (including the down monitor)
Observe that the connection scores of each monitor will tell you that not all monitors are alive. Which is not true because all 3 Monitors are in quorum.
What happened was during monitor startups,
quorum_mon_feature is empty and although
they all participated in the election,
when they hit the function begin_peer_ping,
some monitors if not all will not send ping
because of the emptry quorum_mon_feature flag.

Therefore, after the election the monitors will
have the wrong connection score. However,
this will get resolved in the next election
because now that quorum_mon_feature is populated
they will start pinging each other again, hence,
correct connectivity score.

Although the next election will resolve the bad scores,
this will impact features like Netsplit detection because
it relies on connectivity scores and the last thing we want to
do is report false positives to the user.


Related issues 2 (0 open — 2 closed)

Copied to RADOS - Backport #71028: squid: mon: MON stopped pinging during startup or restart because quorum_mon_feature is nullResolvedKamoltat (Junior) Sirivadhna

Actions
Copied to RADOS - Backport #71029: reef: mon: MON stopped pinging during startup or restart because quorum_mon_feature is nullResolvedKamoltat (Junior) Sirivadhna

Actions

KS Updated by Kamoltat (Junior) Sirivadhna over 1 year ago Actions #1

  • Category set to Monitor
  • Assignee set to Kamoltat (Junior) Sirivadhna

KS Updated by Kamoltat (Junior) Sirivadhna over 1 year ago Actions #2

  • Description updated (diff)

LF Updated by Laura Flores over 1 year ago Actions #3

Seen in bug scrub: monitoring

KS Updated by Kamoltat (Junior) Sirivadhna over 1 year ago Actions #4

  • Pull request ID set to 62416

RZ Updated by Radoslaw Zarzynski over 1 year ago Actions #5

scrub note: reviewed.

LF Updated by Laura Flores over 1 year ago Actions #6

  • Status changed from New to Fix Under Review

RZ Updated by Radoslaw Zarzynski over 1 year ago Actions #7

Approved.

RZ Updated by Radoslaw Zarzynski over 1 year ago Actions #8

scrub note: awaits QA.

LF Updated by Laura Flores over 1 year ago Actions #9

PR was taken into testing.

KS Updated by Kamoltat (Junior) Sirivadhna over 1 year ago Actions #10

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to squid, reef

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

  • Copied to Backport #71028: squid: mon: MON stopped pinging during startup or restart because quorum_mon_feature is null added

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

  • Copied to Backport #71029: reef: mon: MON stopped pinging during startup or restart because quorum_mon_feature is null added

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

  • Tags (freeform) set to backport_processed

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

  • Merge Commit set to 7c994bfa05f329be88c6648141b9bfde83e81d64
  • Fixed In set to v20.0.0-1614-g7c994bfa05f
  • Upkeep Timestamp set to 2025-07-08T18:06:51+00:00

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

  • Fixed In changed from v20.0.0-1614-g7c994bfa05f to v20.0.0-1614-g7c994bfa05f3
  • Upkeep Timestamp changed from 2025-07-08T18:06:51+00:00 to 2025-07-14T15:21:18+00:00

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

  • Fixed In changed from v20.0.0-1614-g7c994bfa05f3 to v20.0.0-1614-g7c994bfa05
  • Upkeep Timestamp changed from 2025-07-14T15:21:18+00:00 to 2025-07-14T20:45:51+00:00

UB Updated by Upkeep Bot about 1 year ago Actions #17

  • Released In set to v20.2.0~529
  • Upkeep Timestamp changed from 2025-07-14T20:45:51+00:00 to 2025-11-01T01:00:05+00:00

UB Updated by Upkeep Bot 9 months ago Actions #18

  • Status changed from Pending Backport to Resolved
  • Upkeep Timestamp changed from 2025-11-01T01:00:05+00:00 to 2026-03-06T01:47:16+00:00

UB Updated by Upkeep Bot 3 months ago Actions #19

  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2026-03-06T01:47:16+00:00 to 2026-08-28T01:41:10+00:00
Actions

Also available in: PDF Atom