Bug 2100330 - Storage -> PVC -> upload data, does not support source reference
Summary: Storage -> PVC -> upload data, does not support source reference
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Console Kubevirt Plugin
Version: 4.10
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.10.z
Assignee: Gilad Lekner
QA Contact: Guohua Ouyang
Depends On: 2102302
Blocks: 2110256
TreeView+ depends on / blocked
Reported: 2022-06-23 05:46 UTC by Yaacov Zamir
Modified: 2022-07-25 00:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2110256 (view as bug list)
Last Closed: 2022-07-20 07:46:10 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift console pull 11774 0 None Merged Bug 2100330: disable upload for sourceRef templates 2022-10-27 08:13:11 UTC
Red Hat Product Errata RHBA-2022:5568 0 None None None 2022-07-20 07:46:27 UTC

Description Yaacov Zamir 2022-06-23 05:46:39 UTC
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"

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:

Comment 2 Dan Kenigsberg 2022-06-23 06:22:20 UTC
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.

Comment 5 Guohua Ouyang 2022-07-18 03:56:28 UTC
verified on 4.10.23, it disables the attach to os checkbox for templates

Comment 7 errata-xmlrpc 2022-07-20 07:46:10 UTC
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.


Comment 8 Guohua Ouyang 2022-07-22 11:57:55 UTC
Should we apply this to 4.11?

Comment 9 Yaacov Zamir 2022-07-24 07:57:22 UTC
(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)

Note You need to log in before you can comment on or make changes to this bug.