summaryrefslogtreecommitdiffstats
path: root/qa/suites/rbd/mirror-thrash/clients/mirror.yaml
blob: 1b6808d857238e5824fb9385c8f7e8de50d88e37 (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
meta:
- desc: configure the permissions for client.mirror
overrides:
  ceph:
    conf:
      client:
        rbd default features: 125
        debug rbd: 20
        debug rbd_mirror: 15
        log to stderr: false
      # override to make these names predictable
      client.mirror.0:
        admin socket: /var/run/ceph/rbd-mirror.$cluster-$name.asok
        pid file: /var/run/ceph/rbd-mirror.$cluster-$name.pid
      client.mirror.1:
        admin socket: /var/run/ceph/rbd-mirror.$cluster-$name.asok
        pid file: /var/run/ceph/rbd-mirror.$cluster-$name.pid
      client.mirror.2:
        admin socket: /var/run/ceph/rbd-mirror.$cluster-$name.asok
        pid file: /var/run/ceph/rbd-mirror.$cluster-$name.pid
      client.mirror.3:
        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 mon 'profile rbd-mirror-peer' osd 'profile rbd'"
      - "sudo ceph --cluster cluster1 auth caps client.mirror.0 mon 'profile rbd-mirror' osd 'profile rbd'"
      - "sudo ceph --cluster cluster1 auth caps client.mirror.1 mon 'profile rbd-mirror' osd 'profile rbd'"
      - "sudo ceph --cluster cluster1 auth caps client.mirror.2 mon 'profile rbd-mirror' osd 'profile rbd'"
      - "sudo ceph --cluster cluster1 auth caps client.mirror.3 mon 'profile rbd-mirror' osd 'profile rbd'"
      - "sudo ceph --cluster cluster2 auth caps client.mirror mon 'profile rbd-mirror-peer' osd 'profile rbd'"
      - "sudo ceph --cluster cluster2 auth caps client.mirror.0 mon 'profile rbd-mirror' osd 'profile rbd'"
      - "sudo ceph --cluster cluster2 auth caps client.mirror.1 mon 'profile rbd-mirror' osd 'profile rbd'"
      - "sudo ceph --cluster cluster2 auth caps client.mirror.2 mon 'profile rbd-mirror' osd 'profile rbd'"
      - "sudo ceph --cluster cluster2 auth caps client.mirror.3 mon 'profile rbd-mirror' osd 'profile rbd'"