Skip to content

squid: mgr/vol: include group name in subvolume's pool namespace name#64205

Merged
chrisphoffman merged 5 commits intoceph:squidfrom
rishabh-d-dave:wip-71854-squid
Oct 10, 2025
Merged

squid: mgr/vol: include group name in subvolume's pool namespace name#64205
chrisphoffman merged 5 commits intoceph:squidfrom
rishabh-d-dave:wip-71854-squid

Conversation

@rishabh-d-dave
Copy link
Contributor

backport tracker: https://tracker.ceph.com/issues/71854


backport of #62668
parent tracker: https://tracker.ceph.com/issues/70668

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

Include subvolume group name along with subvolume name in the pool
namepsace string for the subvolume. IOW, include it in the string that
serves as the value of the extended attribute
"ceph.dir.layout.pool_namespace", which is set for a subvolume during
its creation.

Right now, due to not including it, two different subvolumes with same
name but located in different subvolume groups undesirably end up in the
same namespace.

Fixes: https://tracker.ceph.com/issues/70668
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 45f8aba)
Remove extra space from the line that defines the method name and
parameters as the extra space between the keyword "def" and method name
makes it impossible to find this method through a search.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 94ab44c)
Test that subvolume group name is included in the string that serves as
the name of pool namespace for a subvolume. IOW, that serves as value of
the extended attribute "ceph.dir.layout.pool_namespace" for a subvolume.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit db8c3f9)
namespaces.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 85d0d77)
@rishabh-d-dave rishabh-d-dave requested a review from a team as a code owner June 26, 2025 08:32
@rishabh-d-dave rishabh-d-dave added this to the v16.2.15 milestone Jun 26, 2025
@rishabh-d-dave rishabh-d-dave requested a review from a team June 26, 2025 08:32
@joscollin
Copy link
Member

jenkins test api

@joscollin joscollin added the wip-jcollin-testing-squid2 Assigned for review label Aug 20, 2025
@joscollin
Copy link
Member

This PR is under test in https://tracker.ceph.com/issues/72654.

namespace of CephFS volumes.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit f350d98)
@rishabh-d-dave
Copy link
Contributor Author

@chrisphoffman @joscollin I've fixed the issue in release notes.

@joscollin
Copy link
Member

@chrisphoffman @joscollin I've fixed the issue in release notes.

@chrisphoffman
We don't have to re-qa, as this is just a doc change. Please go ahead with the existing run.

Copy link
Contributor

@chrisphoffman chrisphoffman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chrisphoffman chrisphoffman merged commit 19b297b into ceph:squid Oct 10, 2025
9 checks passed
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