]> git.proxmox.com Git - ceph.git/blob - ceph/qa/suites/rados/singleton/all/recovery-preemption.yaml
update sources to 12.2.2
[ceph.git] / ceph / qa / suites / rados / singleton / all / recovery-preemption.yaml
1 roles:
2 - - mon.a
3 - mon.b
4 - mon.c
5 - mgr.x
6 - osd.0
7 - osd.1
8 - osd.2
9 - osd.3
10 openstack:
11 - volumes: # attached to each instance
12 count: 3
13 size: 20 # GB
14 tasks:
15 - install:
16 - ceph:
17 conf:
18 osd:
19 osd recovery sleep: .1
20 osd min pg log entries: 100
21 osd max pg log entries: 1000
22 log-whitelist:
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 128
32 - ceph osd pool application enable foo foo
33 - rados -p foo bench 30 write -b 4096 --no-cleanup
34 - ceph osd out 0
35 - sleep 5
36 - ceph osd set noup
37 - ceph.restart:
38 daemons: [osd.1]
39 wait-for-up: false
40 wait-for-healthy: false
41 - exec:
42 osd.0:
43 - rados -p foo bench 3 write -b 4096 --no-cleanup
44 - ceph osd unset noup
45 - sleep 10
46 - ceph tell osd.* config set osd_recovery_sleep 0
47 - ceph tell osd.* config set osd_recovery_max_active 20
48 - ceph.healthy:
49 - exec:
50 osd.0:
51 - egrep '(defer backfill|defer recovery)' /var/log/ceph/ceph-osd.*.log