Created attachment 1717491 [details] Failing VM Description of problem: Validation rules fail when trying to create a VM from the attached YAML: * .spec.domain.devices.disks[*].disk.bus: disk bus has to be either virtio or sata: Some of [, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ] are not in [virtio, sata] Version-Release number of selected component (if applicable): common-templates v0.12.1 kubevirt-template-validator v0.7.0
The PR has been merged. There is another problem related to this bug, but it is not urgent. I will open a new bug for it.
Verify with: hyperconverged-cluster-operator-container-v2.5.0-43 Tested the following: Case 1: Array - disk: bus: [s,] Output: #oc process -f ~/cnv_yamls/fedora_test.yaml | oc create -f - The "" is invalid: : spec.template.spec.domain.devices.disks.disk.bus in body must be of type string: "array" Case 2: Null - disk: bus: Output: #oc process -f ~/cnv_yamls/fedora_test.yaml | oc create -f - The "" is invalid: : spec.template.spec.domain.devices.disks.disk.bus in body must be of type string: "null"
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 2.5.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/RHEA-2020:5127