Bug 2354501 - [Usability]: Removing mirror group snapshot schedule with group-spec should throw error
Summary: [Usability]: Removing mirror group snapshot schedule with group-spec should t...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RBD-Mirror
Version: 8.1
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 8.1
Assignee: Ilya Dryomov
QA Contact: aarsharm
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-24 10:37 UTC by aarsharm
Modified: 2025-06-26 12:29 UTC (History)
4 users (show)

Fixed In Version: ceph-19.2.1-74.el9cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2025-06-26 12:29:29 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 70640 0 None None None 2025-03-24 21:28:03 UTC
Red Hat Issue Tracker RHCEPH-10947 0 None None None 2025-03-24 10:38:22 UTC
Red Hat Product Errata RHSA-2025:9775 0 None None None 2025-06-26 12:29:33 UTC

Description aarsharm 2025-03-24 10:37:29 UTC
Description of problem:
"mirror group snapshot schedule remove" with group-spec does not throw any error, which gives an impression to user that schedule is removed.
This bz is to keep the behavior consistent with "mirror group snapshot schedule add" which throws error on providing group-spec


mirror group snapshot schedule add throws error with group-spec.
[ceph: root@ceph-rbd1-cg-ds-tf74dn-node1-installer /]# rbd mirror group snapshot schedule add pool_1/group_1 2m
rbd: rbd mirror group snapshot schedule add failed: (22) Invalid argument: Invalid interval (pool_1/group_1)

mirror group snapshot schedule remove should also throw error with group-spec, due to below to reason.
    - to keep the behavior consistent with "mirror group snapshot schedule add"
    - as its giving false impression that group mirror snapshot schedule is removed, whereas its not.


[ceph: root@ceph-rbd1-cg-ds-tf74dn-node1-installer /]# rbd mirror group snapshot schedule list --group group_1 --pool pool_1
every 1m
[ceph: root@ceph-rbd1-cg-ds-tf74dn-node1-installer /]# rbd mirror group snapshot schedule remove pool_1/group_1 1m
[ceph: root@ceph-rbd1-cg-ds-tf74dn-node1-installer /]# rbd mirror group snapshot schedule list --group group_1 --pool pool_1
every 1m


Version-Release number of selected component (if applicable):
[ceph: root@ceph-rbd1-cg-ds-tf74dn-node1-installer /]# ceph version
ceph version 19.2.1-57.el9cp (25ca432e5c2874ac833d0f13057a1b7d98913317) squid (stable)
[ceph: root@ceph-rbd1-cg-ds-tf74dn-node1-installer /]#

Comment 7 errata-xmlrpc 2025-06-26 12:29:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Red Hat Ceph Storage 8.1 security, bug fix, and enhancement updates), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2025:9775


Note You need to log in before you can comment on or make changes to this bug.