Project

General

Profile

Actions

Bug #53250

closed

[rbd_support] passing invalid interval removes entire schedule

Added by Sunny Kumar over 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

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

Description

If we provide a random string in the snapshot remove command the entire schedule associated with the image is getting removed.

------------------------
sunny@ws build -> rbd mirror snapshot schedule ls --pool data --image image1 --cluster site-a --recursive

POOL NAMESPACE IMAGE SCHEDULE

sunny@ws build -> rbd mirror snapshot schedule add --pool data --image image1 1m --cluster site-a

sunny@ws build -> rbd mirror snapshot schedule ls --pool data --image image1 --cluster site-a --recursive

POOL NAMESPACE IMAGE SCHEDULE
data image1 every 1m

sunny@ws build -> rbd mirror snapshot schedule ls --pool data --image image1 --cluster site-a --recursive

POOL NAMESPACE IMAGE SCHEDULE
data image1 every 1m

sunny@ws build -> rbd mirror snapshot schedule add --pool data --image image1 1h --cluster site-a

sunny@ws build -> rbd mirror snapshot schedule add --pool data --image image1 5m --cluster site-a

sunny@ws build -> rbd mirror snapshot schedule ls --pool data --image image1 --cluster site-a --recursive

POOL NAMESPACE IMAGE SCHEDULE
data image1 every 1m, every 1h, every 5m

sunny@ws build -> rbd mirror snapshot schedule remove --pool data --image image1 test --cluster site-a

rbd: rbd mirror snapshot schedule remove failed: (22) Invalid argument: Invalid interval (test)

sunny@ws build -> rbd mirror snapshot schedule ls --pool data --image image1 --cluster site-a --recursive

POOL NAMESPACE IMAGE SCHEDULE


Related issues 2 (0 open2 closed)

Copied to rbd - Backport #54168: pacific: [rbd_support] passing invalid interval removes entire scheduleResolvedSunny KumarActions
Copied to rbd - Backport #54169: octopus: [rbd_support] passing invalid interval removes entire scheduleResolvedSunny KumarActions
Actions #1

Updated by Sunny Kumar over 2 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 43910
Actions #2

Updated by Ilya Dryomov about 2 years ago

  • Subject changed from rbd mirror snapshot schedule remove command is broken to [rbd_support] passing invalid interval removes entire schedule
  • Backport set to octopus,pacific
Actions #3

Updated by Ilya Dryomov about 2 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Backport Bot about 2 years ago

  • Copied to Backport #54168: pacific: [rbd_support] passing invalid interval removes entire schedule added
Actions #5

Updated by Backport Bot about 2 years ago

  • Copied to Backport #54169: octopus: [rbd_support] passing invalid interval removes entire schedule added
Actions #6

Updated by Ilya Dryomov about 2 years ago

  • Translation missing: en.field_tag_list deleted (rbd)
Actions #7

Updated by Ilya Dryomov almost 2 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF