Bug 1847277

Summary: Console crash when creating EtcdRestore instance
Product: OpenShift Container Platform Reporter: Yadan Pei <yapei>
Component: Management ConsoleAssignee: Jon Jackson <jonjacks>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.5CC: aos-bugs, jhadvig, jokerman, jonjacks, xiaocwan, yapei
Target Milestone: ---   
Target Release: 4.5.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: On the create EtcdRestore form, the k8sResourceSelector for one of the fields was not being passed a k8s model. Consequence: A runtime error occurred when trying to access a property of a non-existent model. Fix: Add a check to ensure that the model is defined before accessing its properties, and only render the resulting k8s resource dropdown if the model exists. Result: No runtime error is encountered on the EtcdRestore creation page, and the k8s resource dropdown that was causing the problem is omitted from the form.
Story Points: ---
Clone Of: 1845815 Environment:
Last Closed: 2020-07-30 18:56:59 UTC Type: ---
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: 1845815    
Bug Blocks:    

Comment 1 Jon Jackson 2020-06-19 13:29:37 UTC
PR pending.

Comment 2 Jon Jackson 2020-07-02 19:29:48 UTC
https://github.com/openshift/console/pull/5751

Comment 5 XiaochuanWang 2020-07-24 06:03:46 UTC
This does not reproduced. Verified on 4.5.0-0.nightly-2020-07-23-201307

Comment 7 errata-xmlrpc 2020-07-30 18:56:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:3028