summaryrefslogtreecommitdiffstats
path: root/src/ceph/qa/suites/rbd/mirror/rbd-mirror/one-per-cluster.yaml
blob: 1e762a6e3d5b19d4a4e4c485e41bbd140447403d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
meta:
- desc: run one rbd-mirror daemon per cluster
overrides:
  ceph:
    conf:
      client.mirror:
        # override to make these names predictable
        admin socket: /var/run/ceph/$cluster-$name.asok
        pid file: /var/run/ceph/$cluster-$name.pid
tasks:
- exec:
    cluster1.client.mirror:
    - ceph --cluster cluster1 auth caps client.mirror mon 'profile rbd' osd 'profile rbd'
    cluster2.client.mirror:
    - ceph --cluster cluster2 auth caps client.mirror mon 'profile rbd' osd 'profile rbd'
- rbd-mirror:
    client: cluster1.client.mirror
- rbd-mirror:
    client: cluster2.client.mirror