Bug 1954486
| Summary: | Default cluster configuration for obsoleteCPUs and minCPU does not exist | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Ruth Netser <rnetser> |
| Component: | Installation | Assignee: | Nahshon Unna-Tsameret <nunnatsa> |
| Status: | CLOSED ERRATA | QA Contact: | ibesso <ibesso> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.8.0 | CC: | cnv-qe-bugs, ibesso, kmajcher, nunnatsa, stirabos |
| Target Milestone: | --- | ||
| Target Release: | 4.8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | hco-bundle-registry-container-v4.8.0-305 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-07-27 14:31:30 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
Ruth Netser
2021-04-28 08:58:05 UTC
The default values are pre-defined in KubeVirt and are not visible. https://github.com/kubevirt/hyperconverged-cluster-operator/pull/1288 mitigates this by populating the default list of obsolete CPU models in KV, and only allow adding new ones, but not removing them. Using a cluster deployed from scratch with 4.8.0: IIB: registry-proxy.engineering.redhat.com/rh-osbs/iib:76375 HCO:[v4.8.0-350] HCO CR does not have the obsoleteCPUs fields nor the minCPUModel scalar. KubeVirt CR has the obsoleteCPUModels list, but the minCPUModel scalar is missing. @nunnatsa ? HCO does not need to have anything in the CR, unless the administrator wants to add more CPUs to the obsoleteCPUs list, or to change the default minCPUModel. KV also uses default default for the minCPUModel field, so if its empty both in KV and HCO, that's fine. Please read the details here: https://github.com/kubevirt/hyperconverged-cluster-operator/blob/main/docs/cluster-configuration.md#cpu-plugin-configurations Verified with a cluster installed with CNV 2.6.2 and upgraded to CNV 4.8.0
-----------------------------------------------------------------
IIB: registry-proxy.engineering.redhat.com/rh-osbs/iib:76375
HCO:[v4.8.0-350]
HCO CR does not have any of those fields.
By default KubeVirt CR has obsoleteCPUModels by default (spec.configuration.obsoleteCPUModels):
"486": true
Conroe: true
athlon: true
core2duo: true
coreduo: true
kvm32: true
kvm64: true
n270: true
pentium: true
pentium2: true
pentium3: true
pentiumpro: true
phenom: true
qemu32: true
qemu64: true
Also, by default, KubeVirt CR does not have minCPUModel visibile.
Moving to VERIFIED.
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 (Moderate: OpenShift Virtualization 4.8.0 Images), 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/RHSA-2021:2920 |