Bug 1973524 - visiting CSV page of some operators returns error
Summary: visiting CSV page of some operators returns error
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.8
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.9.0
Assignee: Jon Jackson
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-18 05:22 UTC by Yadan Pei
Modified: 2021-07-14 05:39 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-14 05:39:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Yadan Pei 2021-06-18 05:22:15 UTC
Description of problem:
visiting some operators' CSV page returns error, it looks like this is only reproducible for some specific operators such as 'OpenShift Virtualization' and 'Advanced Cluster Management for Kubernetes' operator

Version-Release number of selected component (if applicable):
4.8.0-0.nightly-2021-06-17-154539

How reproducible:
Always

Steps to Reproduce:
1. Subscribe 'OpenShift Virtualization' and 'Advanced Cluster Management for Kubernetes' operator from OperatorHub 
# oc get csv -n openshift-cnv
NAME                                      DISPLAY                    VERSION   REPLACES                                  PHASE
kubevirt-hyperconverged-operator.v2.6.5   OpenShift Virtualization   2.6.5     kubevirt-hyperconverged-operator.v2.6.4   Succeeded
# oc get csv -n open-cluster-management
NAME                                 DISPLAY                                      VERSION   REPLACES                             PHASE
advanced-cluster-management.v2.2.4   Advanced Cluster Management for Kubernetes   2.2.4     advanced-cluster-management.v2.2.3   Succeeded
2. Navigate to their CSV page 
/k8s/ns/openshift-cnv/operators.coreos.com~v1alpha1~ClusterServiceVersion/kubevirt-hyperconverged-operator.v2.6.5
/k8s/ns/open-cluster-management/operators.coreos.com~v1alpha1~ClusterServiceVersion/advanced-cluster-management.v2.2.4
3. Subscribe etcd, Anaconda Team Edition operator from OperatorHub and navigate to their CSV page via Operators -> Installed Operators or URL


Actual results:
3. CSV page of etcd,  Anaconda Team Edition operator can be shown without error
2. an error page is returned 

TypeError
Description:

e is undefined
Component Trace: 
ke@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/operator-hub-chunk-ef6b2ac64c00b899df6b.min.js:1:39496
div
div
div
div
je@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/operator-hub-chunk-ef6b2ac64c00b899df6b.min.js:1:40518
t@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/vendors~main-chunk-89c50313dd0fc209483f.min.js:27:66849
t@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/vendors~main-chunk-89c50313dd0fc209483f.min.js:27:68892
div
O@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/main-chunk-50c6bdf82112974e1250.min.js:1:168710
C@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/main-chunk-50c6bdf82112974e1250.min.js:1:169198
div
N<@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/main-chunk-50c6bdf82112974e1250.min.js:1:893436
E<@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/main-chunk-50c6bdf82112974e1250.min.js:1:506710
S@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/vendors~main-chunk-89c50313dd0fc209483f.min.js:99:2537
@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/main-chunk-50c6bdf82112974e1250.min.js:1:508385
S@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/vendors~main-chunk-89c50313dd0fc209483f.min.js:99:2537
g<@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/main-chunk-50c6bdf82112974e1250.min.js:1:950945
o@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/main-chunk-50c6bdf82112974e1250.min.js:1:208914
DetailsPage
we@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/operator-hub-chunk-ef6b2ac64c00b899df6b.min.js:1:45798
l@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/main-chunk-50c6bdf82112974e1250.min.js:1:257391
v<@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/main-chunk-50c6bdf82112974e1250.min.js:1:521376
S@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/vendors~main-chunk-89c50313dd0fc209483f.min.js:99:2537
t@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/vendors~main-chunk-89c50313dd0fc209483f.min.js:27:66849
t@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/vendors~main-chunk-89c50313dd0fc209483f.min.js:27:68892
div
div
section
p@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/vendors~main-chunk-89c50313dd0fc209483f.min.js:210:139644
t.a@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/main-chunk-50c6bdf82112974e1250.min.js:1:1312589
div
div
c@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/vendors~main-chunk-89c50313dd0fc209483f.min.js:205:348887
u@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/vendors~main-chunk-89c50313dd0fc209483f.min.js:163:86311
div
u@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/vendors~main-chunk-89c50313dd0fc209483f.min.js:78:15596
c@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/main-chunk-50c6bdf82112974e1250.min.js:1:1106891
V<@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/main-chunk-50c6bdf82112974e1250.min.js:1:558370
S@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/vendors~main-chunk-89c50313dd0fc209483f.min.js:99:2537
main
div
y@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/vendors~main-chunk-89c50313dd0fc209483f.min.js:93:120966
div
div
c@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/vendors~main-chunk-89c50313dd0fc209483f.min.js:210:141643
div
div
c@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/vendors~main-chunk-89c50313dd0fc209483f.min.js:205:348887
u@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/vendors~main-chunk-89c50313dd0fc209483f.min.js:163:86311
div
u@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/vendors~main-chunk-89c50313dd0fc209483f.min.js:78:15596
t.a@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/main-chunk-50c6bdf82112974e1250.min.js:1:1434493
V@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/main-chunk-50c6bdf82112974e1250.min.js:1:1438049
V@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/main-chunk-50c6bdf82112974e1250.min.js:1:1438049
V@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/main-chunk-50c6bdf82112974e1250.min.js:1:1438049
t.a@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/main-chunk-50c6bdf82112974e1250.min.js:1:1433783
l@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/main-chunk-50c6bdf82112974e1250.min.js:1:1432635
K@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/main-chunk-50c6bdf82112974e1250.min.js:1:1438190
G<@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/main-chunk-50c6bdf82112974e1250.min.js:1:1440827
r@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/vendors~main-chunk-89c50313dd0fc209483f.min.js:42:93766
t@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/vendors~main-chunk-89c50313dd0fc209483f.min.js:27:66849
t@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/vendors~main-chunk-89c50313dd0fc209483f.min.js:27:68892
t@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/vendors~main-chunk-89c50313dd0fc209483f.min.js:27:63456
q@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/main-chunk-50c6bdf82112974e1250.min.js:1:1441107
t.a@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/main-chunk-50c6bdf82112974e1250.min.js:1:801613
t.a@https://console-openshift-console.apps.qe-ui48-0618.qe.devcluster.openshift.com/static/vendors~main-chunk-89c50313dd0fc209483f.min.js:163:414237
Suspense

Expected results:
2. CSV page should be displayed without errors

Additional info:

Comment 1 Jon Jackson 2021-07-02 20:21:37 UTC
Haven't gotten to this one yet, but it's next on my queue since it's a runtime exception. Will take a look soon.

Comment 2 Samuel Padgett 2021-07-13 16:16:58 UTC
I was not able to reproduce. I have all four operators installed and the details page for each shows correctly. Yadan, can you give more precise steps to reproduce?

Comment 3 Yadan Pei 2021-07-14 05:38:44 UTC
I also can't reproduce the issue on 4.8.0-0.nightly-2021-07-13-150732, let me close it and reopen if I have the same issue again

I have some issues on 4.9 nightly and added comment in https://bugzilla.redhat.com/show_bug.cgi?id=1980078#c3


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