]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/cephfs: use cephfs tags when recreating osd caps
authorMykola Golub <mykola.golub@clyso.com>
Wed, 1 Mar 2023 10:45:00 +0000 (12:45 +0200)
committerMykola Golub <mykola.golub@clyso.com>
Fri, 7 Apr 2023 11:34:27 +0000 (14:34 +0300)
to make it work when an extra data pool is added

Signed-off-by: Mykola Golub <mykola.golub@clyso.com>
(cherry picked from commit 6a384b5d7ff73de95821231b0d1476bd84956131)

qa/tasks/cephfs/cephfs_test_case.py

index ded3fa379de2b567e5c86434d860f58c42ba3db9..e15658c7d378263633d9209fddd588ffe1adb680 100644 (file)
@@ -163,7 +163,7 @@ class CephFSTestCase(CephTestCase):
             # In case some test messed with auth caps, reset them
             for client_id in client_mount_ids:
                 cmd = ['auth', 'caps', f'client.{client_id}', 'mon','allow r',
-                       'osd', f'allow rw pool={self.fs.get_data_pool_name()}',
+                       'osd', f'allow rw tag cephfs data={self.fs.name}',
                        'mds', 'allow']
 
                 if self.run_cluster_cmd_result(cmd) == 0: