Project

General

Profile

Actions

Bug #58132

closed

qa/standalone/mon: --mon-initial-members setting causes us to populate removed_ranks

Added by Kamoltat (Junior) Sirivadhna over 3 years ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
% Done:

0%

Source:
Backport:
pacific,quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Tags (freeform):
Fixed In:
v18.0.0-1520-g4aa8af29aec
Released In:
v18.2.0~796
Upkeep Timestamp:
2025-07-12T21:37:30+00:00

Description

Problem:

--mon-initial-members does nothing but cause monmap
to populate ``removed_ranks`` because the way we start
monitors in standalone tests uses ``run_mon $dir $id ..``
on each mon. Regardless of --mon-initial-members=a,b,c, if
we set --mon-host=$MONA,$MONB,$MONC (which we do every single test),
every time we run a monitor (e.g.,run mon.b) it will pre-build
our monmap with

```
noname-a=mon.noname-a addrs v2:127.0.0.1:7127/0,
b=mon.b addrs v2:127.0.0.1:7128/0,
noname-c=mon.noname-c addrs v2:127.0.0.1:7129/0,
```

Now, with --mon-initial-members=a,b,c we are letting
monmap know that we should have initial members name:
a,b,c, which we only have `b` as a match. So what
``MonMap::set_initial_members`` do is that it will
remove noname-a and noname-c which will
populate `removed_ranks`.

Solution:

remove all instances of --mon-initial-members
in the standalone test as it has no impact on
the nature of the tests themselves.


Related issues 2 (0 open2 closed)

Copied to RADOS - Backport #58335: quincy: qa/standalone/mon: --mon-initial-members setting causes us to populate removed_ranksResolvedKamoltat (Junior) SirivadhnaActions
Copied to RADOS - Backport #58336: pacific: qa/standalone/mon: --mon-initial-members setting causes us to populate removed_ranksResolvedKamoltat (Junior) SirivadhnaActions
Actions #1

Updated by Kamoltat (Junior) Sirivadhna over 3 years ago

  • Pull request ID set to 48698
Actions #2

Updated by Kamoltat (Junior) Sirivadhna over 3 years ago

  • Status changed from New to In Progress
Actions #3

Updated by Kamoltat (Junior) Sirivadhna over 3 years ago

  • Pull request ID changed from 48698 to 48991
Actions #4

Updated by Radoslaw Zarzynski about 3 years ago

  • Status changed from In Progress to Pending Backport
  • Backport set to pacific,quincy
Actions #5

Updated by Upkeep Bot about 3 years ago

  • Copied to Backport #58335: quincy: qa/standalone/mon: --mon-initial-members setting causes us to populate removed_ranks added
Actions #6

Updated by Upkeep Bot about 3 years ago

  • Copied to Backport #58336: pacific: qa/standalone/mon: --mon-initial-members setting causes us to populate removed_ranks added
Actions #8

Updated by Kamoltat (Junior) Sirivadhna almost 3 years ago

  • Status changed from Pending Backport to Resolved

All backports are merged

Actions #9

Updated by Upkeep Bot 8 months ago

  • Merge Commit set to 4aa8af29aec32c3378bc796e7b1fd2170f41df8f
  • Fixed In set to v18.0.0-1520-g4aa8af29aec
  • Released In set to v18.2.0~796
  • Upkeep Timestamp set to 2025-07-12T21:37:30+00:00
Actions

Also available in: Atom PDF