From eba1d94a9ab0cd044379191c23e457d19e97a288 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Thu, 29 Jan 2026 12:05:02 -0500 Subject: [PATCH] qa: clean up and simplify client 2 caps Signed-off-by: Patrick Donnelly --- qa/tasks/cephfs/test_multifs_auth.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/qa/tasks/cephfs/test_multifs_auth.py b/qa/tasks/cephfs/test_multifs_auth.py index cbce40658682..b6408413f456 100644 --- a/qa/tasks/cephfs/test_multifs_auth.py +++ b/qa/tasks/cephfs/test_multifs_auth.py @@ -32,9 +32,10 @@ class TestMultiFS(CephFSTestCase): self.fs2 = self.mds_cluster.newfs(name='cephfs2', create=True) # we'll reassign caps to client.1 so that it can operate with cephfs2 - self.run_ceph_cmd(f'auth caps client.{self.mount_b.client_id} mon ' - f'"allow r" osd "allow rw ' - f'pool={self.fs2.get_data_pool_name()}" mds allow') + self.run_ceph_cmd(f'auth caps client.{self.mount_b.client_id}' + ' mon "allow r"' + f' osd "allow rw tag cephfs data={self.fs2.name}"' + ' mds "allow"') self.mount_b.remount(cephfs_name=self.fs2.name) -- 2.47.3