Signed-off-by: Jason Dillaman <dillaman@redhat.com>
meta:
- desc: run the rbd_mirror_ha.sh workunit to test the rbd-mirror daemon
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'
- workunit:
clients:
cluster1.client.mirror: [rbd/rbd_mirror_ha.sh]
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: