Bug 2138657 - Setting DATA_SOURCE_* Template parameters makes VM creation fail
Summary: Setting DATA_SOURCE_* Template parameters makes VM creation fail
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 4.12.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.12.0
Assignee: Ugo Palatucci
QA Contact: Leon Kladnitsky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-30 18:04 UTC by Leon Kladnitsky
Modified: 2023-01-24 13:41 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-24 13:41:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
DATA_SOURCE_NAMESPACE is checked (1.63 MB, video/mp4)
2022-10-30 18:04 UTC, Leon Kladnitsky
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CNV-22124 0 None None None 2022-10-30 18:10:42 UTC
Red Hat Product Errata RHSA-2023:0408 0 None None None 2023-01-24 13:41:41 UTC

Description Leon Kladnitsky 2022-10-30 18:04:53 UTC
Created attachment 1921258 [details]
DATA_SOURCE_NAMESPACE is checked

Description of problem: If some of DATA_SOURCE_* parameters are set in Template, then creation flow stucks with error: "Error "DataSource val/_____ does not exist" for field "spec.dataVolumeTemplates[0]"."


Version-Release number of selected component (if applicable): KCP v4.12.0-149


How reproducible: always


Steps to Reproduce:
1. Clone a Template
2. In cloned Template set as required DATA_SOURCE_NAME or DATA_SOURCE_NAMESPACE or both and save
3. Start VM creation flow from clobed Template in Catalog
4. Click Customize VirtualMachine

Actual results: Error message appears


Expected results: Creation flow continues


Additional info:

Comment 3 Ugo Palatucci 2022-10-31 08:45:28 UTC
this pr will fix also this bug: https://github.com/kubevirt-ui/kubevirt-plugin/pull/920

Comment 4 Ugo Palatucci 2022-11-02 11:10:46 UTC
pr merged. Bug is not reproducible anymore :-)

Comment 5 Leon Kladnitsky 2022-11-12 07:37:23 UTC
Verified on v4.12.0.-163

Comment 9 errata-xmlrpc 2023-01-24 13:41:35 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 (Important: OpenShift Virtualization 4.12.0 Images security 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-2023:0408


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