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:
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