Bug #26658
closed[Kubevirt-Foreman] multiple PVCs can be selected with bootable option even when containerDisk was selected
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1697298
Description of problem:
When creating a host with containerDisk Image, able to select Multiple PVC with option of `Bootable`. After selecting multiple disks with this, submitting request shows a error that the host already exists.
Version-Release number of selected component (if applicable):
plugin master
How reproducible:
Steps to Reproduce:
1.Select multiple PVCs with Bootable option
2.
3.
Actual results:
First, multiple PVCs can be selected as bootable when none should be able to selected when provisioning with containerDisk
Second, the error shown when submitting this request is wrong exception
Expected results:
Should not let you select bootable pvc with containerDisk, and not multiple PVCs as bootable in general
Also, should throw proper error
Additional info: