Description of problem:
Subvolume create with maximum characters in subvolume name throws a Traceback and Exception that is improper.
Error EINVAL: Traceback (most recent call last):
File "/usr/share/ceph/mgr/volumes/fs/operations/versions/subvolume_base.py", line 298, in discover
self.fs.stat(self.base_path)
File "cephfs.pyx", line 1889, in cephfs.LibCephFS.stat
cephfs.ObjectNotFound: error in stat: /volumes/svg/sv1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111: No such file or directory [Errno 2]
Version-Release number of selected component (if applicable):
16.2.10-225.el8cp
How reproducible:
consistent
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Command output should print Error similar to "ENAMETOOLONG: error accessing subvolume"
Additional info:
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Red Hat Ceph Storage 7.1 security and bug fix updates), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2025:9335
Description of problem: Subvolume create with maximum characters in subvolume name throws a Traceback and Exception that is improper. Error EINVAL: Traceback (most recent call last): File "/usr/share/ceph/mgr/volumes/fs/operations/versions/subvolume_base.py", line 298, in discover self.fs.stat(self.base_path) File "cephfs.pyx", line 1889, in cephfs.LibCephFS.stat cephfs.ObjectNotFound: error in stat: /volumes/svg/sv1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111: No such file or directory [Errno 2] Version-Release number of selected component (if applicable): 16.2.10-225.el8cp How reproducible: consistent Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Command output should print Error similar to "ENAMETOOLONG: error accessing subvolume" Additional info: