diff options
author | Qiaowei Ren <qiaowei.ren@intel.com> | 2018-01-04 13:43:33 +0800 |
---|---|---|
committer | Qiaowei Ren <qiaowei.ren@intel.com> | 2018-01-05 11:59:39 +0800 |
commit | 812ff6ca9fcd3e629e49d4328905f33eee8ca3f5 (patch) | |
tree | 04ece7b4da00d9d2f98093774594f4057ae561d4 /src/ceph/qa/suites/fs/multiclient | |
parent | 15280273faafb77777eab341909a3f495cf248d9 (diff) |
initial code repo
This patch creates initial code repo.
For ceph, luminous stable release will be used for base code,
and next changes and optimization for ceph will be added to it.
For opensds, currently any changes can be upstreamed into original
opensds repo (https://github.com/opensds/opensds), and so stor4nfv
will directly clone opensds code to deploy stor4nfv environment.
And the scripts for deployment based on ceph and opensds will be
put into 'ci' directory.
Change-Id: I46a32218884c75dda2936337604ff03c554648e4
Signed-off-by: Qiaowei Ren <qiaowei.ren@intel.com>
Diffstat (limited to 'src/ceph/qa/suites/fs/multiclient')
16 files changed, 122 insertions, 0 deletions
diff --git a/src/ceph/qa/suites/fs/multiclient/% b/src/ceph/qa/suites/fs/multiclient/% new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/ceph/qa/suites/fs/multiclient/% diff --git a/src/ceph/qa/suites/fs/multiclient/begin.yaml b/src/ceph/qa/suites/fs/multiclient/begin.yaml new file mode 120000 index 0000000..0c4ae31 --- /dev/null +++ b/src/ceph/qa/suites/fs/multiclient/begin.yaml @@ -0,0 +1 @@ +../../../cephfs/begin.yaml
\ No newline at end of file diff --git a/src/ceph/qa/suites/fs/multiclient/clusters/three_clients.yaml b/src/ceph/qa/suites/fs/multiclient/clusters/three_clients.yaml new file mode 100644 index 0000000..a533af5 --- /dev/null +++ b/src/ceph/qa/suites/fs/multiclient/clusters/three_clients.yaml @@ -0,0 +1,15 @@ +roles: +- [mon.a, mon.b, mon.c, mgr.x, mds.a, osd.0, osd.1, osd.2, osd.3] +- [client.2] +- [client.1] +- [client.0] + +openstack: +- volumes: # attached to each instance + count: 1 + size: 10 # GB + +log-rotate: + ceph-mds: 10G + ceph-osd: 10G + diff --git a/src/ceph/qa/suites/fs/multiclient/clusters/two_clients.yaml b/src/ceph/qa/suites/fs/multiclient/clusters/two_clients.yaml new file mode 100644 index 0000000..00f3815 --- /dev/null +++ b/src/ceph/qa/suites/fs/multiclient/clusters/two_clients.yaml @@ -0,0 +1,14 @@ +roles: +- [mon.a, mon.b, mon.c, mgr.x, mds.a, osd.0, osd.1, osd.2, osd.3] +- [client.1] +- [client.0] + +openstack: +- volumes: # attached to each instance + count: 3 + size: 10 # GB + +log-rotate: + ceph-mds: 10G + ceph-osd: 10G + diff --git a/src/ceph/qa/suites/fs/multiclient/mount/fuse.yaml b/src/ceph/qa/suites/fs/multiclient/mount/fuse.yaml new file mode 120000 index 0000000..af9ee0a --- /dev/null +++ b/src/ceph/qa/suites/fs/multiclient/mount/fuse.yaml @@ -0,0 +1 @@ +../../../../cephfs/mount/fuse.yaml
\ No newline at end of file diff --git a/src/ceph/qa/suites/fs/multiclient/mount/kclient.yaml.disabled b/src/ceph/qa/suites/fs/multiclient/mount/kclient.yaml.disabled new file mode 100644 index 0000000..f00f16a --- /dev/null +++ b/src/ceph/qa/suites/fs/multiclient/mount/kclient.yaml.disabled @@ -0,0 +1,7 @@ +overrides: + ceph: + conf: + global: + ms die on skipped message: false +tasks: +- kclient: diff --git a/src/ceph/qa/suites/fs/multiclient/objectstore-ec b/src/ceph/qa/suites/fs/multiclient/objectstore-ec new file mode 120000 index 0000000..a330d66 --- /dev/null +++ b/src/ceph/qa/suites/fs/multiclient/objectstore-ec @@ -0,0 +1 @@ +../../../cephfs/objectstore-ec/
\ No newline at end of file diff --git a/src/ceph/qa/suites/fs/multiclient/overrides/+ b/src/ceph/qa/suites/fs/multiclient/overrides/+ new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/ceph/qa/suites/fs/multiclient/overrides/+ diff --git a/src/ceph/qa/suites/fs/multiclient/overrides/debug.yaml b/src/ceph/qa/suites/fs/multiclient/overrides/debug.yaml new file mode 120000 index 0000000..9bc8eb1 --- /dev/null +++ b/src/ceph/qa/suites/fs/multiclient/overrides/debug.yaml @@ -0,0 +1 @@ +../../../../cephfs/overrides/debug.yaml
\ No newline at end of file diff --git a/src/ceph/qa/suites/fs/multiclient/overrides/frag_enable.yaml b/src/ceph/qa/suites/fs/multiclient/overrides/frag_enable.yaml new file mode 120000 index 0000000..e9b2d64 --- /dev/null +++ b/src/ceph/qa/suites/fs/multiclient/overrides/frag_enable.yaml @@ -0,0 +1 @@ +../../../../cephfs/overrides/frag_enable.yaml
\ No newline at end of file diff --git a/src/ceph/qa/suites/fs/multiclient/overrides/whitelist_health.yaml b/src/ceph/qa/suites/fs/multiclient/overrides/whitelist_health.yaml new file mode 120000 index 0000000..440e747 --- /dev/null +++ b/src/ceph/qa/suites/fs/multiclient/overrides/whitelist_health.yaml @@ -0,0 +1 @@ +../../../../cephfs/overrides/whitelist_health.yaml
\ No newline at end of file diff --git a/src/ceph/qa/suites/fs/multiclient/overrides/whitelist_wrongly_marked_down.yaml b/src/ceph/qa/suites/fs/multiclient/overrides/whitelist_wrongly_marked_down.yaml new file mode 120000 index 0000000..a26a657 --- /dev/null +++ b/src/ceph/qa/suites/fs/multiclient/overrides/whitelist_wrongly_marked_down.yaml @@ -0,0 +1 @@ +../../../../cephfs/overrides/whitelist_wrongly_marked_down.yaml
\ No newline at end of file diff --git a/src/ceph/qa/suites/fs/multiclient/tasks/cephfs_misc_tests.yaml b/src/ceph/qa/suites/fs/multiclient/tasks/cephfs_misc_tests.yaml new file mode 100644 index 0000000..cb84e64 --- /dev/null +++ b/src/ceph/qa/suites/fs/multiclient/tasks/cephfs_misc_tests.yaml @@ -0,0 +1,10 @@ +tasks: +- cephfs_test_runner: + modules: + - tasks.cephfs.test_misc + +overrides: + ceph: + log-whitelist: + - evicting unresponsive client + - POOL_APP_NOT_ENABLED diff --git a/src/ceph/qa/suites/fs/multiclient/tasks/fsx-mpi.yaml.disabled b/src/ceph/qa/suites/fs/multiclient/tasks/fsx-mpi.yaml.disabled new file mode 100644 index 0000000..266447d --- /dev/null +++ b/src/ceph/qa/suites/fs/multiclient/tasks/fsx-mpi.yaml.disabled @@ -0,0 +1,20 @@ +# make sure we get the same MPI version on all hosts +os_type: ubuntu +os_version: "14.04" + +tasks: +- pexec: + clients: + - cd $TESTDIR + - wget http://download.ceph.com/qa/fsx-mpi.c + - mpicc fsx-mpi.c -o fsx-mpi + - rm fsx-mpi.c + - ln -s $TESTDIR/mnt.* $TESTDIR/gmnt +- ssh_keys: +- mpi: + exec: sudo $TESTDIR/fsx-mpi -o 1MB -N 50000 -p 10000 -l 1048576 $TESTDIR/gmnt/test + workdir: $TESTDIR/gmnt +- pexec: + all: + - rm $TESTDIR/gmnt + - rm $TESTDIR/fsx-mpi diff --git a/src/ceph/qa/suites/fs/multiclient/tasks/ior-shared-file.yaml b/src/ceph/qa/suites/fs/multiclient/tasks/ior-shared-file.yaml new file mode 100644 index 0000000..94501b2 --- /dev/null +++ b/src/ceph/qa/suites/fs/multiclient/tasks/ior-shared-file.yaml @@ -0,0 +1,26 @@ +# make sure we get the same MPI version on all hosts +os_type: ubuntu +os_version: "14.04" + +tasks: +- pexec: + clients: + - cd $TESTDIR + - wget http://download.ceph.com/qa/ior.tbz2 + - tar xvfj ior.tbz2 + - cd ior + - ./configure + - make + - make install DESTDIR=$TESTDIR/binary/ + - cd $TESTDIR/ + - rm ior.tbz2 + - rm -r ior + - ln -s $TESTDIR/mnt.* $TESTDIR/gmnt +- ssh_keys: +- mpi: + exec: $TESTDIR/binary/usr/local/bin/ior -e -w -r -W -b 10m -a POSIX -o $TESTDIR/gmnt/ior.testfile +- pexec: + all: + - rm -f $TESTDIR/gmnt/ior.testfile + - rm -f $TESTDIR/gmnt + - rm -rf $TESTDIR/binary diff --git a/src/ceph/qa/suites/fs/multiclient/tasks/mdtest.yaml b/src/ceph/qa/suites/fs/multiclient/tasks/mdtest.yaml new file mode 100644 index 0000000..fd337bd --- /dev/null +++ b/src/ceph/qa/suites/fs/multiclient/tasks/mdtest.yaml @@ -0,0 +1,23 @@ +# make sure we get the same MPI version on all hosts +os_type: ubuntu +os_version: "14.04" + +tasks: +- pexec: + clients: + - cd $TESTDIR + - wget http://download.ceph.com/qa/mdtest-1.9.3.tgz + - mkdir mdtest-1.9.3 + - cd mdtest-1.9.3 + - tar xvfz $TESTDIR/mdtest-1.9.3.tgz + - rm $TESTDIR/mdtest-1.9.3.tgz + - MPI_CC=mpicc make + - ln -s $TESTDIR/mnt.* $TESTDIR/gmnt +- ssh_keys: +- mpi: + exec: $TESTDIR/mdtest-1.9.3/mdtest -d $TESTDIR/gmnt -I 20 -z 5 -b 2 -R +- pexec: + all: + - rm -f $TESTDIR/gmnt + - rm -rf $TESTDIR/mdtest-1.9.3 + - rm -rf $TESTDIR/._mdtest-1.9.3 |