Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1847514

Summary: Can't create a VM with memory higher than the max-allowed (hard validation)
Product: [oVirt] ovirt-engine Reporter: Beni Pelled <bpelled>
Component: Frontend.WebAdminAssignee: Lucia Jelinkova <ljelinko>
Status: CLOSED CURRENTRELEASE QA Contact: Qin Yuan <qiyuan>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.4.1.2CC: ahadas, bugs, mavital
Target Milestone: ovirt-4.5.0Flags: pm-rhel: ovirt-4.5?
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.5.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-20 06:33:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
max_memory none

Description Beni Pelled 2020-06-16 14:21:55 UTC
Created attachment 1697633 [details]
max_memory

Description of problem:
A VM with higher memory than the max-allowed cannot be created

Version-Release number of selected component (if applicable):
- ovirt-engine-4.4.1.2-0.10.el8ev.noarch
- ovirt-engine-ui-extensions-1.2.0-1.el8ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. Create a VM with 7TB RAM (assuming the max-allowed is 6TB)

Actual results:
A red frame indicates that there is a problem with the memory value but there is no tooltip and the VM cannot be created (screenshot attached)

Expected results:
The VM is supposed to be created (but can't be run) or tooltip should be added

Comment 1 Arik 2020-06-22 14:55:53 UTC
adding a tooltip to explain that it exceeds the config value

Comment 3 Qin Yuan 2022-04-18 05:59:10 UTC
Verified with:
ovirt-engine-4.5.0.2-0.7.el8ev.noarch

Steps:
Create a VM with 64TB memory size

Results:
1. The Maximum memory is set to 16777216 MB(it's 16TB)
2. When click OK, there is a red frame on the Maximum memory value
3. When move the mouse onto the red frame, it shows "Maximum Memory has to be larger than or equal to Memory Size"

Comment 4 Sandro Bonazzola 2022-04-20 06:33:59 UTC
This bugzilla is included in oVirt 4.5.0 release, published on April 20th 2022.

Since the problem described in this bug report should be resolved in oVirt 4.5.0 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.