Description of problem: VM can be created without any disk Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. delete all disks while creating the vm 2. 3. Actual results: VM is created Expected results: It should at least popup warning "No available boot source" window. Additional info:
Now it shows an error while clicking "Review and create virtualmachine": Create VirtualMachine error Cannot read properties of undefined (reading 'metadata') BTW: should it show storage setting if there are no disks in the template?
Create vm from the template "vm-template-example" also see this problem. - "vm-template-example" is the tempalte created from yaml
verified on v4.11.0-64
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 (Important: OpenShift Virtualization 4.11.0 Images security and bug fix 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-2022:6526