Bug 1847971

Summary: A change in VM's boot order remove environment variable disks for VM yaml
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: Console Kubevirt PluginAssignee: Ido Rosenzwig <irosenzw>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: high Docs Contact:
Priority: high    
Version: 4.5CC: aos-bugs, gouyang, tjelinek, yzamir
Target Milestone: ---   
Target Release: 4.5.z   
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-07-22 12:20:41 UTC Type: ---
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: 1847480    
Bug Blocks:    

Description OpenShift BugZilla Robot 2020-06-17 13:15:05 UTC
+++ This bug was initially created as a clone of Bug #1847480 +++

Description of problem:
Changing the VM's boot order causes the environment variable disks to be removed from the VM yaml which causes the Environment tab not to load.


How reproducible:
100%

Steps to Reproduce:
1. Create a VM from the WEB-UI (using the YAML)
2. Navigate to the Environment tab of the VM
3. Add one or more sources
4. navigate to the details tab
5. change the boot order ( add NIC )
6. navigate back to the Environment tab

Actual results:
page doesn't load, exception is thrown

Expected results:
the page should load we the sources you added in section 3

Additional info:

Comment 1 Tomas Jelinek 2020-07-10 05:38:21 UTC
patch ready, just waiting for 4.5.z to open to be merged.

Comment 4 Guohua Ouyang 2020-07-20 06:56:04 UTC
verified on upstream 4.5 branch which has PR #5762 included, the issue is fixed.

Comment 6 errata-xmlrpc 2020-07-22 12:20:41 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/RHBA-2020:2956