Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / qa / suites / rbd / mirror / rbd-mirror / one-per-cluster.yaml
1 meta:
2 - desc: run one rbd-mirror daemon per cluster
3 overrides:
4   ceph:
5     conf:
6       client.mirror:
7         # override to make these names predictable
8         admin socket: /var/run/ceph/$cluster-$name.asok
9         pid file: /var/run/ceph/$cluster-$name.pid
10 tasks:
11 - exec:
12     cluster1.client.mirror:
13     - ceph --cluster cluster1 auth caps client.mirror mon 'profile rbd' osd 'profile rbd'
14     cluster2.client.mirror:
15     - ceph --cluster cluster2 auth caps client.mirror mon 'profile rbd' osd 'profile rbd'
16 - rbd-mirror:
17     client: cluster1.client.mirror
18 - rbd-mirror:
19     client: cluster2.client.mirror