Description of problem: On running "rbd mirror group demote --pool pool_1 --group group_1" Consistency group is demoted in addition with below error string. "2025-03-24T09:23:03.559+0000 7fe7fa4db640 -1 librbd::mirror::snapshot::GroupUnlinkPeerRequest: 0x557f20c810b0 handle_remove_group_snapshot: failed to remove image snapshot metadata: (30) Read-only file system" Above error string gives an impression to the user that something has gone wrong/bad. but the group is demoted successfully, so raising this bz to analyze and remove this error string from the output display. 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 /]# How reproducible: every time Steps to Reproduce: 1. promote a consistency group on site-a/cluster1 [ceph: root@ceph-rbd1-cg-ds-tf74dn-node1-installer /]# rbd mirror group promote --pool pool_1 --group group_1 rbd: error promoting group to primary 2025-03-24T09:22:47.266+0000 7f1b0bd53200 -1 librbd::api::Mirror: group_promote: group group_1 is already primary 2. demote a consietnct group on site-a/cluster1 [ceph: root@ceph-rbd1-cg-ds-tf74dn-node1-installer /]# rbd mirror group demote --pool pool_1 --group group_1 2025-03-24T09:23:03.559+0000 7fe7fa4db640 -1 librbd::mirror::snapshot::GroupUnlinkPeerRequest: 0x557f20c810b0 handle_remove_group_snapshot: failed to remove image snapshot metadata: (30) Read-only file system Group demoted to non-primary [ceph: root@ceph-rbd1-cg-ds-tf74dn-node1-installer /]# Actual results: [ceph: root@ceph-rbd1-cg-ds-tf74dn-node1-installer /]# rbd mirror group promote --pool pool_1 --group group_1 rbd: error promoting group to primary 2025-03-24T09:22:47.266+0000 7f1b0bd53200 -1 librbd::api::Mirror: group_promote: group group_1 is already primary [ceph: root@ceph-rbd1-cg-ds-tf74dn-node1-installer /]# rbd mirror group demote --pool pool_1 --group group_1 2025-03-24T09:23:03.559+0000 7fe7fa4db640 -1 librbd::mirror::snapshot::GroupUnlinkPeerRequest: 0x557f20c810b0 handle_remove_group_snapshot: failed to remove image snapshot metadata: (30) Read-only file system Group demoted to non-primary [ceph: root@ceph-rbd1-cg-ds-tf74dn-node1-installer /]# Expected results: [ceph: root@ceph-rbd1-cg-ds-tf74dn-node1-installer /]# rbd mirror group promote --pool pool_1 --group group_1 rbd: error promoting group to primary 2025-03-24T09:22:47.266+0000 7f1b0bd53200 -1 librbd::api::Mirror: group_promote: group group_1 is already primary [ceph: root@ceph-rbd1-cg-ds-tf74dn-node1-installer /]# rbd mirror group demote --pool pool_1 --group group_1 Group demoted to non-primary [ceph: root@ceph-rbd1-cg-ds-tf74dn-node1-installer /]# Additional info: NA
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