Bug 1800714
| Summary: | rhel8-tiny templates use 1Gi memory instead of 1.5Gi minimum seen in osinfo-db rhel-8 files | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Kedar Bidarkar <kbidarka> |
| Component: | SSP | Assignee: | Omer Yahud <oyahud> |
| Status: | CLOSED ERRATA | QA Contact: | Ruth Netser <rnetser> |
| Severity: | medium | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 2.2.0 | CC: | cnv-qe-bugs, fdeutsch, ipinto, ksimon, pelauter |
| 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: | 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: | |||
|
Description
Kedar Bidarkar
2020-02-07 19:01:29 UTC
Below is the output from both rhel8 templates and osinfo db files.
I believe even the Validation values need to be updated for rhel8-tiny templates.
[kbidarka@kbidarka-host redhat.com]$ cat rhel-8.1.xml | grep -A 12 "<resources arch=\"all\">"
<resources arch="all">
<minimum>
<n-cpus>1</n-cpus>
<cpu>1000000000</cpu>
<ram>1610612736</ram>
<storage>10737418240</storage>
</minimum>
<recommended>
<cpu>1000000000</cpu>
<ram>1610612736</ram>
<storage>21474836480</storage>
</recommended>
[kbidarka@kbidarka-host redhat.com]$ cat rhel-8.0.xml | grep -A 12 "<resources arch=\"all\">"
<resources arch="all">
<minimum>
<n-cpus>1</n-cpus>
<cpu>1000000000</cpu>
<ram>1610612736</ram>
<storage>10737418240</storage>
</minimum>
<recommended>
<cpu>1000000000</cpu>
<ram>1610612736</ram>
<storage>21474836480</storage>
</recommended>
[kbidarka@kbidarka-host redhat.com]$ cat rhel-8-unknown.xml | grep -A 12 "<resources arch=\"all\">"
<resources arch="all">
<minimum>
<n-cpus>1</n-cpus>
<cpu>1000000000</cpu>
<ram>1610612736</ram>
<storage>10737418240</storage>
</minimum>
<recommended>
<cpu>1000000000</cpu>
<ram>1610612736</ram>
<storage>21474836480</storage>
</recommended>
[kbidarka@kbidarka-host redhat.com]$ oc get templates -n openshift rhel8-server-tiny-v0.7.0 -o yaml | grep -A 9 validations
validations: |
[
{
"name": "minimal-required-memory",
"path": "jsonpath::.spec.domain.resources.requests.memory",
"rule": "integer",
"message": "This VM requires more memory.",
"min": 1073741824
}
]
[kbidarka@kbidarka-host redhat.com]$ oc get templates -n openshift rhel8-server-tiny-v0.7.0 -o yaml | grep -A 1 "requests:"
requests:
memory: 1Gi
[kbidarka@kbidarka-host redhat.com]$ oc get templates -n openshift rhel8-desktop-tiny-v0.7.0 -o yaml | grep -A 9 validations
validations: |
[
{
"name": "minimal-required-memory",
"path": "jsonpath::.spec.domain.resources.requests.memory",
"rule": "integer",
"message": "This VM requires more memory.",
"min": 1073741824
}
]
[kbidarka@kbidarka-host redhat.com]$ oc get templates -n openshift rhel8-desktop-tiny-v0.7.0 -o yaml | grep -A 1 "requests:"
requests:
memory: 1Gi
[kbidarka@kbidarka-host redhat.com]$ oc get templates -n openshift rhel8-highperformance-tiny-v0.7.0 -o yaml | grep -A 9 validations
validations: |
[
{
"name": "minimal-required-memory",
"path": "jsonpath::.spec.domain.resources.requests.memory",
"rule": "integer",
"message": "This VM requires more memory.",
"min": 1073741824
}
]
[kbidarka@kbidarka-host redhat.com]$ oc get templates -n openshift rhel8-highperformance-tiny-v0.7.0 -o yaml | grep -A 1 "requests:"
requests:
memory: 1Gi
Verified:
1. All RHEL8 tiny flavor templates now have memory: 1.5Gi memory:
$ oc get templates -n openshift rhel8-server-tiny-v0.7.0 -o yaml | grep -A 1 "requests:"
requests:
memory: 1.5Gi
$ oc get templates -n openshift rhel8-highperformance-tiny-v0.7.0 -o yaml | grep -A 1 "requests:"
requests:
memory: 1.5Gi
$ oc get templates -n openshift rhel8-desktop-tiny-v0.7.0 -o yaml | grep -A 1 "requests:"
requests:
memory: 1.5Gi
which match the validations minimum (1610612736)
2. Created a RHEL8 server tiny VM from the UI - VM is created and started successfully.
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 |