Description of problem: Common templats - VirtualMachine api version should be updated to kubevirt.io/v1 Currently the templates are shipped with kubevirt.io/v1alpha3, but in 4.8.0, VMs are created with kubevirt.io/v1 Version-Release number of selected component (if applicable): CNV 4.8.0 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
There should be no issue, because the old apiversion will be supported for a while. Do you see any functional impacts? If there is not, is it fair to lower severity?
I prefer to wait for bug 1936926 fix and verify we're OK with new and old apiversion
(In reply to Ruth Netser from comment #2) > I prefer to wait for bug 1936926 fix and verify we're OK with new and old > apiversion Will await resolution of bug 1936926
Creating a VM using the CLI works using either version in the manifest, v1 or v1alpha3. The console however is using the v1alpha3 API with a v1 VM manifest, which fails. POST https://console.example/api/kubernetes/apis/kubevirt.io/v1alpha3/namespaces/default/virtualmachines { "kind": "Status", "apiVersion": "v1", "metadata": { }, "status": "Failure", "message": "the API version in the data (kubevirt.io/v1) does not match the expected API version (kubevirt.io/v1alpha3)", "reason": "BadRequest", "code": 400 } # Openshift cluster 4.8.0-fc.2 # HCO Operator registry.redhat.io/container-native-virtualization/hyperconverged-cluster-operator@sha256:508529059070b9fc4cb701416f7911e6954b15424af7e68ff161e93fda805dd3 hyperconverged-cluster-operator-container-v4.8.0-51 # SSP Operator registry.redhat.io/container-native-virtualization/kubevirt-ssp-operator@sha256:572b2ed7d34667520874e99402863f3011cd6f13452600451e715a4230c1f9b1 kubevirt-ssp-operator-container-v4.8.0-33
Scope of this bug is to ensure that all templates are using the kubevirt.io/v1 api. If the UI is setting a different version, the this is a UI bug.
I have verified all templates have been updated to use v1. I will open a new bug for UI.
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