ceph/qa/suites/rbd/mirror/rbd-mirror/one-per-cluster.yaml
Jason Dillaman 56614d0ee9 qa/suites/rbd: mirroring tests should use rbd cap profiles
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-21 14:30:18 -04:00

20 lines
609 B
YAML

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