Bug 1776190
| Summary: | Selecting VM template in VM creation wizard closes the wizard window | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | vsibirsk | ||||||
| Component: | Console Kubevirt Plugin | Assignee: | Filip Krepinsky <fkrepins> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Radim Hrazdil <rhrazdil> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 4.2.0 | CC: | aos-bugs, fkrepins, rhrazdil | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | 4.4.0 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: |
Cause:
Selecting a template without annotations was crashing the VM wizard
Fix:
NPE fixed, wizard no longer crashes
|
Story Points: | --- | ||||||
| Clone Of: | |||||||||
| : | 1776812 (view as bug list) | Environment: | |||||||
| Last Closed: | 2020-05-04 11:16: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: | 1776812 | ||||||||
| Attachments: |
|
||||||||
Created attachment 1639747 [details]
windowstemplate
I've managed to reproduce it with the attached template. But did not manage to reproduce it by manipulating the interfaces. Can you please attach your full template yaml to make sure it is the same issue? Created attachment 1639772 [details]
example-template
Attached.
Modified part (lines 48-50):
interfaces:
- masquerade: {}
name: default
Unable to verify using the reprofuction steps given in the description.
I created VM Template using the default YAML and added
```
interfaces:
- masquerade: {}
name: default
```
Then, when I select this template in VM Wizard, the wizard doesn't close, however, Source, OS and Workload Profile are not selected so it's not possible to proceed.
Filip, could you take a look?
Moving to Verified after discussing issue described in the previous comment over private channel. 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:0581 |
Description of problem: Selecting default VM template with modified yaml (added network adapter) instantly closes the wizard window. Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1.Create default VM template 2.Edit template yaml to add network adapter & save: interfaces: - masquerade: {} name: default 3.Create VM via wizard and select template from step 1. Actual results: Wizard windows instantly closed without any message/error. Expected results: Additional info: