Project

General

Profile

Actions

Bug #64042

closed
MC MM

mgr/snap_schedule: Adding retention which already exists gives improper error message

Bug #64042: mgr/snap_schedule: Adding retention which already exists gives improper error message

Added by Milind Changire almost 3 years ago. Updated 30 days ago.

Status:
Backporting
Priority:
Normal
Assignee:
Category:
Administration/Usability
Target version:
Due date:
% Done:

0%

Source:
Development
Backport:
reef,squid,tentacle
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
mgr/snap_schedule
Labels (FS):
Pull request ID:
Tags (freeform):
temp-assign
Fixed In:
v20.3.0-532-g1275f1a3ce
Released In:
v21.2.0~2905
Upkeep Timestamp:
2026-11-04T01:11:09+00:00

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


Related issues 3 (2 open — 1 closed)

Copied to CephFS - Backport #71436: reef: mgr/snap_schedule: Adding retention which already exists gives improper error messageResolvedJos Collin

Actions
Copied to CephFS - Backport #71437: tentacle: mgr/snap_schedule: Adding retention which already exists gives improper error messageQA TestingMahesh Mohan

Actions
Copied to CephFS - Backport #71438: squid: mgr/snap_schedule: Adding retention which already exists gives improper error messageIn ProgressJos Collin

Actions

MC Updated by Milind Changire almost 3 years ago Actions #1

  • Pull request ID set to 55193

VS Updated by Venky Shankar almost 3 years ago Actions #2

  • 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

VS Updated by Venky Shankar over 2 years ago Actions #3

  • Status changed from Triaged to Fix Under Review
  • Backport changed from quincy, reef to quincy,reef,squid

MC Updated by Milind Changire over 2 years ago Actions #4

  • Pull request ID changed from 55193 to 59161
  • PR#59161 continued from PR#55193
  • PR#55193 got locked up after pushing changes to a closed PR

KS Updated by Konstantin Shalygin almost 2 years ago Actions #5

  • Backport changed from quincy,reef,squid to reef,squid

VS Updated by Venky Shankar over 1 year ago Actions #6

  • Status changed from Fix Under Review to Pending Backport
  • Target version changed from v19.0.0 to v21.0.0
  • Source set to Development
  • Backport changed from reef,squid to reef,squid,tentacle
  • Component(FS) mgr/snap_schedule added

UB Updated by Upkeep Bot over 1 year ago Actions #7

  • Copied to Backport #71436: reef: mgr/snap_schedule: Adding retention which already exists gives improper error message added

UB Updated by Upkeep Bot over 1 year ago Actions #8

  • Copied to Backport #71437: tentacle: mgr/snap_schedule: Adding retention which already exists gives improper error message added

UB Updated by Upkeep Bot over 1 year ago Actions #9

  • Copied to Backport #71438: squid: mgr/snap_schedule: Adding retention which already exists gives improper error message added

UB Updated by Upkeep Bot over 1 year ago Actions #10

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot over 1 year ago Actions #11

  • Merge Commit set to 1275f1a3ce0fb9cf2fa9fabc64adcda0f520837a
  • Fixed In set to v20.3.0-532-g1275f1a3ce0
  • Upkeep Timestamp set to 2025-07-09T14:05:40+00:00

UB Updated by Upkeep Bot over 1 year ago Actions #12

  • Fixed In changed from v20.3.0-532-g1275f1a3ce0 to v20.3.0-532-g1275f1a3ce
  • Upkeep Timestamp changed from 2025-07-09T14:05:40+00:00 to 2025-07-14T17:41:30+00:00

VS Updated by Venky Shankar 11 months ago Actions #13

  • Assignee changed from Milind Changire to Mahesh Mohan
  • Tags (freeform) changed from backport_processed to temp-assign

@Milind Changire is moving away from CephFS development. Assigning this to @Mahesh Mohan in the interim.

UB Updated by Upkeep Bot 11 months ago Actions #14

  • Tags (freeform) changed from temp-assign to temp-assign backport_processed

UB Updated by Upkeep Bot 3 months ago Actions #15

  • Status changed from Pending Backport to Backporting
  • Upkeep Timestamp changed from 2025-07-14T17:41:30+00:00 to 2026-08-27T18:03:07+00:00

UB Updated by Upkeep Bot 3 months ago Actions #16

  • Tags (freeform) changed from temp-assign backport_processed to temp-assign
  • Upkeep Timestamp changed from 2026-08-27T18:03:07+00:00 to 2026-08-28T01:51:23+00:00

UB Updated by Upkeep Bot about 1 month ago Actions #17

  • Released In set to v21.2.0~2904
  • Upkeep Timestamp changed from 2026-08-28T01:51:23+00:00 to 2026-10-24T01:22:58+00:00

UB Updated by Upkeep Bot 30 days ago Actions #18

  • Released In changed from v21.2.0~2904 to v21.2.0~2905
  • Upkeep Timestamp changed from 2026-10-24T01:22:58+00:00 to 2026-11-04T01:11:09+00:00
Actions

Also available in: PDF Atom