Bug 2258814

Summary: Missing initial mon count value in "CephMonLowNumber" configure modal
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Nikhil Ladha <nladha>
Component: ocs-operatorAssignee: Nikhil Ladha <nladha>
Status: CLOSED ERRATA QA Contact: jpinto
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.15CC: jopinto, muagarwa, odf-bz-bot
Target Milestone: ---   
Target Release: ODF 4.15.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.15.0-119 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2259476 (view as bug list) Environment:
Last Closed: 2024-03-19 15:31:33 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: 2259476    

Description Nikhil Ladha 2024-01-17 14:24:00 UTC
Created attachment 2009008 [details]
Mon count configure modal

Description of problem (please be detailed as possible and provide log
snippests):
When the cluster has 5 or more failure domain/zones, a `CephMonLowNumber` alert is shown to the user with a "Configure" option. After clicking the "Configure" option a modal pops up that has the recommended mon count value and the current mon count value, and the current value is blank/undefined in the modal.

Version of all relevant components (if applicable):
4.15

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?


Is there any workaround available to the best of your knowledge?
No

Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?
1

Can this issue reproducible?
Yes

Can this issue reproduce from the UI?
Yes

If this is a regression, please provide more details to justify this:
No

Steps to Reproduce:
1. Create a 5 node cluster with 5 failure domains/zones.
2. The "CephMonLowNumber" alert will be fired once ODF is installed successfully.
3. Try to configure the mon count from the alert, you will see a blank value for the "Monitor Count" field.


Actual results:
The current mon count value is not shown in the configure modal.

Expected results:
The current mon count value should be shown in the configure modal.

Additional info:
N.A

Comment 5 Joy John Pinto 2024-02-06 10:14:16 UTC
Verified with OCP 4.15 and ODF 4.15.0-130

Verification steps:
1. Created a 5 node cluster with 5 failure domains/zones.
2. The "CephMonLowNumber" alert was fired once ODF was installed successfully.
3. Upon Trying to configure the mon count from the alert, In Configure Ceph Monitor tab current mon count value is displayed

Comment 7 errata-xmlrpc 2024-03-19 15:31:33 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 OpenShift Data Foundation 4.15.0 security, enhancement, & 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:1383