Skip to content

squid: mgr/vol: print proper message when subvolume metadata filename is too long#62049

Open
rishabh-d-dave wants to merge 2 commits intoceph:squidfrom
rishabh-d-dave:wip-70230-squid
Open

squid: mgr/vol: print proper message when subvolume metadata filename is too long#62049
rishabh-d-dave wants to merge 2 commits intoceph:squidfrom
rishabh-d-dave:wip-70230-squid

Conversation

@rishabh-d-dave
Copy link
Contributor

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


backport of #61706
parent tracker: https://tracker.ceph.com/issues/69865

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

@kotreshhr
Copy link
Contributor

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

@joscollin
Copy link
Member

jenkins test docs

1 similar comment
@rishabh-d-dave
Copy link
Contributor Author

jenkins test docs

long.

When combination of subvolume group name and subvolume name is longer
than 248 characters, it leads to a failure because the metadata file is
a combination of both of these along with ":", "_" and ".meta".

Currently, when this comibnation longer than 248 characters, a bunch
stacktraces are printed along with multiple errors. This confuses the
user as well as looks bad.

Fixes: https://tracker.ceph.com/issues/69865
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 82fc1e7)
subvolume metadata file name length is too long.

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

jenkins test docs

@rishabh-d-dave
Copy link
Contributor Author

jenkins test make check

@batrick batrick modified the milestones: squid, v19.2.4 Mar 18, 2026
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.

4 participants