Repository navigation
tentacle: Fix multifs auth caps check - #65358
Conversation
Fixes: https://tracker.ceph.com/issues/72167 Signed-off-by: Kotresh HR <[email protected]> (cherry picked from commit 3516db3)
The multifs auth caps bug has a fix both in client and mds. If it's old client and not patched, we expect that the fs with 'rw' would end up having 'r' caps with the multifs auth caps used as in the test 'test_multifs_single_client_cross_access_r_caps_end'. This patch adds the conditional to validate the same. This commit makes use of the PR ceph#64005 Fixes: https://tracker.ceph.com/issues/72167 Signed-off-by: Kotresh HR <[email protected]> (cherry picked from commit f10e34d)
The fsname is not take into consideration while validating the access check for the operations. This patch fixes the same. Fixes: https://tracker.ceph.com/issues/72167 Signed-off-by: Kotresh HR <[email protected]> (cherry picked from commit 1a5e083)
The fsname needs to be passed to validate the mds auth caps check. This patch fixes the same. Fixes: https://tracker.ceph.com/issues/72167 Signed-off-by: Kotresh HR <[email protected]> (cherry picked from commit b1d6bb9)
Fix the TestMDSAuthCaps after fixing multifs authcaps comparison. Fixes: https://tracker.ceph.com/issues/72167 Signed-off-by: Kotresh HR <[email protected]> (cherry picked from commit 92ab603)
This is required to test the features involving fixes both in client and mds. This is to make sure the older clients are not broken with the fix. The version 19.2.2 is used for client. The test suite sets up the cluster with squid 19.2.2 and upgrades only the ceph cluster node leaving the client node. Signed-off-by: Kotresh HR <[email protected]> (cherry picked from commit a4f97c0)
The kclient fix isn't yet landed in the kernel and hence the test 'test_multifs_single_client_cross_access_r_caps_end' would fail for kernel mount. So disable the failing validation in the test for kclient. Fixes: https://tracker.ceph.com/issues/72167 Signed-off-by: Kotresh HR <[email protected]> (cherry picked from commit 485f37a)
3f4b652 to
696e99b
Compare
|
@kotreshhr Please rebase and push again. |
|
jenkins test api |
|
This PR is under test in https://tracker.ceph.com/issues/73100. |
|
Status on QA for this? It's a security fix. |
@edwinzrodriguez The QA Tracker https://tracker.ceph.com/issues/73100 is being reviewed by you. Please share the status. |
@joscollin The artifacts are on the old LRC. All of these QA runs need to be rebuilt and resubmitted. |
|
This PR is under test in https://tracker.ceph.com/issues/74910. |
|
This is an automated message by src/script/redmine-upkeep.py. I have resolved the following tracker ticket due to the merge of this PR: No backports are pending for the ticket. If this is incorrect, please update the tracker |
|
This is an automated message by src/script/redmine-upkeep.py. I found one or more
The referenced tickets are: Those tickets do not reference this merged Pull Request. If this Pull Request merge resolves any of those tickets, please update the "Pull Request ID" field on each ticket. A future run of this script will appropriately update them. |
backport tracker: https://tracker.ceph.com/issues/72813
backport of #64550
parent tracker: https://tracker.ceph.com/issues/72167
Note:
Pulled in dependant qa commit a4f97c0
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh