Actions
Bug #54129
openRemoving non-existent rbd mirror schedule returns with success
% 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
Updated by Sunny Kumar about 2 years ago
- Status changed from New to In Progress
- Assignee set to Sunny Kumar
Actions