summaryrefslogtreecommitdiffstats
path: root/qa/suites/fs/mirror-ha/workloads/cephfs-mirror-ha-workunit.yaml
blob: ce4dddf78d51e4a68a41d0d71ab8fee045f512f1 (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
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:
  - 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