ceph/qa/suites/rbd/mirror/clients/mirror-extra.yaml
Jason Dillaman eaec1786ee qa/workunits/rbd: tweak mirror test case to handle peer status
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-10-08 11:17:15 -04:00

25 lines
1.3 KiB
YAML

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'"