Bug 2258568 - [CephFS - SnapSchedule] Adding retention which already exists gives improper error message
Summary: [CephFS - SnapSchedule] Adding retention which already exists gives improper ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: CephFS
Version: 6.1
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
: 7.1z8
Assignee: Milind Changire
QA Contact: sumr
Rivka Pollack
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-01-16 10:14 UTC by sumr
Modified: 2025-09-30 15:03 UTC (History)
10 users (show)

Fixed In Version: ceph-18.2.1-347.el9cp
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2025-09-30 15:02:56 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 64042 0 None None None 2024-01-16 12:23:13 UTC
Red Hat Issue Tracker RHCEPH-8171 0 None None None 2024-01-16 10:18:34 UTC
Red Hat Product Errata RHBA-2025:17059 0 None None None 2025-09-30 15:02:59 UTC

Description sumr 2024-01-16 10:14:32 UTC
Description of problem:

Snap Schedule Retention add for value which already exists generates error as expected but with improper message.

Error message "Error ENOENT: Retention for M is already present with value10. Please remove first" in below example mentions retention value 10 for M interval already exists, but represent existing value as 'value10'. There is space missing in 'value10', it had to be 'value 10' instead.

Example cmd:
[root@ceph-sumar-regression-5ohzjt-node6 ~]# ceph fs snap-schedule retention add /volumes/svg_1/sv1 M 10 --fs cephfs
Retention added to path /volumes/svg_1/sv1
[root@ceph-sumar-regression-5ohzjt-node6 ~]# ceph fs snap-schedule retention add /volumes/svg_1/sv1 M 10 --fs cephfs
Error ENOENT: Retention for M is already present with value10. Please remove first


Version-Release number of selected component (if applicable):
ceph version 17.2.6-191.el9cp 

How reproducible:consistent


Steps to Reproduce:
1.
2.
3.

Actual results:
"Error ENOENT: Retention for M is already present with value10. Please remove first"

Expected results:
"Error ENOENT: Retention for M is already present with value 10. Please remove first"

Additional info:

Comment 14 errata-xmlrpc 2025-09-30 15:02:56 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:17059


Note You need to log in before you can comment on or make changes to this bug.