summaryrefslogtreecommitdiffstats
path: root/qa/suites/rbd/mirror/clients/mirror-extra.yaml
blob: 5eed5cfcd97974e2e77f0c8f49076842a0ce9916 (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
meta:
- desc: configure the permissions for client.mirror
overrides:
  ceph:
    conf:
      # 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:
- exec:
    cluster1.client.mirror.0:
      - "sudo ceph --cluster cluster1 auth caps client.mirror.4 mon 'profile rbd-mirror' osd 'profile rbd'"
      - "sudo ceph --cluster cluster1 auth caps client.mirror.5 mon 'profile rbd-mirror' osd 'profile rbd'"
      - "sudo ceph --cluster cluster1 auth caps client.mirror.6 mon 'profile rbd-mirror' osd 'profile rbd'"
      - "sudo ceph --cluster cluster2 auth caps client.mirror.4 mon 'profile rbd-mirror' osd 'profile rbd'"
      - "sudo ceph --cluster cluster2 auth caps client.mirror.5 mon 'profile rbd-mirror' osd 'profile rbd'"
      - "sudo ceph --cluster cluster2 auth caps client.mirror.6 mon 'profile rbd-mirror' osd 'profile rbd'"