Bug 2043034

Summary: [UI] Storage system status is missing in OpenShift Data Foundation page
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Jilju Joy <jijoy>
Component: csi-addonsAssignee: Madhu Rajanna <mrajanna>
Status: CLOSED CURRENTRELEASE QA Contact: Mugdha Soni <musoni>
Severity: high Docs Contact:
Priority: high    
Version: 4.10CC: afrahman, amagrawa, badhikar, jarrpa, jefbrown, madam, mmuench, muagarwa, musoni, nberry, ndevos, nigoyal, ocs-bugs, odf-bz-bot, ypadia
Target Milestone: ---Keywords: Regression
Target Release: ODF 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.10.0-175 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-21 09:12:44 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:
Attachments:
Description Flags
Screenshot none

Description Jilju Joy 2022-01-20 14:13:55 UTC
Created attachment 1852169 [details]
Screenshot

Description of problem (please be detailed as possible and provide log
snippests):
Storage system status is misisng in OpenShift Data Foundation page.
Screenshot attached.

Version of all relevant components (if applicable):
ODF 4.10.0-113
OCP 4.10.0-0.nightly-2022-01-19-150530

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
User cannot get the storage system status form  OpenShift Data Foundation Overview page.

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:
Yes, storage system status was available in 4.9

Steps to Reproduce:
1. Install ODF and create a storage system
2. Go to Storage --> OpenShift Data Foundation
3. Check the presence of storage system status in the status card.

Actual results:
Storage system status is missing in the status card

Expected results:
Storage system status should be present in the status card

Additional info:

Comment 2 Jilju Joy 2022-01-20 14:16:02 UTC
Adding the information got from Afreen for awareness.

The below query to get odf_system_health_status is failing because odf_system_map is listing two storage systems =
- one from  odf
- one from csi addon

(label_replace(odf_system_map{target_namespace="openshift-storage"} , "managedBy", "$1", "target_name", "(.*)"))  * on (namespace, managedBy) group_right(storage_system) odf_system_health_status

Comment 5 Afreen 2022-02-14 16:36:25 UTC
*** Bug 2051903 has been marked as a duplicate of this bug. ***

Comment 11 Mugdha Soni 2022-03-04 10:30:09 UTC
Validated the fix with the following builds :-

OCP : 4.10.0-0.nightly-2022-03-03-115552
ODF : 4.10.0-177

** Observations
(a) The storage system status card was present and was redirecting overview-->Block and File under storagesystem details page.
Screenshot for the same has been attached here 'https://docs.google.com/document/d/1EHP0EMZPTXuoByphm8gZXsLektEupbFeJtsDyaAMItA/edit?usp=sharing"

Moving the bug to verified state.

Thankyou
Mugdha Soni