]> git.proxmox.com Git - ceph.git/blob - ceph/qa/suites/rados/singleton-nomsgr/all/recovery-unfound-found.yaml
import ceph 15.2.10
[ceph.git] / ceph / qa / suites / rados / singleton-nomsgr / all / recovery-unfound-found.yaml
1 roles:
2 - - mon.a
3 - mon.b
4 - mon.c
5 - mgr.x
6 - osd.0
7 - osd.1
8 openstack:
9 - volumes: # attached to each instance
10 count: 2
11 size: 20 # GB
12 tasks:
13 - install:
14 - ceph:
15 pre-mgr-commands:
16 - sudo ceph config set mgr mgr/devicehealth/enable_monitoring false --force
17 fs: xfs
18 conf:
19 osd:
20 osd recovery sleep: .1
21 osd objectstore: filestore
22 log-ignorelist:
23 - \(POOL_APP_NOT_ENABLED\)
24 - \(OSDMAP_FLAGS\)
25 - \(OSD_
26 - \(OBJECT_
27 - \(PG_
28 - overall HEALTH
29 - exec:
30 osd.0:
31 - ceph osd pool create foo 32
32 - ceph osd pool application enable foo foo
33 - rados -p foo bench 30 write -b 4096 --no-cleanup
34 - ceph osd set noup
35 - ceph.restart:
36 daemons: [osd.0]
37 wait-for-up: false
38 wait-for-healthy: false
39 - exec:
40 osd.0:
41 - sleep 5
42 - rados -p foo bench 3 write -b 4096 --no-cleanup
43 - ceph osd unset noup
44 - sleep 10
45 - ceph osd set noup
46 - ceph.restart:
47 daemons: [osd.1]
48 wait-for-up: false
49 wait-for-healthy: false
50 - exec:
51 osd.0:
52 - ceph osd out 0
53 - sleep 10
54 - ceph osd unset noup
55 - ceph.healthy:
56 wait-for-healthy: false # only wait for osds up and pgs clean, ignore misplaced
57 - exec:
58 osd.0:
59 - ceph osd in 0
60 - ceph.healthy: