Project

General

Profile

Actions

Bug #54058

closed

[rbd_support] level_spec is optional for {mirror snapshot,trash purge} schedule {list,status}

Added by Ilya Dryomov about 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Urgent
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

A regression was introduced early in the quincy cycle, making level_spec a required parameter (https://github.com/ceph/ceph/pull/39371):

$ ceph rbd trash purge schedule list
Invalid command: missing required parameter level_spec(<string>)
rbd trash purge schedule list <level_spec> :  List rbd trash purge schedule
Error EINVAL: invalid command
$ ceph rbd trash purge schedule status
Invalid command: missing required parameter level_spec(<string>)
rbd trash purge schedule status <level_spec> :  Show rbd trash purge schedule status
Error EINVAL: invalid command
$ ceph rbd mirror snapshot schedule list
Invalid command: missing required parameter level_spec(<string>)
rbd mirror snapshot schedule list <level_spec> :  List rbd mirror snapshot schedule
Error EINVAL: invalid command
$ ceph rbd mirror snapshot schedule status
Invalid command: missing required parameter level_spec(<string>)
rbd mirror snapshot schedule status <level_spec> :  Show rbd mirror snapshot schedule status
Error EINVAL: invalid command

This didn't affect internal users because within Ceph these commands are wrapped by rbd CLI.


Related issues 1 (0 open1 closed)

Related to rbd - Bug #54057: [rbd_support] "trash remove" takes image_id_spec, not image_specResolvedIlya Dryomov

Actions
Actions #1

Updated by Ilya Dryomov about 2 years ago

  • Related to Bug #54057: [rbd_support] "trash remove" takes image_id_spec, not image_spec added
Actions #2

Updated by Ilya Dryomov about 2 years ago

  • Description updated (diff)
Actions #3

Updated by Ilya Dryomov about 2 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 44834
Actions #4

Updated by Ilya Dryomov about 2 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF