Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1777148

Summary: Common templates are not available in UI
Product: OpenShift Container Platform Reporter: Guohua Ouyang <gouyang>
Component: Console Kubevirt PluginAssignee: Tomas Jelinek <tjelinek>
Status: CLOSED DUPLICATE QA Contact: Nelly Credi <ncredi>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.3.0CC: aos-bugs, fkrepins, gouyang
Target Milestone: ---Keywords: TestBlocker
Target Release: ---   
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: 2019-11-27 15:24:24 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:
Attachments:
Description Flags
template yaml example none

Description Guohua Ouyang 2019-11-27 02:54:52 UTC
Description of problem:
After HCO is deployed, on vm wizard page, there is nothing in "Operating System", "Flavor" and "Workload Profile".
There is a message "There is no valid template for this combination. Please install required template or select different os/flavor/workload profile combination." showing under "Operatin System".


$ oc get csv kubevirt-hyperconverged-operator.v2.2.0
NAME                                      DISPLAY                                    VERSION   REPLACES                                  PHASE
kubevirt-hyperconverged-operator.v2.2.0   Container-native virtualization Operator   2.2.0     kubevirt-hyperconverged-operator.v2.1.1   Succeeded

$ oc get pod -n openshift-cnv kubevirt-ssp-operator-67b457ffd8-bjf8z
NAME                                     READY   STATUS    RESTARTS   AGE
kubevirt-ssp-operator-67b457ffd8-bjf8z   1/1     Running   0          64m

$  oc get template -n openshift | grep -e rhel -e win 
rhel6-desktop-large-v0.7.0                      This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel6-desktop-medium-v0.7.0                     This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel6-desktop-small-v0.7.0                      This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel6-desktop-tiny-v0.7.0                       This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel6-server-large-v0.7.0                       This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel6-server-medium-v0.7.0                      This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel6-server-small-v0.7.0                       This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel6-server-tiny-v0.7.0                        This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel7-desktop-large-v0.7.0                      This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel7-desktop-medium-v0.7.0                     This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel7-desktop-small-v0.7.0                      This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel7-desktop-tiny-v0.7.0                       This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel7-highperformance-large-v0.7.0              This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel7-highperformance-medium-v0.7.0             This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel7-highperformance-small-v0.7.0              This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel7-highperformance-tiny-v0.7.0               This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel7-server-large-v0.7.0                       This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel7-server-medium-v0.7.0                      This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel7-server-small-v0.7.0                       This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel7-server-tiny-v0.7.0                        This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel8-desktop-large-v0.7.0                      This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel8-desktop-medium-v0.7.0                     This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel8-desktop-small-v0.7.0                      This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel8-desktop-tiny-v0.7.0                       This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel8-highperformance-large-v0.7.0              This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel8-highperformance-medium-v0.7.0             This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel8-highperformance-small-v0.7.0              This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel8-highperformance-tiny-v0.7.0               This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel8-server-large-v0.7.0                       This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel8-server-medium-v0.7.0                      This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel8-server-small-v0.7.0                       This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
rhel8-server-tiny-v0.7.0                        This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)       1
win2k12r2-desktop-large-v0.7.0                  This template can be used to create a VM suitable for Microsoft Windows Serve...   2 (1 blank)       1
win2k12r2-desktop-medium-v0.7.0                 This template can be used to create a VM suitable for Microsoft Windows Serve...   2 (1 blank)       1
win2k12r2-server-large-v0.7.0                   This template can be used to create a VM suitable for Microsoft Windows Serve...   2 (1 blank)       1
win2k12r2-server-medium-v0.7.0                  This template can be used to create a VM suitable for Microsoft Windows Serve...   2 (1 blank)       1


Version-Release number of selected component (if applicable):
4.3.0-0.nightly-2019-11-21-122827

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
As it's a testblocker, set the priority to urgent.

Comment 1 Tomas Jelinek 2019-11-27 08:24:48 UTC
Can you please attach also a yaml of one of those templates to see if some annotation is not missing in it?

Comment 2 Guohua Ouyang 2019-11-27 09:13:32 UTC
Created attachment 1640040 [details]
template yaml example

Comment 3 Filip Krepinsky 2019-11-27 15:24:24 UTC

*** This bug has been marked as a duplicate of bug 1774930 ***

Comment 4 Filip Krepinsky 2019-11-27 15:27:08 UTC
also found another bug + simple workaround while looking at this: https://bugzilla.redhat.com/show_bug.cgi?id=1777394