From cefaafd1ce3a88b10c3f512be1ab82c1357c846e Mon Sep 17 00:00:00 2001 From: Christopher Hoffman Date: Wed, 1 Oct 2025 14:02:40 +0000 Subject: [PATCH] qa: Grant ALL caps fscrypt integration tests ALL caps are now needed for when setting fscrypt policy Signed-off-by: Christopher Hoffman --- qa/tasks/cephfs/test_fscrypt.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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/" -- 2.47.3