summaryrefslogtreecommitdiffstats
path: root/qa/suites/fs/mirror-ha/workloads/cephfs-mirror-ha-workunit.yaml
blob: 18eb46d786ffb716e9d38e5ebccf84de2a028a54 (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
meta:
- desc: run the cephfs_mirror_ha.sh workunit to test cephfs-mirror daemon in HA active/active mode

overrides:
  ceph:
    conf:
      mgr:
        debug client: 10

tasks:
  - exec:
      client.1:
        - "ceph fs volume create dc"
        - "ceph fs volume create dc-backup"
  - ceph-fuse:
      client.1:
        cephfs_name: dc
      client.2:
        cephfs_name: dc-backup
  - cephfs_mirror_thrash:
      randomize: False
      max_thrash_delay: 10
  - workunit:
      subdir: mirror
      cleanup: False
      clients:
        client.1: [fs/cephfs_mirror_ha_gen.sh]
      timeout: 1h
  - exec:
      client.2:
        - "echo verifying synchronized snapshots..."
  - workunit:
      subdir: mirror
      cleanup: False
      clients:
        client.2: [fs/cephfs_mirror_ha_verify.sh]
      timeout: 3h