From: Jason Dillaman Date: Fri, 7 Jul 2017 17:05:34 +0000 (-0400) Subject: qa/suites/rbd: mirroring tests should use rbd cap profiles X-Git-Tag: v12.1.2~162^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=56614d0ee947ed4a4d18e71cb6828100130d0279;p=ceph.git qa/suites/rbd: mirroring tests should use rbd cap profiles Signed-off-by: Jason Dillaman --- diff --git a/qa/suites/rbd/mirror-ha/workloads/rbd-mirror-ha-workunit.yaml b/qa/suites/rbd/mirror-ha/workloads/rbd-mirror-ha-workunit.yaml index f818b75d76d0..406318f81c20 100644 --- a/qa/suites/rbd/mirror-ha/workloads/rbd-mirror-ha-workunit.yaml +++ b/qa/suites/rbd/mirror-ha/workloads/rbd-mirror-ha-workunit.yaml @@ -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] diff --git a/qa/suites/rbd/mirror/rbd-mirror/one-per-cluster.yaml b/qa/suites/rbd/mirror/rbd-mirror/one-per-cluster.yaml index 5a7a5f5f00fa..1e762a6e3d5b 100644 --- a/qa/suites/rbd/mirror/rbd-mirror/one-per-cluster.yaml +++ b/qa/suites/rbd/mirror/rbd-mirror/one-per-cluster.yaml @@ -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: