Bug 1847514 - Can't create a VM with memory higher than the max-allowed (hard validation)
Summary: Can't create a VM with memory higher than the max-allowed (hard validation)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.4.1.2
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ovirt-4.5.0
: 4.5.0
Assignee: Lucia Jelinkova
QA Contact: Qin Yuan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-16 14:21 UTC by Beni Pelled
Modified: 2022-04-20 06:33 UTC (History)
3 users (show)

Fixed In Version: ovirt-engine-4.5.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-04-20 06:33:59 UTC
oVirt Team: Virt
Embargoed:
pm-rhel: ovirt-4.5?


Attachments (Terms of Use)
max_memory (74.35 KB, image/png)
2020-06-16 14:21 UTC, Beni Pelled
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 116405 0 master MERGED webadmin: fix vm max memory validation 2021-09-14 17:24:51 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.