Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / qa / suites / ceph-disk / basic / tasks / ceph-disk.yaml
1 roles:
2 - - mon.a
3   - mgr.x
4   - client.0
5 - - osd.0
6   - osd.1
7 openstack:
8   - machine:
9       disk: 20 # GB
10       ram: 2000 # MB
11       cpus: 1
12     volumes: # attached to each instance
13       count: 3
14       size: 10 # GB
15 tasks:
16 - install:
17 - ceph:
18     fs: xfs # this implicitly means /dev/vd? are used instead of directories
19     wait-for-scrub: false
20     log-whitelist:
21       - \(OSD_
22       - \(PG_
23     conf:
24        global:
25            mon pg warn min per osd: 2
26            osd pool default size: 2
27            osd crush chooseleaf type: 0 # failure domain == osd
28            osd pg bits: 2
29            osd pgp bits: 2
30 #
31 # Keep this around for debugging purposes. If uncommented the target
32 # will pause and the workunit can be run and debug manually.
33 #
34 # - exec:
35 #     client.0:
36 #       - sleep 1000000000 # forever
37 #
38 - workunit:
39     clients:
40       all:
41         - ceph-disk/ceph-disk.sh