ceph/qa/standalone
Thomas Bechtold a004d92ae0 qa/standalone/test_ceph_daemon: Fix hang when CEPH_DAEMON is not set
When running test_ceph_daemon.sh from the root dir and not setting
$CEPH_DAEMON manually, the call hangs at:

$ ./qa/standalone/test_ceph_daemon.sh
[...]
+ for p in $PYTHONS
+ echo '=== re-running with python3 ==='
=== re-running with python3 ===
++ which python3
+ ln -s /usr/bin/python3 /tmp/tmp.6hneCsNMio/python
+ echo '#!/tmp/tmp.6hneCsNMio/python'
+ cat

Check that there is a ceph-daemon found before continue.

Signed-off-by: Thomas Bechtold <tbechtold@suse.com>
2019-11-06 16:09:55 +01:00
..
crush
erasure-code
misc test: Allow fractional milliseconds to make test possible 2019-09-06 11:23:52 -07:00
mon qa: change mon_status calls to quorum_status or tell commands 2019-10-12 12:05:36 -05:00
osd qa/standalone/osd/divergent-priors: add reproducer for bug 41816 2019-09-21 10:09:15 -05:00
scrub osd: change trigger_[deep_]scrub tommands to a pg tell command 2019-10-04 09:07:02 -05:00
special ceph-objectstore-tool: call collection_bits() crashes on the meta collection 2019-10-24 11:37:30 -07:00
ceph-helpers.sh qa: change mon_status calls to quorum_status or tell commands 2019-10-12 12:05:36 -05:00
README
test_ceph_daemon.sh qa/standalone/test_ceph_daemon: Fix hang when CEPH_DAEMON is not set 2019-11-06 16:09:55 +01:00

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"