ceph/qa/standalone
xie xingguo d792e8d528 crush: "osd crush class rename" support
In 076a6abd80 I killed the 'class rename' command
and thought it was totally useless but I was wrong.

Consider the following user case:
(1) randomly choose some OSDs(e.g., from different hosts) and try to make them for private use only,
    say, by grouping them into 'pool1'
(2) ceph osd crush set-device-class pool1 'OSDs from (1)'
(3) ceph osd crush rule create-replicated rule_for_pool1 default host pool1
(4) ceph osd pool rename pool1 pool2
(5) ceph osd crush class rename pool1 pool2

From the above user case, we need to safely change a pool name without worrying
any risk of data migration. That is why the 'osd crush class rename' command
is still needed here.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-11 08:32:39 +08:00
..
crush crush: "osd crush class rename" support 2017-08-11 08:32:39 +08:00
erasure-code qa/standalone/ceph-helpers: factor rbd pool create out of run_mon 2017-07-24 22:11:50 -04:00
misc qa/standalone/ceph-helpers: factor rbd pool create out of run_mon 2017-07-24 22:11:50 -04:00
mon qa/standalone/ceph-helpers: factor rbd pool create out of run_mon 2017-07-24 22:11:50 -04:00
osd test/osd-fast-mark-down: enable 'osd-class-update-on-start' by default 2017-08-03 17:26:26 -04:00
scrub osd: Log audit 2017-07-26 17:34:28 +10:00
ceph-helpers.sh qa/standalone/ceph-helpers: factor rbd pool create out of run_mon 2017-07-24 22:11:50 -04:00
README qa/standalone/README 2017-07-27 12:24:52 -04: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 an individual script by passing these environment args.  For
    example, if you are in the build/ directory,

PATH=$PATH:bin CEPH_ROOT=.. CEPH_LIB=lib ../qa/standalone/mon/misc.sh