From: Christopher Hoffman Date: Wed, 1 Oct 2025 14:02:40 +0000 (+0000) Subject: qa: Grant ALL caps fscrypt integration tests X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cefaafd1ce3a88b10c3f512be1ab82c1357c846e;p=ceph.git qa: Grant ALL caps fscrypt integration tests ALL caps are now needed for when setting fscrypt policy Signed-off-by: Christopher Hoffman --- diff --git a/qa/tasks/cephfs/test_fscrypt.py b/qa/tasks/cephfs/test_fscrypt.py index 8ca7eb28ff5..6ca3d8a975b 100644 --- a/qa/tasks/cephfs/test_fscrypt.py +++ b/qa/tasks/cephfs/test_fscrypt.py @@ -20,6 +20,14 @@ class FSCryptTestCase(CephFSTestCase): def setUp(self): super().setUp() + self.get_ceph_cmd_result( + 'auth', 'caps', "client.0", + 'mds', 'allow *', + 'mon', 'allow *', + 'osd', 'allow *') + self.mount_a.umount_wait() + self.mount_a.mount_wait() + self.protector = ''.join(random.choice(string.ascii_letters) for _ in range(8)) self.key_file = "/tmp/key" self.path = "dir/" @@ -368,6 +376,14 @@ class TestFSCryptVolumes(CephFSTestCase): def setUp(self): super().setUp() + self.get_ceph_cmd_result( + 'auth', 'caps', "client.0", + 'mds', 'allow *', + 'mon', 'allow *', + 'osd', 'allow *') + self.mount_a.umount_wait() + self.mount_a.mount_wait() + self.protector = ''.join(random.choice(string.ascii_letters) for _ in range(8)) self.key_file = "/tmp/key_volume" self.path = "dir/"