Bug 1801297
| Summary: | windows-10 VM memory validation is too low (0.5GiB) as seen from osinfo-db | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Kedar Bidarkar <kbidarka> |
| Component: | SSP | Assignee: | Karel Šimon <ksimon> |
| Status: | CLOSED ERRATA | QA Contact: | Ruth Netser <rnetser> |
| Severity: | medium | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 2.2.0 | CC: | aburden, bgaydos, cnv-qe-bugs, fdeutsch, ipinto, pelauter, rnetser |
| Target Milestone: | --- | ||
| Target Release: | 2.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | kubevirt-ssp-operator-container-v2.3.0-19 | Doc Type: | If docs needed, set a value |
| Doc Text: |
Introduced new windows 10 common template
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-05-04 19:10:37 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: | |||
This is caused by fact, that windows template is taking data from win2k12r2 and minimum RAM memory for it is 0.5GiB. And because we have only one template for all windows versions, all windows versions have this value. Fabian, what should be next steps (divide windows template for each version, or keep it as it is)? I'd take this bug as the opportunity to create a dedicated/new template for windows 10 with all the relevant defaults. If all the other windows versions share the same defaults, then we can keep them in one template. This PR fixes it: https://github.com/kubevirt/common-templates/pull/128 win2k12r2 templates are now deprecated (https://github.com/kubevirt/common-templates/pull/125) There are new templates for Windows 10 (https://github.com/kubevirt/common-templates/pull/128) Verified: 1. Minimum required memory matches https://gitlab.com/libosinfo/osinfo-db/-/blob/master/data/os/microsoft.com/win-10.xml.in#L126 2. Requested memory resources > minimum required windows10-desktop-large-v0.7.0 validations: | [ { "name": "minimal-required-memory", "path": "jsonpath::.spec.domain.resources.requests.memory", "rule": "integer", "message": "This VM requires more memory.", "min": 2147483648 }, { "name": "windows-virtio-bus", requests: memory: 8Gi windows10-desktop-medium-v0.7.0 validations: | [ { "name": "minimal-required-memory", "path": "jsonpath::.spec.domain.resources.requests.memory", "rule": "integer", "message": "This VM requires more memory.", "min": 2147483648 }, { "name": "windows-virtio-bus", requests: memory: 4Gi Ruth, please QE Review the Release Note above and I'll include it in the build. Thanks Bob Reviewed and approved. 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/RHEA-2020:2011 |
Description of problem: windows-10 VM memory validation is too low (0.5GiB) as seen from osinfo-db Version-Release number of selected component (if applicable): CNV2.2 template.kubevirt.io/version: v0.8.2 name: rhel8-server-tiny-v0.7.0 How reproducible: Create a Windows 10 VM from the base templates Steps to Reproduce: 1. 2. 3. Actual results: windows-10 VM memory validation is too low (0.5GiB) as seen from osinfo win-10.xml file Expected results: The minimum value as per the win-10.xml file. <resources arch="x86_64"> <minimum> <cpu>1000000000</cpu> <n-cpus>1</n-cpus> <ram>2147483648</ram> <storage>21474836480</storage> </minimum> windows-10 VM memory validation needs to be 2GiB as seen from osinfo win-10.xml file Probably have a separate template for Windows10 operating system?? Additional info: