Bug 2184440
Summary: | [cnv-4.12] Need tunable featureGate to configure DisableMDEVConfiguration via HCO CR | ||
---|---|---|---|
Product: | Container Native Virtualization (CNV) | Reporter: | Kedar Bidarkar <kbidarka> |
Component: | Installation | Assignee: | Simone Tiraboschi <stirabos> |
Status: | CLOSED ERRATA | QA Contact: | Debarati Basu-Nag <dbasunag> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.12.0 | CC: | dbasunag, kmajcher, nunnatsa, stirabos |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | 4.12.4 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | CNV-v4.12.4-47 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-06-27 19:10:40 UTC | Type: | --- |
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: | 2184435 | ||
Bug Blocks: |
Description
Kedar Bidarkar
2023-04-04 17:08:29 UTC
This is not a bug fix but an RFE for the next release, please justify the business case otherwise let's defer to the next release. Re-opening this bug, after discussing with Installation Team. Note: The KubeVirt backport work for 4.12.z will be done as part of, https://bugzilla.redhat.com/show_bug.cgi?id=2184435 Moving this to 4.12.4 due to capacity. Kedar, please react if this is an issue. https://github.com/kubevirt/kubevirt/pull/9690 landed on the upstream release-0.58 but we still lack a tagged upstream v0.58.1 release exposing it. Do we have an ETA? v0.58.2, sorry Verified against 4.12.4-50,
==========================
[cloud-user@ocp-ipi-executor-xl ~]$ oc get hco kubevirt-hyperconverged -n openshift-cnv -o json | jq ".status.versions
> "
[
{
"name": "operator",
"version": "4.12.4"
}
]
[cloud-user@ocp-ipi-executor-xl ~]$ oc get hco kubevirt-hyperconverged -n openshift-cnv -o json | jq ".spec"
{
"certConfig": {
"ca": {
"duration": "48h0m0s",
"renewBefore": "24h0m0s"
},
"server": {
"duration": "24h0m0s",
"renewBefore": "12h0m0s"
}
},
"featureGates": {
"deployTektonTaskResources": false,
"disableMDevConfiguration": false,
"enableCommonBootImageImport": true,
"nonRoot": true,
"withHostPassthroughCPU": false
},
"infra": {},
"liveMigrationConfig": {
"completionTimeoutPerGiB": 800,
"parallelMigrationsPerCluster": 5,
"parallelOutboundMigrationsPerNode": 2,
"progressTimeout": 150
},
"uninstallStrategy": "BlockUninstallIfWorkloadsExist",
"workloadUpdateStrategy": {
"batchEvictionInterval": "1m0s",
"batchEvictionSize": 10,
"workloadUpdateMethods": [
"LiveMigrate"
]
},
"workloads": {}
}
[cloud-user@ocp-ipi-executor-xl ~]$
[cloud-user@ocp-ipi-executor-xl ~]$ oc get kubevirt kubevirt-kubevirt-hyperconverged -n openshift-cnv -o json | jq ".spec.configuration.developerConfiguration"
{
"diskVerification": {
"memoryLimit": "2G"
},
"featureGates": [
"DataVolumes",
"SRIOV",
"CPUManager",
"CPUNodeDiscovery",
"Snapshot",
"HotplugVolumes",
"ExpandDisks",
"GPU",
"HostDevices",
"DownwardMetrics",
"NUMA",
"VMExport",
"WithHostModelCPU",
"HypervStrictCheck",
"NonRoot"
]
}
[cloud-user@ocp-ipi-executor-xl ~]$
On setting it to true, value got propagated to Kubevirt
===================
[cloud-user@ocp-ipi-executor-xl ~]$ oc get hco kubevirt-hyperconverged -n openshift-cnv -o json | jq ".spec"
{
"certConfig": {
"ca": {
"duration": "48h0m0s",
"renewBefore": "24h0m0s"
},
"server": {
"duration": "24h0m0s",
"renewBefore": "12h0m0s"
}
},
"featureGates": {
"deployTektonTaskResources": false,
"disableMDevConfiguration": true,
"enableCommonBootImageImport": true,
"nonRoot": true,
"withHostPassthroughCPU": false
},
[cloud-user@ocp-ipi-executor-xl ~]$ oc get kubevirt kubevirt-kubevirt-hyperconverged -n openshift-cnv -o json | jq ".spec"
{
"certificateRotateStrategy": {
"selfSigned": {
"ca": {
"duration": "48h0m0s",
"renewBefore": "24h0m0s"
},
"server": {
"duration": "24h0m0s",
"renewBefore": "12h0m0s"
}
}
},
"configuration": {
"developerConfiguration": {
"diskVerification": {
"memoryLimit": "2G"
},
"featureGates": [
"DataVolumes",
"SRIOV",
"CPUManager",
"CPUNodeDiscovery",
"Snapshot",
"HotplugVolumes",
"ExpandDisks",
"GPU",
"HostDevices",
"DownwardMetrics",
"NUMA",
"VMExport",
"WithHostModelCPU",
"HypervStrictCheck",
"NonRoot",
"DisableMDEVConfiguration"
]
},
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 (OpenShift Virtualization 4.12.4 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/RHEA-2023:3889 |