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 2256573

Summary: [7.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: sumr
Component: CephFSAssignee: Rishabh Dave <ridave>
Status: CLOSED ERRATA QA Contact: Hemanth Kumar <hyelloji>
Severity: medium Docs Contact: Rivka Pollack <rpollack>
Priority: unspecified    
Version: 5.3CC: amk, bkunal, ceph-eng-bugs, cephqe-warriors, gfarnum, hyelloji, jcaratza, mchangir, ngangadh, ridave, rpollack, vshankar
Target Milestone: ---   
Target Release: 7.1z5   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-18.2.1-337 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-06-23 02:51:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description sumr 2024-01-03 07:08:51 UTC
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 19 errata-xmlrpc 2025-06-23 02:51:38 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 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