Skip to content

tentacle: Fix multifs auth caps check - #65358

Merged
batrick merged 7 commits into
ceph:tentaclefrom
kotreshhr:wip-72813-tentacle
Feb 26, 2026
Merged

batrick merged 7 commits into
ceph:tentaclefrom
kotreshhr:wip-72813-tentacle

Conversation

@kotreshhr

@kotreshhr kotreshhr commented Sep 3, 2025 •

Copy link
Copy Markdown
Contributor

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)
@kotreshhr kotreshhr added this to the tentacle milestone Sep 3, 2025
@kotreshhr kotreshhr added the core label Sep 3, 2025
@github-actions github-actions Bot added cephfs Ceph File System tests labels Sep 3, 2025
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)
@kotreshhr
kotreshhr requested a review from a team September 8, 2025 07:15
@joscollin

Copy link
Copy Markdown
Member

@kotreshhr Please rebase and push again.

@joscollin

Copy link
Copy Markdown
Member

jenkins test api

@joscollin

Copy link
Copy Markdown
Member

@batrick

batrick commented Feb 12, 2026

Copy link
Copy Markdown
Member

Status on QA for this? It's a security fix.

@joscollin

Copy link
Copy Markdown
Member

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.

@batrick

batrick commented Feb 12, 2026

Copy link
Copy Markdown
Member

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.

@batrick

batrick commented Feb 12, 2026

Copy link
Copy Markdown
Member

@batrick batrick modified the milestones: tentacle, v20.2.1 Feb 13, 2026
@batrick

batrick commented Feb 26, 2026

Copy link
Copy Markdown
Member

@batrick
batrick merged commit 6bc5823 into ceph:tentacle Feb 26, 2026
@github-actions

Copy link
Copy Markdown

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
ticket and reset to Pending Backport state.

Update Log: https://github.com/ceph/ceph/actions/runs/22459486927

@github-actions

Copy link
Copy Markdown

This is an automated message by src/script/redmine-upkeep.py.

I found one or more Fixes: tags in the commit messages in

git log 6bc582328ec613cb3e17506e20f56bf715f44963^..6bc582328ec613cb3e17506e20f56bf715f44963

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.

Update Log: https://github.com/ceph/ceph/actions/runs/22459486927

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants