Project

General

Profile

Bug #54129

Removing non-existent rbd mirror schedule returns with success

Added by Sunny Kumar about 1 year ago. Updated about 1 year ago.

Status:
In Progress
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

sunny@o05 build -> rbd mirror snapshot schedule ls --pool data --cluster site-a --recursive
POOL NAMESPACE IMAGE SCHEDULE
data image1 every 5m
sunny@o05 build -> rbd --cluster site-a mirror snapshot schedule remove 1m --pool data --image image1

---------
We can add some validation here when we try to remove non-existent schedule.

Ex:
sunny@o05 build -> rbd mirror snapshot schedule ls --pool data --cluster site-1 --recursive
POOL NAMESPACE IMAGE SCHEDULE
data image1 every 5m
sunny@o05 build -> rbd --cluster site-1 mirror snapshot schedule remove 1m --pool data --image image1
rbd: rbd mirror snapshot schedule remove failed: (22) Invalid argument: Invalid schedule

History

#1 Updated by Sunny Kumar about 1 year ago

  • Status changed from New to In Progress
  • Assignee set to Sunny Kumar

Also available in: Atom PDF