Bug 2172371

Summary: "Restore template settings" change the memory to zero if the VM has no template
Product: Container Native Virtualization (CNV) Reporter: Guohua Ouyang <gouyang>
Component: User ExperienceAssignee: Hilda Stastna <hstastna>
Status: CLOSED ERRATA QA Contact: Shijie Xue <sxue>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.13.0CC: gouyang, rsdeor, ycui
Target Milestone: ---   
Target Release: 4.13.0   
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: 2023-05-18 02:57:49 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 Guohua Ouyang 2023-02-22 06:54:01 UTC
Description of problem:
Create VM from yaml and then edit the CPU/Memory, click "Restore template settings" change the memory to 0.

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


How reproducible:


Steps to Reproduce:
1. Create VM from yaml
2. edit the CPU/Memory
3. click "Restore template settings"

Actual results:


Expected results:


Additional info:

Comment 1 Ronen 2023-02-22 07:40:24 UTC
If the VM doesn't have a template the "Restore template settings" should be disabled / hidden

Comment 3 errata-xmlrpc 2023-05-18 02:57:49 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 (Moderate: OpenShift Virtualization 4.13.0 Images security, bug fix, and enhancement update), 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/RHSA-2023:3205