Bug 1824029
| Summary: | click "Machine Config Pools" after mcp creation making page crash | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | shahan <hasha> | |
| Component: | Management Console | Assignee: | Jakub Hadvig <jhadvig> | |
| Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 4.5 | CC: | aos-bugs, jhadvig, jokerman | |
| Target Milestone: | --- | |||
| Target Release: | 4.5.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: |
Cause: When creating a fresh MCP and immediately redirecting to the MCP list page, the created MCP is missing the status field.
Consequence: Console errors out
Fix: Default to Unknown for the condition columns when the status is missing.
Result: When creating a fresh MCP and immediately redirecting to the MCP list page console will not error out, but display Unknown condition for the new MCP.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1824049 1825722 (view as bug list) | Environment: | ||
| Last Closed: | 2020-07-13 17:27:56 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: | 1824049 | |||
There is no this kind issue as the steps description 4.5.0-0.nightly-2020-04-18-184707 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:2409 |
Description of problem: click "Machine Config Pools" after mcp creation making page crash Version-Release number of selected component (if applicable): 4.5.0-0.nightly-2020-04-14-194131 How reproducible: Always Steps to Reproduce: 1. goto k8s/cluster/machineconfiguration.openshift.io~v1~MachineConfigPool/~new, create MachineConfigPool by console default yaml 2. After clicking ‘Create’ button then click 'Compute->Machine Config Pool' at the left navigate item 3. Actual results: 2. Then got the error: Oh no! Something went wrong. TypeError Description: Cannot destructure property 'conditions' of 'e.status' as it is undefined. Component Trace: in x in d in B in div in div in t in t in o in div in V in div in Data in StatusBox in div in a in w in w in div in div in div in ListPageWrapper_ in Unknown in Unknown in w in x in w in div in w in w in w in MultiListPage in Unknown in o in ListPage in P in c in div in Unknown in Unknown in w in w in t in t in div in div in section in d in Unknown in w in w in div in f in div in f in NotificationDrawer in Unknown in w in Unknown in Unknown in w in x in w in main in div in y in component in t in t in t Stack Trace: TypeError: Cannot destructure property 'conditions' of 'e.status' as it is undefined. at N (https://console-openshift-console.apps.qe-groupd-0415.qe.devcluster.openshift.com/static/machine-config-pool-chunk-66f84e004848a67a6e2f.min.js:1:3863) at x (https://console-openshift-console.apps.qe-groupd-0415.qe.devcluster.openshift.com/static/machine-config-pool-chunk-66f84e004848a67a6e2f.min.js:1:8912) at rowRenderer (https://console-openshift-console.apps.qe-groupd-0415.qe.devcluster.openshift.com/static/main-chunk-4fae3b97a9097206fa9d.min.js:1:835723) at https://console-openshift-console.apps.qe-groupd-0415.qe.devcluster.openshift.com/static/vendors~main-chunk-2ed1b3961c78f3f83aa0.min.js:184:41032 at r (https://console-openshift-console.apps.qe-groupd-0415.qe.devcluster.openshift.com/static/vendors~main-chunk-2ed1b3961c78f3f83aa0.min.js:132:74139) at x._calculateChildrenToRender (https://console-openshift-console.apps.qe-groupd-0415.qe.devcluster.openshift.com/static/vendors~main-chunk-2ed1b3961c78f3f83aa0.min.js:132:64231) at x.render (https://console-openshift-console.apps.qe-groupd-0415.qe.devcluster.openshift.com/static/vendors~main-chunk-2ed1b3961c78f3f83aa0.min.js:132:61524) at va (https://console-openshift-console.apps.qe-groupd-0415.qe.devcluster.openshift.com/static/vendors~main-chunk-2ed1b3961c78f3f83aa0.min.js:155:65523) at ma (https://console-openshift-console.apps.qe-groupd-0415.qe.devcluster.openshift.com/static/vendors~main-chunk-2ed1b3961c78f3f83aa0.min.js:155:65318) at Ks (https://console-openshift-console.apps.qe-groupd-0415.qe.devcluster.openshift.com/static/vendors~main-chunk-2ed1b3961c78f3f83aa0.min.js:155:99601) Expected results: Additional info: