]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/suites/rbd: mirroring tests should use rbd cap profiles
authorJason Dillaman <dillaman@redhat.com>
Fri, 7 Jul 2017 17:05:34 +0000 (13:05 -0400)
committerJason Dillaman <dillaman@redhat.com>
Fri, 21 Jul 2017 18:30:18 +0000 (14:30 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
qa/suites/rbd/mirror-ha/workloads/rbd-mirror-ha-workunit.yaml
qa/suites/rbd/mirror/rbd-mirror/one-per-cluster.yaml

index f818b75d76d0b49ecff9e725ebe822f4879e7d5b..406318f81c205fde9cba2db4c1f2523667386200 100644 (file)
@@ -1,6 +1,11 @@
 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]
index 5a7a5f5f00fa247faa4adf5436eaaac61527ef24..1e762a6e3d5b19d4a4e4c485e41bbd140447403d 100644 (file)
@@ -8,6 +8,11 @@ overrides:
         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: