ceph/qa/standalone
Sridhar Seshasayee 3aa2df2e0f qa/standalone: Fix test_activate_osd() test in ceph-helpers.sh
Modify test_activate_osd() to get the type of scheduler in use and then
verify the value of osd_max_backfills. This is because mclock scheduler
overrides this option to 1000 upon OSD initialization.

The test earlier used to pass because the OSD daemon was killed but not
marked down and upon being brought up, the wait for OSD up check was
passing quickly. But the OSD still didn't have the latest config values.

But now upon killing the OSD, the osd_fast_shutdown sequence notifies the
mon (see PR: https://github.com/ceph/ceph/pull/44807) and is marked down
and dead. Upon bringing it up, the wait for OSD up check takes a longer
time and this is sufficient for the config values to be updated. This
results in the correct values being read from the config 'Values' map.

Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
2022-03-25 22:10:31 +05:30
..
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 Revert "qa: support isal ec test for aarch64" 2021-10-12 12:53:58 -06:00
mgr
misc osd: Add snaptrim duration to pg dump stats. 2022-03-16 00:33:24 +05:30
mon qa/standalone/mon/osd-*: fix tests 2021-07-07 10:31:57 -04:00
osd tools/ceph-bluestore-tool: Fix bluefs-bdev-expand command 2022-01-12 18:07:59 +02:00
osd-backfill qa/standalone/osd-backfill: Modify backfill tests for mclock scheduler 2021-07-30 18:16:00 +05:30
scrub test: osd-scrub-snaps.sh: fix expected 'missing snaps' log string 2022-03-03 08:03:00 +00:00
special
ceph-helpers.sh qa/standalone: Fix test_activate_osd() test in ceph-helpers.sh 2022-03-25 22:10:31 +05:30
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"