Description of problem: Data upload form in storage -> PVC -> Data upload form, does not support source Ref. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. storage -> PVC -> Data upload 2. click "Attach this data to a Virtual Machine operating system" 3. Actual results: If the template using sourceRef ( and the source reference name is not identical to the PVC name ), the vm will use the sourceRef and not the uploaded data source. Expected results: a - do not allow to upload to specific template/s, ( use a different UI to manage sourceRef and importCron ) b - allow to upload to specific template/s, and make sure it works with sourceRef and importCron Additional info:
I believe that the severity of this is higher, because it makes it impossible to use the RHEL8 template with anything but the default boot source. If prepare my own RHEL8 disk image and want to define a VM based on it, I have to define a VM with the default boot source, got to its Disks tab, delete the bootdisk, and add a new disk with my image. That's a clunky workaround that took me two weeks to figure out. Besides, iiuc, this is a 4.10 regression.
verified on 4.10.23, it disables the attach to os checkbox for templates
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 Container Platform 4.10.23 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/RHBA-2022:5568
Should we apply this to 4.11?
(In reply to Guohua Ouyang from comment #8) > Should we apply this to 4.11? yes, makes sense to me to implement on console 4.11 too (AFAIK this code was not ported to the new kubevirt plugin)