]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/vol: print proper message when subvolume metadata filename is too...
authorRishabh Dave <ridave@redhat.com>
Fri, 7 Feb 2025 11:41:53 +0000 (17:11 +0530)
committerRishabh Dave <ridave@redhat.com>
Mon, 24 Feb 2025 12:16:43 +0000 (17:46 +0530)
commit82fc1e7cac3d9157d9aaf95c45ded04c1b278183
tree6cb45a318c1db2bc09b6e7e4e136829255378a57
parentf0023689d421373e058132fe3019530749afcb54
mgr/vol: print proper message when subvolume metadata filename is too...

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>
src/pybind/mgr/volumes/fs/operations/versions/auth_metadata.py