Bug 1792101
Summary: | Incorrect memory loads from edited vm template | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Guohua Ouyang <gouyang> | |
Component: | Console Kubevirt Plugin | Assignee: | Tomas Jelinek <tjelinek> | |
Status: | CLOSED ERRATA | QA Contact: | Nelly Credi <ncredi> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 4.3.0 | CC: | aos-bugs, gouyang, rhrazdil | |
Target Milestone: | --- | |||
Target Release: | 4.4.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
Cause:
the VM templates used the memory values in MiB while the VM used it in GiB.
Consequence:
If the VM had e.g. 500MiB memory, the VM created from it was requesting 500GiB. This caused the VM to not to be scheduled.
Fix:
Unified the units. Now Gi is used everywhere.
Result:
The user can use the template to create a VM without adjusting the memory size.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1794009 (view as bug list) | Environment: | ||
Last Closed: | 2020-05-04 11:24:47 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: | 1794009 |
Description
Guohua Ouyang
2020-01-17 03:26:25 UTC
Indeed, when changing custom Memory in template using the flavor dialog, the unit used for memory is MB. But Wizard uses GB and takes the value without conversion Even worse, not only the template. The discrepancy is between new and edit flows. In new VM/template the unit used is GB and in the edit VM/template the unit is MB. And there is no translation between the two. Lets unify and use Gi on all the places. verified on 4.4.0-0.nightly-2020-02-17-022408 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 |