Bug 2078375 - When using the wizard with template using data source the resulting vm use pvc source [NEEDINFO]
Summary: When using the wizard with template using data source the resulting vm use pv...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Console Kubevirt Plugin
Version: 4.10
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ---
: 4.11.0
Assignee: Matan Schatzman
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks: 2084489
TreeView+ depends on / blocked
 
Reported: 2022-04-25 06:55 UTC by Yaacov Zamir
Modified: 2022-08-10 11:08 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2084489 (view as bug list)
Environment:
Last Closed: 2022-08-10 11:08:16 UTC
Target Upstream Version:
yzamir: needinfo? (tnisan)
yzamir: needinfo? (mschatzm)
yzamir: needinfo? (tnisan)
mschatzm: needinfo? (tnisan)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 11457 0 None open Bug 2078375: Create VM from template that has sourceRef - will now reflect sourceRed at yaml 2022-05-09 11:44:16 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:08:32 UTC

Description Yaacov Zamir 2022-04-25 06:55:34 UTC
Description of problem:
When using the wizard with template using data source the resulting vm use pvc source

Version-Release number of selected component (if applicable): 4.10


How reproducible:


Steps to Reproduce:
1. Use the wizard to create a virtual machine
2. Choose a template the uses datasource (for example rhel8)
3. create a VM without customizing the disks.

Actual results:
A vm is created with main disk source pointing to a pvc with name and namespaces matching the datasource from the template

Expected results:
A vm is created with main disk source pointing to a datasource with name and namespaces matching the datasource from the template

Additional info:

Comment 1 Yaacov Zamir 2022-04-25 06:58:24 UTC
Opening on 4.11, we will need to backport to 4.10 after a fix is verified on static plugin for 4.11

cc:// @tnisan @agilboa

Comment 2 Yaacov Zamir 2022-04-25 07:08:53 UTC
blocker -, this is a bug for 4.10.z, it does not appear in the dynamic plugin for 4.11

Comment 3 Arnon Gilboa 2022-04-27 09:42:44 UTC
Yaacov, any reason for needinfo on me?

Comment 4 Yaacov Zamir 2022-04-27 12:57:11 UTC
no just cc' ing you and Tal

Comment 5 Dan Kenigsberg 2022-05-03 07:49:53 UTC
Raising severity. I believe that this bug practically debilitates CNV 4.10 crown-jewel feature (ever-updated boot source for new VMs).

Comment 6 Adam Litke 2022-05-03 11:32:30 UTC
Yaacov Zamir, if this bug is for 4.10.z (and does not reproduce in 4.11) why is the bug targeted to 4.11.  We would like this fixed in 4.10.z ASAP.

Comment 7 Yaacov Zamir 2022-05-03 19:00:26 UTC
> Yaacov Zamir, if this bug is for 4.10.z (and does not reproduce in 4.11) why is the bug targeted to 4.11.  We would like this fixed in 4.10.z ASAP.

Hi, this is an 4.10.z issue, the bug is for 4.11 is because of OCP CI process, we need to first have a fix for 4.11. otherwise a fix will not get merged to the 4.10 branch.

The process in OCP is that we have to first fix in 4.11, verify the fix on 4.11 and then backport to 4.10,

Git automation will not allow to merge a fix to the 4.10 branch without a verified bug on 4.11,
AFKU this process will not slow down the fix because in most cases backpacking is automated (sometimes automated backporting is no possible due to conflicts, but usually automation just works)

Comment 11 Yaacov Zamir 2022-05-12 05:50:30 UTC
Matan hi,
This is a 4.10 bug, automatic back porting failed [1], please back port manually.
I can help with the Bugzilla cloning if necessary.

cc:// Tal

[1] https://github.com/openshift/console/pull/11457#issuecomment-1124553856

Comment 12 Guohua Ouyang 2022-05-12 08:01:32 UTC
verified on 4.11 master

Comment 13 Matan Schatzman 2022-05-12 11:18:47 UTC
(In reply to Yaacov Zamir from comment #11)
> Matan hi,
> This is a 4.10 bug, automatic back porting failed [1], please back port
> manually.
> I can help with the Bugzilla cloning if necessary.
> 
> cc:// Tal
> 
> [1] https://github.com/openshift/console/pull/11457#issuecomment-1124553856

Create a manual PR for 4.10 branch.
Updated in the bug https://bugzilla.redhat.com/show_bug.cgi?id=2084489 

https://github.com/openshift/console/pull/11485

@yzamir @tnisan @gouyang

Comment 15 errata-xmlrpc 2022-08-10 11:08:16 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 Container Platform 4.11.0 bug fix and 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-2022:5069


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