]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
doc/dev/corpus.rst: correct instructions
authorKefu Chai <kchai@redhat.com>
Mon, 22 Apr 2019 13:26:39 +0000 (21:26 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 24 Apr 2019 11:49:58 +0000 (19:49 +0800)
* should keep all OSD up and running, otherwise some tests will wait for
  healthy cluster for ever.
* should start 2 MGR for an active-standby setting -- better coverage
this way

Signed-off-by: Kefu Chai <kchai@redhat.com>
doc/dev/corpus.rst

index 368ff05188482202d8b552ba45822e6b4e717a59..13a4eef4ba58e1a489c4441e6e3e9486a3cb3750 100644 (file)
@@ -36,14 +36,15 @@ We can generate an object corpus for a particular version of ceph like so.
 #. Start via vstart::
 
        cd build
-       MON=3 OSD=3 MDS=3 RGW=1 ../src/vstart.sh -n -x
+       MON=3 MGR=2 OSD=3 MDS=3 RGW=1 ../src/vstart.sh -n -x
 
 #. Use as much functionality of the cluster as you can, to exercise as many object encoder methods as possible::
 
        bin/ceph osd pool create mypool 8
        bin/rados -p mypool bench 10 write -b 123
        bin/ceph osd out 0
-       bin/init-ceph stop osd.1
+       bin/ceph osd in 0
+       bin/init-ceph restart osd.1
        for f in ../qa/workunits/cls/*.sh ; do PATH="bin:$PATH" $f ; done
        PATH="bin:$PATH" ../qa/workunits/rados/test.sh
        bin/ceph_test_librbd