Bug 1673201 - Cluster Operators UI shows error "version" of undefined
Summary: Cluster Operators UI shows error "version" of undefined
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.1.0
Assignee: Samuel Padgett
QA Contact: shahan
URL:
Whiteboard:
Depends On:
Blocks: 1664187
TreeView+ depends on / blocked
 
Reported: 2019-02-06 22:30 UTC by jooho lee
Modified: 2019-05-06 13:00 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-27 18:09:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Unknown (110.74 KB, image/png)
2019-02-12 07:21 UTC, shahan
no flags Details

Description jooho lee 2019-02-06 22:30:51 UTC
Description of problem:

With openshift-install 0.12.0, the web console shows errors on Administration - cluster settings - Cluster Operators tab.

TypeError
Description:
Cannot read property 'version' of undefined

Component Trace:
~~~
in E
    in div
    in div
    in Rows
    in div
    in k
    in StatusBox
    in div
    in t
    in Connect(t)
    in y
    in div
    in div
    in div
    in ListPageWrapper_
    in div
    in Unknown
    in Connect(Component)
    in t
    in Connect(t)
    in div
    in t
    in FireMan
    in MultiListPage
    in Unknown
    in div
    in t
    in ListPage
    in S
    in component
    in e
    in e
    in div
    in k
    in StatusBox
    in div
    in div
    in t
    in div
    in Unknown
    in Connect(Component)
    in t
    in Connect(t)
    in A
    in e
    in e
    in div
    in div
    in section
    in h
    in main
    in div
    in p
    in t
    in e
    in e
    in o
~~~

Stack Trace:
~~~
TypeError: Cannot read property 'version' of undefined
    at E (https://console-openshift-console.apps.ocp4.jlee.rhcee.support/static/main-chunk-91d2e2911d575cc81f92.min.js:1:148267)
    at beginWork (https://console-openshift-console.apps.ocp4.jlee.rhcee.support/static/vendors~main-chunk-f8130edc1af37e48f7c7.min.js:107:50239)
    at o (https://console-openshift-console.apps.ocp4.jlee.rhcee.support/static/vendors~main-chunk-f8130edc1af37e48f7c7.min.js:107:54823)
    at a (https://console-openshift-console.apps.ocp4.jlee.rhcee.support/static/vendors~main-chunk-f8130edc1af37e48f7c7.min.js:107:55102)
    at C (https://console-openshift-console.apps.ocp4.jlee.rhcee.support/static/vendors~main-chunk-f8130edc1af37e48f7c7.min.js:107:58045)
    at _ (https://console-openshift-console.apps.ocp4.jlee.rhcee.support/static/vendors~main-chunk-f8130edc1af37e48f7c7.min.js:107:57588)
    at b (https://console-openshift-console.apps.ocp4.jlee.rhcee.support/static/vendors~main-chunk-f8130edc1af37e48f7c7.min.js:107:57425)
    at m (https://console-openshift-console.apps.ocp4.jlee.rhcee.support/static/vendors~main-chunk-f8130edc1af37e48f7c7.min.js:107:56804)
    at p (https://console-openshift-console.apps.ocp4.jlee.rhcee.support/static/vendors~main-chunk-f8130edc1af37e48f7c7.min.js:107:56266)
    at Object.enqueueSetState (https://console-openshift-console.apps.ocp4.jlee.rhcee.support/static/vendors~main-chunk-f8130edc1af37e48f7c7.min.js:107:45545)
~~~
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1../openshift-install-0.12.0  create cluster --log-level=debug --dir=aws
2.
3.

Actual results:
Error  (version of undefiend)

Expected results:
show version of cluster operators

Additional info:

Comment 1 jooho lee 2019-02-06 22:41:07 UTC
Looks, it is a timing issue. after 30 mins, the page show well.

Comment 2 Samuel Padgett 2019-02-07 00:05:33 UTC
https://github.com/openshift/console/pull/1175

Comment 3 shahan 2019-02-12 07:18:55 UTC
for ClusterOperator that has 'versions' stanza still show the 'Unknown' other than version.

Comment 4 shahan 2019-02-12 07:21:13 UTC
Created attachment 1533927 [details]
Unknown

Comment 5 Samuel Padgett 2019-02-18 14:05:40 UTC
That's expected since the ClusterOperator resources do not have a version specified. The console is working as intended.

Comment 6 shahan 2019-02-21 02:31:06 UTC
There is no runtime error when getting version for ClusterOperator.
Verified this bug
console commit: 9bfcbc6e2f9a08a90207661dac14b11a6e99d1b8
cluster payload: 4.0.0-0.nightly-2019-02-19-024716


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