Bug 2019654

Summary: incorrect route in overview tab in odf console
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Ning Ding <niding>
Component: management-consoleAssignee: Ning Ding <niding>
Status: CLOSED NEXTRELEASE QA Contact: Elad <ebenahar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.9CC: afrahman, jefbrown, madam, ocs-bugs, odf-bz-bot, skatiyar
Target Milestone: ---   
Target Release: ODF 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-08 07:03:08 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:

Description Ning Ding 2021-11-03 03:29:17 UTC
Description of problem (please be detailed as possible and provide log
snippests):

In overview page of odf console, when click the storagesystem, it goes to an incorrect url address as below, 

odf/system/odf.ibm.com~v1alpha1~flashsystemcluster/ibm-flashsystem-storage-storagesystem/overview


In storagesystem list page, when click one storagesystem, it goes to the correct url address as below, 
/odf/system/odf.ibm.com~v1alpha1~flashsystemcluster/ibm-flashsystem-storage/overview


The CRD odf.ibm.com~v1alpha1~flashsystemcluster instance name should be ibm-flashsystem-storage, not ibm-flashsystem-storage-storagesystem. 


Version of all relevant components (if applicable):

image: 'quay.io/rhceph-dev/ocs-registry:4.9.0-210.ci'


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

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)?


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:


Steps to Reproduce:
1. install odf storage system with ibm flashsystem
2. click the ibm-flashsystem-storage in overview page
3.


Actual results:
go to incorrect url


Expected results:
go the correct url


Additional info:

Comment 2 afrahman 2021-11-03 10:16:51 UTC
Hey,

The route should always include the name of storage system and not the sub system or underlying system name.
The parent resource which is the point of contact in ODF UX is storage system therefore clicking a storage system would show the storage system name.
Thats how we map resource on console and had a bug raised too https://bugzilla.redhat.com/show_bug.cgi?id=2005282 where we were using storage cluster in the url and as name.
We fixed this in 4.10 by https://github.com/openshift/console/pull/10262
Now system list page will also take the storage system name in url and as title

Comment 3 afrahman 2021-11-08 07:02:39 UTC
This is fixed in 4.10.
Not a backport candidate hence closing.