Bug 2354498 - GroupUnlinkPeerRequest: handle_remove_group_snapshot: failed to remove image snapshot metadata: (30) Read-only file system
Summary: GroupUnlinkPeerRequest: handle_remove_group_snapshot: failed to remove image ...
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
medium
Target Milestone: ---
: 8.1
Assignee: Prasanna Kumar Kalever
QA Contact: Chaitanya
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-24 10:09 UTC by aarsharm
Modified: 2025-06-26 12:29 UTC (History)
6 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:22 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-10945 0 None None None 2025-03-24 10:09:59 UTC
Red Hat Product Errata RHSA-2025:9775 0 None None None 2025-06-26 12:29:26 UTC

Description aarsharm 2025-03-24 10:09:28 UTC
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

Comment 4 errata-xmlrpc 2025-06-26 12:29:22 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.