Description of problem: It turned out (https://github.com/kubevirt/kubevirt/pull/4261) that in vm.Spec.DataVolumeTemplate the group and kind are redundant. For backward compatibility, dummy values of them have been added back (https://bugzilla.redhat.com/show_bug.cgi?id=1885196). But we should not use them long term, hence, we need to remove the use of them from the UI code.
Note: in virtualmachinespec [1] the dataVolumeTemplates should be an array of datavolumetemplatespec [2] and not V1alpha1DataVolume https://github.com/openshift/console/blob/master/frontend/packages/kubevirt-plugin/src/types/vm/index.ts#L47 [1] https://kubevirt.io/api-reference/master/definitions.html#_v1_virtualmachinespec [2] https://kubevirt.io/api-reference/master/definitions.html#_v1_datavolumetemplatespec
Now looks like: spec: dataVolumeTemplates: - metadata: creationTimestamp: null name: url-rootdisk-19oev spec: pvc: accessModes: - ReadWriteOnce resources: requests: storage: 15Gi storageClassName: standard volumeMode: Filesystem source: http: url: >- https://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img
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.7.0 security, bug fix, and enhancement 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-2020:5633