From e56b9d21370ae23dff686c68991d5d69997cafd9 Mon Sep 17 00:00:00 2001 From: Xiubo Li Date: Tue, 5 Dec 2023 09:40:06 +0800 Subject: [PATCH] qa/cephfs: remove the uneccessary check for root_squash Just checking the caps in the keyring is enough. Fixes: e64931b6a80 ("mds/Server: disallow clients that have root_squash") Fixes: https://tracker.ceph.com/issues/63141 Signed-off-by: Xiubo Li (cherry picked from commit 920eceb97740cccf027f2af25370dce36b9cb98e) --- qa/tasks/cephfs/test_admin.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/qa/tasks/cephfs/test_admin.py b/qa/tasks/cephfs/test_admin.py index afac6f1dfcb..146efe4b817 100644 --- a/qa/tasks/cephfs/test_admin.py +++ b/qa/tasks/cephfs/test_admin.py @@ -1691,8 +1691,6 @@ class TestFsAuthorizeUpdate(CephFSTestCase): mdscap = gen_mds_cap_str(((PERM, self.fs.name, PATH, True),)) for cap in (moncap, osdcap, mdscap): self.assertIn(cap, keyring) - self._remount(self.mount_a, self.fs.name, keyring, PATH) - self.captester.run_cap_tests(self.fs, self.client_id, PERM, PATH) def _get_uid(self): return self.mount_a.client_remote.run( -- 2.47.3