Created attachment 1633244 [details] VM YAML Description of problem: Creation of a VM with in-page VM Wizard fails due to the following error: admission webhook "mutatevirtualmachines.example.com" denied the request: v1.VirtualMachine.Spec: v1.VirtualMachineSpec.DataVolumeTemplates: []v1alpha1.DataVolume: v1alpha1.DataVolume.Spec: v1alpha1.DataVolumeSpec.PVC: v1.PersistentVolumeClaimSpec.AccessModes: []v1.PersistentVolumeAccessMode: decode slice: expect [ or n, but found ", error found in #10 byte of ...|ssModes":"ReadWriteM|..., bigger context ...|"testurl-rootdisk"},"spec":{"pvc":{"accessModes":"ReadWriteMany","resources":{"requests":{"storage":|... Version-Release number of selected component (if applicable): cluster with version 4.3.0-0.nightly-2019-10-29-140935 UI running locally from current openshift/console master branch How reproducible: 100% Steps to Reproduce: 1. Create a VM via VM Wizard, for exact config see the attached VM yaml 2. 3. Actual results: Expected results: Additional info:
How to fix: after redesign of the wizard, the DV/PVC accessModes is provided with just a single value instead of wrapping it into an array ("[]").
Verified 4.3.0-0.nightly-2019-11-21-122827
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, 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/RHBA-2020:0062