Bug 2166688

Summary: [dashboard] block/rbd : tab:images : Disable promote option to images which are not mirroring enabled
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vasishta <vashastr>
Component: Ceph-DashboardAssignee: Pedro González Gómez <pegonzal>
Status: CLOSED ERRATA QA Contact: Sunil Angadi <sangadi>
Severity: low Docs Contact: Akash Raj <akraj>
Priority: unspecified    
Version: 6.0CC: aasharma, akraj, ceph-eng-bugs, cephqe-warriors, kdreyer, pegonzal, sangadi, tserlin
Target Milestone: ---   
Target Release: 6.1z2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-17.2.6-105.el9cp Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-10-12 16:34:25 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:
Bug Depends On:    
Bug Blocks: 2235257    

Description Vasishta 2023-02-02 16:21:14 UTC
Description of problem:
promote option in dropdown is enabled for images which are not enabled with mirroring.
(promote toggles to demote for which are enabled and are primary which is expected)

Version-Release number of selected component (if applicable):
6.0 latest

How reproducible:
Always

Steps to Reproduce:
1. open ceph dashboard and explore options provided to a rbd image

Actual results:
promote option in dropdown is enabled for image without mirroring configured.

Expected results:
Disable promote option to rbd image

Additional info:

Comment 8 Pedro González Gómez 2023-10-11 07:30:35 UTC
No doc text needed

Comment 10 errata-xmlrpc 2023-10-12 16:34:25 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 (Moderate: Red Hat Ceph Storage 6.1 security, enhancement, and 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/RHSA-2023:5693