Bug 1848418
Summary: | Affinity modal closes when user attempts to edit existing rule with [Exists, DoesNotExist] operator | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Radim Hrazdil <rhrazdil> | ||||
Component: | Console Kubevirt Plugin | Assignee: | Gilad Lekner <glekner> | ||||
Status: | CLOSED ERRATA | QA Contact: | Guohua Ouyang <gouyang> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 4.5 | CC: | aos-bugs, gouyang | ||||
Target Milestone: | --- | ||||||
Target Release: | 4.6.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1848425 (view as bug list) | Environment: | |||||
Last Closed: | 2020-10-27 16:08:03 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: | 1848425, 1852392 | ||||||
Attachments: |
|
I'm getting An error occurred Error "spec.template.spec.affinity in body must be of type object: "null"" for field "undefined". on attempt to delete an affinity rule *** Bug 1849932 has been marked as a duplicate of this bug. *** verified on upstream 4.6 branch 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 (OpenShift Container Platform 4.6 GA Images), 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:4196 |
Created attachment 1697940 [details] screenshot Description of problem: When an affinity rule is added with Exists or DoesNotExist operators, the affinity modal closes when user tries to edit such rule. Error in terminal: Uncaught error Uncaught TypeError: Cannot read property 'map' of undefined Version-Release number of selected component (if applicable): console/release-4.5 and console/master OCP 4.4.5 CNV 2.3 How reproducible: 100% Steps to Reproduce: 1. Add affinity rule with node selector 'test' and operator DoesNotExist 2. Save, Save 3. Open Affinity modal dialog and try to edit the affinity rule Actual results: Affinity modal is closed Expected results: Additional info: