Bug 2280954

Summary: [rgw/dashboard]: Creating a new realm via the dashboard, makes it a default realm
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Aashish sharma <aasharma>
Component: Ceph-DashboardAssignee: Aashish sharma <aasharma>
Status: CLOSED ERRATA QA Contact: Chaithra <ckulal>
Severity: high Docs Contact: Anjana Suparna Sriram <asriram>
Priority: unspecified    
Version: 7.0CC: aasharma, asriram, ceph-eng-bugs, cephqe-warriors, ckulal, nia, pegonzal, rmandyam, rpollack, tserlin, vdas, vimishra
Target Milestone: ---   
Target Release: 7.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-18.2.1-182.el9cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2250056 Environment:
Last Closed: 2024-06-13 14:32:53 UTC Type: ---
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: 2250056    
Bug Blocks: 2260311    

Description Aashish sharma 2024-05-17 10:58:36 UTC
+++ This bug was initially created as a clone of Bug #2250056 +++

Description of problem:

Creating a new realm via the dashboard makes it a default realm.
The same behavior is not seen via the CLI.

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

ceph version 18.2.0-127.el9cp

How reproducible:

Always

Steps to Reproduce:

1. On a ceph cluster having existing realms, create a new realm 'realm_UI_1' via the ceph dashboard and do not set it as default as shown in pic-1.
2. Once the realm 'realm_UI_1' is created, it becomes the default realm.

Actual results:

on creating a new realm via the dashboard, the realm is promoted as default by default.

Expected results:

the new realm created should become default only if the default option is set.


Additional info:

--- Additional comment from Vidushi Mishra on 2023-11-16 12:57:21 UTC ---



--- Additional comment from Vidushi Mishra on 2023-11-16 13:02:45 UTC ---



--- Additional comment from errata-xmlrpc on 2024-01-29 21:14:35 UTC ---

Bug report changed to ON_QA status by Errata System.
A QE request has been submitted for advisory RHBA-2024:126401-01
https://errata.engineering.redhat.com/advisory/126401

--- Additional comment from errata-xmlrpc on 2024-01-29 21:14:42 UTC ---

This bug has been added to advisory RHBA-2024:126401 by Thomas Serlin (tserlin)

--- Additional comment from Chaithra on 2024-01-31 03:53:10 UTC ---

Verified on cluster dashboard: ceph version 18.2.0-143.el9cp

On a ceph cluster having existing realms, create a new realm 'india' via the ceph dashboard and do not set it as default.
Once the realm 'india' is created, it didn't become default realm.

moving BZ to VERIFIED

Note: Same behavior observed while creating realm via dashboard and cli

--- Additional comment from errata-xmlrpc on 2024-03-07 11:32:36 UTC ---

Bug report changed to RELEASE_PENDING status by Errata System.
Advisory RHBA-2024:126401-03 has been changed to PUSH_READY status.
https://errata.engineering.redhat.com/advisory/126401

--- Additional comment from errata-xmlrpc on 2024-03-07 11:39:46 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 7.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-2024:1214

Comment 4 errata-xmlrpc 2024-06-13 14:32:53 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 (Critical: Red Hat Ceph Storage 7.1 security, enhancements, 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-2024:3925