]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/cephfs: remove the uneccessary check for root_squash 57117/head
authorXiubo Li <xiubli@redhat.com>
Tue, 5 Dec 2023 01:40:06 +0000 (09:40 +0800)
committerXiubo Li <xiubli@redhat.com>
Sun, 28 Apr 2024 01:25:52 +0000 (09:25 +0800)
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 <xiubli@redhat.com>
(cherry picked from commit 920eceb97740cccf027f2af25370dce36b9cb98e)

qa/tasks/cephfs/test_admin.py

index afac6f1dfcbd234705cacf89836541c74cd3f6a7..146efe4b817c3b3c5a22a827abeee3f6fd8798d9 100644 (file)
@@ -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(