Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / qa / suites / rados / singleton / all / random-eio.yaml
1 roles:
2 - - mon.a
3   - mgr.x
4   - osd.0
5   - osd.1
6   - osd.2
7 - - osd.3
8   - osd.4
9   - osd.5
10   - client.0
11 openstack:
12   - volumes: # attached to each instance
13       count: 3
14       size: 10 # GB
15 tasks:
16 - install:
17 - ceph:
18     log-whitelist:
19     - missing primary copy of
20     - objects unfound and apparently lost
21     - overall HEALTH_
22     - (POOL_APP_NOT_ENABLED)
23 - full_sequential:
24   - exec:
25       client.0:
26         - sudo ceph tell osd.1 injectargs -- --filestore_debug_random_read_err=0.33
27         - sudo ceph tell osd.1 injectargs -- --bluestore_debug_random_read_err=0.33
28         - sudo ceph osd pool create test 16 16
29         - sudo ceph osd pool set test size 3
30         - sudo ceph pg  dump pgs --format=json-pretty
31   - radosbench:
32       clients: [client.0]
33       time: 360
34       type: rand
35       objectsize: 1048576
36       pool: test
37       create_pool: false
38   - exec:
39       client.0:
40         - sudo ceph tell osd.1 injectargs -- --filestore_debug_random_read_err=0.0
41         - sudo ceph tell osd.1 injectargs -- --bluestore_debug_random_read_err=0.0