summaryrefslogtreecommitdiffstats
path: root/qa/suites/rados/singleton/all/pg-removal-interruption.yaml
blob: 0dd0fb38d037373dd21f8d50656b30f610e895e7 (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
roles:
- - mon.a
  - mgr.x
  - osd.0
  - osd.1
  - osd.2
  - client.0
openstack:
  - volumes: # attached to each instance
      count: 3
      size: 10 # GB
tasks:
- install:
- ceph:
    pre-mgr-commands:
      - sudo ceph config set mgr mgr_pool false --force
    log-ignorelist:
      - but it is still running
      - slow request
      - overall HEALTH_
      - \(OSDMAP_FLAGS\)
      - \(OSD_
      - \(PG_
      - \(POOL_APP_NOT_ENABLED\)
- exec:
    client.0:
      - sudo ceph osd pool create foo 128 128
      - sudo ceph osd pool application enable foo rados
      - sleep 5
      - sudo ceph tell osd.0 injectargs -- --osd-inject-failure-on-pg-removal
      - sudo ceph osd pool delete foo foo --yes-i-really-really-mean-it
- ceph.wait_for_failure: [osd.0]
- exec:
    client.0:
      - sudo ceph osd down 0
- ceph.restart: [osd.0]
- ceph.healthy: