Project

General

Profile

Actions

Bug #43584

closed
SW SW

MON_DOWN during mon_join process

Bug #43584: MON_DOWN during mon_join process

Added by Sage Weil almost 7 years ago. Updated over 1 year ago.

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

100%

Source:
Development
Backport:
pacific, octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Tags (freeform):
Fixed In:
v17.0.0-6115-ga89e660d49
Released In:
v17.2.0~1441
Upkeep Timestamp:
2025-07-15T01:26:14+00:00

Description

/a/sage-2020-01-12_21:37:03-rados-wip-sage-testing-2020-01-12-0621-distro-basic-smithi/4660691

2020-01-12T22:21:05.302+0000 7f1744ff9700  1 -- v1:172.21.15.168:6789/0 send_to--> mon v1:172.21.15.173:6789/0 -- mon_join(b v1:172.21.15.168:6789/0) v2 -- ?+0 0x557b302ac240

the leader bootstraps,
2020-01-12T22:21:05.309+0000 7f1744ff9700  1 -- v1:172.21.15.168:6789/0 <== mon.0 v1:172.21.15.173:6789/0 6 ==== election(84f14cf6-3589-11ea-99da-001a4aab830c propose rel 15 e11) v8 ==== 353+0+0 (unknown 1008848899 0 0) 0x557b30148c00 con 0x557b2f1f7180

then the joiner bootstraps,
2020-01-12T22:21:07.302+0000 7f17477fe700 10 mon.b@-1(probing) e2 bootstrap

and gets the new monmap and bootstraps again,
2020-01-12T22:21:07.302+0000 7f1744ff9700 10 mon.b@-1(probing) e2 handle_probe mon_probe(reply 84f14cf6-3589-11ea-99da-001a4aab830c name c paxos( fc 1 lc 114 ) mon_release octopus) v7
2020-01-12T22:21:07.302+0000 7f1744ff9700 10 mon.b@-1(probing) e2 handle_probe_reply mon.1 v1:172.21.15.173:6790/0 mon_probe(reply 84f14cf6-3589-11ea-99da-001a4aab830c name c paxos( fc 1 lc 114 ) mon_release octopus) v7
2020-01-12T22:21:07.302+0000 7f1744ff9700 10 mon.b@-1(probing) e2  monmap is e2: 2 mons at {a=v1:172.21.15.173:6789/0,c=v1:172.21.15.173:6790/0}
2020-01-12T22:21:07.302+0000 7f1744ff9700 10 mon.b@-1(probing) e2  got newer/committed monmap epoch 3, mine was 2
2020-01-12T22:21:07.302+0000 7f1744ff9700 10 mon.b@-1(probing) e3 bootstrap

but misses out on the first election cycle, resulting in a MON_DOWN from the leader.

Related issues 3 (0 open — 3 closed)

Has duplicate RADOS - Bug #52724: octopus: 1/3 mons down, quorum a,c (MON_DOWN)" in cluster log'Duplicate

Actions
Copied to RADOS - Backport #52746: octopus: MON_DOWN during mon_join processRejected

Actions
Copied to RADOS - Backport #52747: pacific: MON_DOWN during mon_join processResolvedLaura Flores

Actions

GF Updated by Greg Farnum almost 7 years ago Actions #1

  • Priority changed from High to Normal

I'm pretty sure this is a test issue, since we don't make guarantees about monitor elections, especially on first boot-up. Let's see if it comes up again.

SW Updated by Sage Weil almost 6 years ago Actions #2

/a/sage-2021-02-26_22:19:00-rados-wip-sage-testing-2021-02-26-1412-distro-basic-smithi/5917141

I think this is a general problem with adding mons.. it's relatively easy to miss the first election and trigger a harmless MON_DOWN.

We could
- only issue a MON_DOWN if quorum is incomplete for some period of time (20 seconds?).
- suppress MON_DOWN for a similar amount of time just after a new monmap version is published.

the second option seems relatively unobtrusive and ought to capture most of these cases?

SW Updated by Sage Weil over 5 years ago Actions #3

  • Status changed from New to Fix Under Review
  • Pull request ID set to 42366

KC Updated by Kefu Chai over 5 years ago Actions #4

  • Status changed from Fix Under Review to Resolved

NO Updated by Neha Ojha about 5 years ago Actions #5

  • Status changed from Resolved to Pending Backport
  • Backport set to pacific, octopus

UB Updated by Upkeep Bot about 5 years ago Actions #6

  • Copied to Backport #52746: octopus: MON_DOWN during mon_join process added

UB Updated by Upkeep Bot about 5 years ago Actions #7

  • Copied to Backport #52747: pacific: MON_DOWN during mon_join process added

LF Updated by Laura Flores over 4 years ago Actions #8

  • Has duplicate Bug #52724: octopus: 1/3 mons down, quorum a,c (MON_DOWN)" in cluster log' added

LF Updated by Laura Flores over 4 years ago Actions #9

/a/yuriw-2022-06-14_20:42:00-rados-wip-yuri2-testing-2022-06-14-0949-octopus-distro-default-smithi/6878197

LF Updated by Laura Flores over 4 years ago Actions #10

/a/yuriw-2022-07-19_23:25:12-rados-wip-yuri2-testing-2022-07-15-0755-pacific-distro-default-smithi/6939512

LF Updated by Laura Flores about 4 years ago Actions #12

/a/yuriw-2022-10-05_20:44:57-rados-wip-yuri4-testing-2022-10-05-0917-pacific-distro-default-smithi/7055594

KS Updated by Konstantin Shalygin about 3 years ago Actions #13

  • Status changed from Pending Backport to Resolved
  • Assignee set to Sage Weil
  • % Done changed from 0 to 100
  • Source set to Development

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

  • Merge Commit set to a89e660d49ecd34ca729cbc739a115b535afacef
  • Fixed In set to v17.0.0-6115-ga89e660d49
  • Released In set to v17.2.0~1441
  • Upkeep Timestamp set to 2025-07-15T01:26:14+00:00
Actions

Also available in: PDF Atom