Bug #64042
openmgr/snap_schedule: Adding retention which already exists gives improper error message
0%
Description
This is a message formatting error along with an incorrect errno error.
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
Updated by Venky Shankar 4 months ago
- Category set to Administration/Usability
- Status changed from New to Triaged
- Assignee set to Milind Changire
- Target version set to v19.0.0
- Backport set to quincy, reef
Updated by Venky Shankar about 2 months ago
- Status changed from Triaged to Fix Under Review
- Backport changed from quincy, reef to quincy,reef,squid