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