Bug 2033251

Summary: Fix ODF 4.9 compatibility with OCP 4.10
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Bipul Adhikari <badhikar>
Component: management-consoleAssignee: Bipul Adhikari <badhikar>
Status: CLOSED ERRATA QA Contact: Mugdha Soni <musoni>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.9CC: fbalak, jefbrown, kramdoss, madam, mmuench, muagarwa, musoni, nberry, ocs-bugs, odf-bz-bot, rperiyas
Target Milestone: ---   
Target Release: ODF 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2033366 (view as bug list) Environment:
Last Closed: 2022-04-13 18:50:40 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: 2032984, 2033366    

Description Bipul Adhikari 2021-12-16 11:03:52 UTC
Description of problem:
OCP 4.10 removed some components previously present in the SDK. We need to update the compatibility branch of odf-console 4.9 to support OCP 4.10

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


How reproducible: 1/1


Steps to Reproduce:
1. Go to Storage -> ODF
2.
3.

Actual results:
Dashboard is Breaking

Expected results:
Dashboard should not break


Additional info:
Updates to SDK version and references to Dashboard Components needs to be updated.
This needs to be fixed in ODF z stream before OCP 4.10 releases.

Comment 8 Bipul Adhikari 2022-01-05 06:22:20 UTC
*** Bug 2035175 has been marked as a duplicate of this bug. ***

Comment 11 Mugdha Soni 2022-01-28 07:31:04 UTC
Hi 
ODF Dashboard is breaking with the builds :-

OCP :- 4.10.0-0.nightly-2022-01-26-234447

[root@localhost odf4-10]# oc get csv -n openshift-storage
NAME                  DISPLAY                       VERSION   REPLACES              PHASE
mcg-operator.v4.9.2   NooBaa Operator               4.9.2     mcg-operator.v4.9.1   Succeeded
ocs-operator.v4.9.2   OpenShift Container Storage   4.9.2     ocs-operator.v4.9.1   Succeeded
odf-operator.v4.9.2   OpenShift Data Foundation     4.9.2     odf-operator.v4.9.1   Succeeded

[root@localhost odf4-10]# oc get csv odf-operator.v4.9.2 -o yaml -n openshift-storage| grep full_version
    full_version: 4.9.2-9
          f:full_version: {}

Thanks 
Mugdha

Comment 13 Mugdha Soni 2022-01-28 08:17:26 UTC
Hi

I used the old build and will try with latest 4.9.2-10 and update .

Comment 14 Mugdha Soni 2022-01-28 09:22:11 UTC
Hi Bipul 

Can u please add information to parameter "Fixed in version" as this bug was on_qa previously .

Thanks 
Mugdha Soni

Comment 15 Mudit Agarwal 2022-01-28 09:39:20 UTC
Mugdha, 

This bug is targeted for 4.10, so ideally we need to put a 4.10 build in the Fixed in Version field but that will not help you to test it as you need a ODF 4.9 + ODF 4.10 combo to test.
My suggestion is to test the issue with its 4.9.z clone BZ #2033366. We have a fix in 4.10 also because every fix needs to go in main but it does not affect ODF 4.10
So, for ODF 4.10 you can just run the regression.

Bipul, please correct me if I am wrong.

Comment 17 Mudit Agarwal 2022-01-31 06:29:33 UTC
This bug was fixed long back in 4.10, please use any of the latest 4.10 build.

Just to reiterate, there are two combinations:

1) ODF 4.9 + OCP 4.10
2) ODF 4.10 + OCP 4.10

For 1), please use  BZ #2033366
For 2), use this BZ

Comment 19 Mugdha Soni 2022-01-31 12:59:52 UTC
Hi 

** Tested with the following builds :-

OCP :- 4.10.0-0.nightly-2022-01-31-012936

ODF :-

[root@localhost odf-410]# oc get csv odf-operator.v4.10.0 -o yaml -n openshift-storage| grep full_version
    full_version: 4.10.0-122
          f:full_version: {}


**Observations :-

1. The ODF dashboard is present under storage.
2. When clicked on odf dashboard there is no 404 error and all the details are present (Screenshot for same is attached in comment#18) .
3. Storage system status is missing in the status card (https://bugzilla.redhat.com/show_bug.cgi?id=2043034)

I believe we can mark this bug as verified .

Comment 20 Bipul Adhikari 2022-02-01 05:18:59 UTC
This can be moved to verified as well.

Comment 21 Mugdha Soni 2022-02-01 10:50:02 UTC
Based on comment#19 moving the bug to verified state.

Thanks

Comment 26 errata-xmlrpc 2022-04-13 18:50:40 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.10.0 enhancement, security & 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-2022:1372