Bug 2094074 - UI requires template type to be base to use DataSource
Summary: UI requires template type to be base to use DataSource
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: Ugo Palatucci
QA Contact: Guohua Ouyang
Depends On: 2102302
TreeView+ depends on / blocked
Reported: 2022-06-06 18:26 UTC by joherr
Modified: 2023-09-18 04:38 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2022-10-18 21:14:01 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift console pull 12092 0 None open [release-4.10] Bug 2094074: Remove error on user template with DS 2022-09-26 12:21:24 UTC
Red Hat Product Errata RHBA-2022:6901 0 None None None 2022-10-18 21:14:03 UTC

Description joherr 2022-06-06 18:26:19 UTC
Description of problem:
Creating a template with a template.kubevirt.io/type set to anything other than base will cause the UI to show an error of a boot source issue.

I can still create a VM from the template using the CLI.

Version-Release number of selected component (if applicable):
OpenShift Virtualization 4.10.1

How reproducible:

Steps to Reproduce:
1. Create template from yaml that uses a datasource for the vms disk
2. set template.kubevirt.io/type to vm
3. look in UI for the template under virtualization to see the error.

Actual results:
see a boot source error

Expected results:
see no error and can create VMs using UI.

Additional info:
I had set my provider to "Me". here is what I see when changing the provider and type to various things.

Setting type to 'base' and the UI does not complain about a Boot source. But it states the provider is Red Hat and the Boot Source is Red Hat.

Setting type to any value other than 'base' and the UI displays a 'Boot source error'.

Comment 1 Adam Litke 2022-08-09 16:46:40 UTC
Could we get this bug targeted please?

Comment 2 Yaacov Zamir 2022-08-09 16:53:14 UTC
adding @tnisan

Comment 6 Guohua Ouyang 2022-10-10 11:59:34 UTC
verified on 4.10.0-0.nightly-2022-10-08-142935
1. copy yaml of template rhel8-server-small
2. create template with the yaml, change ns to other namespace
3. set template.kubevirt.io/type to vm
4. review the new template, no problem found

Comment 9 errata-xmlrpc 2022-10-18 21:14:01 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.37 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 10 Red Hat Bugzilla 2023-09-18 04:38:34 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days

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