Project

General

Profile

Actions

Bug #54129

open

Removing non-existent rbd mirror schedule returns with success

Added by Sunny Kumar about 2 years ago. Updated about 2 years 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

Actions #1

Updated by Sunny Kumar about 2 years ago

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

Also available in: Atom PDF