Bug 1673201

Summary: Cluster Operators UI shows error "version" of undefined
Product: OpenShift Container Platform Reporter: jooho lee <jlee>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED CURRENTRELEASE QA Contact: shahan <hasha>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.1.0CC: aos-bugs, jokerman, mmccomas, wsun
Target Milestone: ---   
Target Release: 4.1.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: 2019-02-27 18:09:35 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: 1664187    
Attachments:
Description Flags
Unknown none

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