Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 2369848

Summary: [8.x Backport] - [CephFS - Subvolume] Improper output for subvolume create cmd with max chars in subvol name
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Hemanth Kumar <hyelloji>
Component: CephFSAssignee: Rishabh Dave <ridave>
Status: CLOSED ERRATA QA Contact: Hemanth Kumar <hyelloji>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.1CC: ceph-eng-bugs, cephqe-warriors, gfarnum, mamohan, ngangadh, ridave, vshankar
Target Milestone: ---   
Target Release: 8.1z1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-19.2.1-229 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-08-18 14:02:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Hemanth Kumar 2025-06-02 17:13:26 UTC
This bug was initially created as a copy of Bug #2256573

I am copying this bug because: Issue is seen across all downstream releases.


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:

Comment 9 errata-xmlrpc 2025-08-18 14:02:22 UTC
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 8.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:14015