Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 2132654

Summary: [Ceph-Dashboard] While doing demote of Primary journal mirror image on cluster-a from dashboard, RBD Mirroring is disabled on the image and respective secondary Images is removed from the cluster-b.
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Rajendra Khambadkar <rkhambad>
Component: Ceph-DashboardAssignee: Pedro González Gómez <pegonzal>
Status: CLOSED ERRATA QA Contact: Rajendra Khambadkar <rkhambad>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0CC: ceph-eng-bugs, cephqe-warriors, ekristov, mmurthy, nia, pegonzal, vdas
Target Milestone: ---   
Target Release: 6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-17.2.5-14.el9cp Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-20 18:58:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rajendra Khambadkar 2022-10-06 10:30:47 UTC
Description of problem:
While doing demotion of Primary journal Mirror image on cluster-a from dashboard, Mirroring is disabled on the image and respective mirror images is removed from the cluster-b.

Version-Release number of selected component (if applicable):
ceph version 17.2.3-47.el9cp (1a00ea1102fdf76fbf54be3e10d21cc19fc61270) quincy (stable)

How reproducible:
Always

Steps to Reproduce:
1. Enable the RBD mirroring on cluster-a and cluster-b
2. Create an Image of 5 GB with Journal mirroring enabled.
3. Make sure that created image is synced and available in cluster-b
4. Now go to primary cluster dashboard -> Block -> Images -> select Image -> click on Edit and Perform demote operation on primary image from cluster-a.

Actual results:
Mirroring is disabled for the image and respective image is removed from the cluster-b.

Expected results:
Demote operation should work on primary image and image should marked as secondary.

Additional info:

Tried the same from CLI , able to demote of primary journal mirror image from cluster-a and able to promote the secondary image from cluster-b.

Comment 1 RHEL Program Management 2022-10-06 10:30:55 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 19 errata-xmlrpc 2023-03-20 18:58:58 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 (Red Hat Ceph Storage 6.0 Bug Fix update), 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/RHBA-2023:1360