Description of problem: when I try to create a VM from the UI on OKD 4.7 I'm constantly getting: "the API version in the data (kubevirt/v1) does not match the expected API version (kubevirt/v1alpha3)" if I copy the vm definition yaml generated by the UI and I try creating it from CLI it works as expected. See the attached screenshots. Version-Release number of selected component (if applicable): upstream kubevirt-hyperconverged 1.3.0, 1.4.0, 1.5.0 on OKD 4.7 (4.7.0-0.okd-2021-05-22-050008) How reproducible: 100% Steps to Reproduce: 1. try to create a VM from the UI 2. 3. Actual results: the API version in the data (kubevirt/v1) does not match the expected API version (kubevirt/v1alpha3) Expected results: I'm able to create a VM Additional info: If I save the VM definition created by the UI in a text file and then try to create (on the same cluster!) the vm with `oc create -f vm.yaml` it works as expected.
Created attachment 1788953 [details] UI error 1
Created attachment 1788954 [details] UI error 2
Created attachment 1788955 [details] vm.yaml
blocker -, this bug will be solved by the release of a new version.
This is solved on 4.8 https://bugzilla.redhat.com/show_bug.cgi?id=1958811 on 4.7 we left it v1alpha3 on purpose to work with kubevirt 4.6 @tnisan does kubevirt-ui-4.8 need to work with kubevirt-2.6 ? Note: we currently hardcore the CRD API instead of dynamically getting it ...
verified on master
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 Container Platform 4.9.0 bug fix and security update), 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:3759
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days