Bug 2019654 - incorrect route in overview tab in odf console
Summary: incorrect route in overview tab in odf console
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: management-console
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ODF 4.10.0
Assignee: Ning Ding
QA Contact: Elad
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-03 03:29 UTC by Ning Ding
Modified: 2023-08-09 16:46 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-08 07:03:08 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage odf-console pull 66 0 None open Bug 2019654: url link for system systems 2021-11-03 05:33:04 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.