Bug 2072790

Summary: "Create VM" button does not select the associated template in custom namespace
Product: OpenShift Container Platform Reporter: Guohua Ouyang <gouyang>
Component: Console Kubevirt PluginAssignee: Ugo Palatucci <upalatuc>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.10CC: aos-bugs, gouyang, upalatuc
Target Milestone: ---   
Target Release: 4.10.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-10-25 18:03:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2102302    
Bug Blocks:    
Attachments:
Description Flags
"create vm" did not open boot source page none

Description Guohua Ouyang 2022-04-07 01:05:50 UTC
Created attachment 1871177 [details]
"create vm" did not open boot source page

Description of problem:
"Create VM" button does not select the associated template.

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


How reproducible:


Steps to Reproduce:
1. deploy template to custom namespace 
2. delete template from 'openshift' namespace
3. in custom ns, click "Create VM" button 

Actual results:
it opens template selection page

Expected results:
it opens boot source page

Additional info:

Comment 3 Guohua Ouyang 2022-10-10 11:23:47 UTC
verified on 4.10.0-0.nightly-2022-10-08-142935

Comment 4 Guohua Ouyang 2022-10-12 07:19:26 UTC
It causes a regression, in a fresh deployed cluster which has the templates in 'openshift' namespace, click the "Create VM" button hit the issue.

Comment 7 Guohua Ouyang 2022-10-17 12:06:01 UTC
I upgraded the OCP version to 4.10.0-0.nightly-2022-10-12-184111 via 'oc adm' command, there is another regression problem appears again.
After change the commonTemplatesNamespace to other namespace like 'default', the boot source is not associated with template in 'default' namespace. 

I'm deploying a fresh cluster with this OCP version to double check this issue.

Comment 9 Guohua Ouyang 2022-10-20 12:14:00 UTC
(In reply to Guohua Ouyang from comment #7)
> I upgraded the OCP version to 4.10.0-0.nightly-2022-10-12-184111 via 'oc
> adm' command, there is another regression problem appears again.
> After change the commonTemplatesNamespace to other namespace like 'default',
> the boot source is not associated with template in 'default' namespace. 

It seems this issue is existing before and not touched yet.

As the original issue is fixed in this bug, move the bug to verified.

Comment 11 errata-xmlrpc 2022-10-25 18:03:23 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.38 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:7035