summaryrefslogtreecommitdiffstats
path: root/qa/suites/rbd/mirror/workloads/rbd-mirror-ha-workunit.yaml
blob: 7aa8d548c91e5d029cde3c264667ab48fc09d13f (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
meta:
- desc: run the rbd_mirror_ha.sh workunit to test the rbd-mirror daemon
overrides:
  ceph:
    conf:
      client:
        rbd mirror image policy type: none
      # override to make these names predictable
      client.mirror.4:
        admin socket: /var/run/ceph/rbd-mirror.$cluster-$name.asok
        pid file: /var/run/ceph/rbd-mirror.$cluster-$name.pid
      client.mirror.5:
        admin socket: /var/run/ceph/rbd-mirror.$cluster-$name.asok
        pid file: /var/run/ceph/rbd-mirror.$cluster-$name.pid
      client.mirror.6:
        admin socket: /var/run/ceph/rbd-mirror.$cluster-$name.asok
        pid file: /var/run/ceph/rbd-mirror.$cluster-$name.pid
tasks:
- workunit:
    clients:
      cluster1.client.mirror: [rbd/rbd_mirror_ha.sh]
    env:
      # override workunit setting of CEPH_ARGS='--cluster'
      CEPH_ARGS: ''
      RBD_MIRROR_USE_EXISTING_CLUSTER: '1'
    timeout: 6h