Bug 1703349

Summary: Node detail page crashes when nodemaintenance_crd is missing
Product: Container Native Virtualization (CNV) Reporter: Radim Hrazdil <rhrazdil>
Component: User ExperienceAssignee: Rastislav Wagner <rawagner>
Status: CLOSED ERRATA QA Contact: Radim Hrazdil <rhrazdil>
Severity: high Docs Contact:
Priority: high    
Version: 2.0CC: cnv-qe-bugs, mgoldboi, ncredi, tjelinek
Target Milestone: ---   
Target Release: 2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: v2.0.0-14.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-24 20:15:51 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:

Description Radim Hrazdil 2019-04-26 07:58:41 UTC
Description of problem:
Web-ui crashes when user navigates to a node detail page on when NodeMaintenance CRD is not created.

Error:
TypeError
Description: Cannot read property 'data' of undefined


Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. Navigate to a node detail page
2.
3.

Actual results:


Expected results:
Node detail page is displayed

Additional info:

Comment 1 Rastislav Wagner 2019-04-30 11:05:46 UTC
https://github.com/kubevirt/web-ui/pull/347

Comment 2 Radim Hrazdil 2019-05-16 11:58:10 UTC
Verified that when NodeMaintenance CRD doesn't exist, the 'Start Maintenance' is not provided in Node action dropdown and page doesn't crash.
Version 2.0.0-14.3

Comment 4 errata-xmlrpc 2019-07-24 20:15:51 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/RHEA-2019:1850