ceph/qa/standalone
Kamoltat 4d8b0c29bf qa/standalone/mon: remove --mon-inital-members setting
Problem:

--mon-initial-members does nothing but causes 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 tests),
everytime 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.

Fixes: https://tracker.ceph.com/issues/58132

Signed-off-by: Kamoltat <ksirivad@redhat.com>
2022-12-09 15:43:45 +00:00
..
c2c qa: verify the benefits of mempool cacheline optimization 2021-04-30 12:11:13 +08:00
crush crush/CrushCompiler: print weight with uniform precision 2021-03-29 14:44:49 +11:00
erasure-code qa/standalone/erasure-code: give osdmap 5 seconds to refresh 2022-10-25 17:03:24 +00:00
mgr
misc osd: Set initial mClock QoS params at CONF_DEFAULT level 2022-07-06 16:15:58 +05:30
mon qa/standalone/mon: remove --mon-inital-members setting 2022-12-09 15:43:45 +00:00
osd standalone/osd: Test adjust with new trimming function 2022-08-24 08:19:18 +00:00
osd-backfill qa/standalone/osd-backfill: Modify backfill tests for mclock scheduler 2021-07-30 18:16:00 +05:30
scrub osd/scrub: modify SnapMapper.cc to use ceph::buffer::list 2022-09-02 10:40:54 +03:00
special qa/standalone: always decode output from check_output() 2020-09-03 13:09:16 +08:00
ceph-helpers.sh qa/standalone/mon: remove --mon-inital-members setting 2022-12-09 15:43:45 +00:00
README

qa/standalone
=============

These scripts run standalone clusters, but not in a normal way.  They make
use of functions ceph-helpers.sh to quickly start/stop daemons against
toy clusters in a single directory.

They are normally run via teuthology based on qa/suites/rados/standalone/*.yaml.

You can run them in a git checkout + build directory as well:

  * The qa/run-standalone.sh will run all of them in sequence.  This is slow
     since there is no parallelism.

  * You can run individual script(s) by specifying the basename or path below
    qa/standalone as arguments to qa/run-standalone.sh.

../qa/run-standalone.sh misc.sh osd/osd-dup.sh

  * Add support for specifying arguments to selected tests by simply adding
    list of tests to each argument.

../qa/run-standalone.sh "test-ceph-helpers.sh test_get_last_scrub_stamp"