Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / qa / suites / fs / multiclient / tasks / ior-shared-file.yaml
1 # make sure we get the same MPI version on all hosts
2 os_type: ubuntu
3 os_version: "14.04"
4
5 tasks:
6 - pexec:
7     clients:
8       - cd $TESTDIR
9       - wget http://download.ceph.com/qa/ior.tbz2
10       - tar xvfj ior.tbz2
11       - cd ior
12       - ./configure
13       - make
14       - make install DESTDIR=$TESTDIR/binary/
15       - cd $TESTDIR/
16       - rm ior.tbz2
17       - rm -r ior
18       - ln -s $TESTDIR/mnt.* $TESTDIR/gmnt
19 - ssh_keys:
20 - mpi:
21     exec: $TESTDIR/binary/usr/local/bin/ior -e -w -r -W -b 10m -a POSIX -o $TESTDIR/gmnt/ior.testfile
22 - pexec:
23     all:
24       - rm -f $TESTDIR/gmnt/ior.testfile
25       - rm -f $TESTDIR/gmnt
26       - rm -rf $TESTDIR/binary