Bug 1815068
Summary: | Fail to create Windows VM from UI Wizard - cannot attach disk(s) | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Ruth Netser <rnetser> | ||||
Component: | Console Kubevirt Plugin | Assignee: | Tomas Jelinek <tjelinek> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Nelly Credi <ncredi> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 4.4 | CC: | aos-bugs, fkrepins, spadgett | ||||
Target Milestone: | --- | Keywords: | Regression | ||||
Target Release: | --- | ||||||
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: | 2020-03-23 06:37:26 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: | |||||||
Attachments: |
|
Description
Ruth Netser
2020-03-19 12:03:45 UTC
This seems to be a weird transpilation issue and it manifests itself as this bug. And cannot be reproduced locally (only in the builds in the test env): oc version Client Version: 4.4.0-0.nightly-2020-02-17-022408 Server Version: 4.4.0-rc.2 Kubernetes Version: v1.17.1 It fails in DiskBusValidationResult class in getErrorMsg method with an error RangeError: Invalid array length at array spread. The function tries to spread a Set to an array. This is a typescript feature which is turned on by "downlevelIteration": true in our tsconfig which transpiles it to es5. So there is nothing apparently wrong in the code/config and it indeed works fine when you build it locally. The weirdest part is, that in the env where it can be reproduced, this spread feature works in some places (e.g. rules.jsx) and in other places it doesn't. What was the exact process of the build and the versions used? Were there any tweaks to the config or the versions? This looks to be the same underlying cause as bug 1811886. Thank you Sam for the link! To avoid tracking the same issue on two places, marking as duplicate. *** This bug has been marked as a duplicate of bug 1811886 *** |