Bug 1610740 - [Kubevirt APB] Presets are not deployed
Summary: [Kubevirt APB] Presets are not deployed
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Installation
Version: 1.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 1.3
Assignee: Tommy Hughes
QA Contact: Lukas Bednar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-01 11:17 UTC by Nelly Credi
Modified: 2018-12-03 14:30 UTC (History)
6 users (show)

Fixed In Version: 0.9.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-12-03 14:18:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Nelly Credi 2018-08-01 11:17:24 UTC
Description of problem:

It seems that when deploying CNV (d/s) using the APB,
presets are not deployed
This bug was discovered while trying to verify BZ#1594579


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

How reproducible:
100%

Steps to Reproduce:
1. Deploy CNV using the kubevirt apb
2.
3.

Actual results:
kubevirt-manifests rpm is not deployed

Expected results:
kubevirt-manifests rpm should be deployed

Additional info:

* this is probably related to ticket: https://trello.com/c/JX8wqEkM/137-5-ship-presets-epic-deployment


* would like to express my dislike for demo_content.yaml (commented on the original bug as well),
i think we should have a meaningful name instead

Comment 1 Tommy Hughes 2018-08-01 13:47:02 UTC
it appears everything necessary to fix this bug has been merged, but you likely won't see it working until the next release of kubevirt-ansible & kubevirt. its doubtful it will be backported to 0.6.2.

Comment 2 Nelly Credi 2018-08-21 08:58:27 UTC
Please dont move bugs to on qe as long as its not in the build

Comment 3 Lukas Bednar 2018-09-20 16:06:38 UTC
Still not there, tested with kubevirt-apb 1.2-3

[cloud-user@cnv-executor-lbednar-master1 ~]$ oc get virtualmachineinstancepresets --all-namespaces 
No resources found.

Comment 4 Fabian Deutsch 2018-10-02 12:56:59 UTC
There is only one preset in0.6.2 - and that is for windows.

In future the delivery of presets will be done differently (using common-templates).

I'd be in favor of moving this out, after all no customer requested to fix this.

Comment 5 Tommy Hughes 2018-10-02 13:59:37 UTC
fwiw, last i checked this won't work until v0.7.x or greater.

Comment 8 Nelly Credi 2018-12-03 10:07:01 UTC
looks like we have them, but not sure about the NS they should be in
and Fabian was mentioning that we probably dont need the presets
@Fabian, @Martin, i need your input


oc get virtualmachineinstancepreset --all-namespaces
NAMESPACE   NAME           AGE
default     size-2xlarge   4d
default     size-large     4d
default     size-medium    4d
default     size-micro     4d
default     size-nano      4d
default     size-small     4d
default     size-xlarge    4d



oc get templates -n openshift
NAME                        DESCRIPTION                                                            PARAMETERS    OBJECTS
vm-template-fedora          OCP KubeVirt Fedora 27 VM template                                     3 (1 blank)   1
vm-template-rhel7           OCP KubeVirt Red Hat Enterprise Linux 7.4 VM template                  3 (1 blank)   2
vm-template-windows2012r2   OCP KubeVirt Microsoft Windows Server 2012 R2 VM template              3 (1 blank)   2



in addition we have many templates under default
[cloud-user@cnv-executor-nelly-stage-master1 manifests]$ oc get templates -n default
NAME                            DESCRIPTION                                                                        PARAMETERS    OBJECTS
centos7-generic-large           This template can be used to create a VM suitable for CentOS 7 and newer. The...   2 (1 blank)   1
centos7-generic-medium          This template can be used to create a VM suitable for CentOS 7 and newer. The...   2 (1 blank)   1
centos7-generic-small           This template can be used to create a VM suitable for CentOS 7 and newer. The...   2 (1 blank)   1
centos7-generic-tiny            This template can be used to create a VM suitable for CentOS 7 and newer. The...   2 (1 blank)   1
fedora-generic-large            This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
fedora-generic-medium           This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
fedora-generic-small            This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
fedora-generic-tiny             This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
fedora-highperformance-large    This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
fedora-highperformance-medium   This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
fedora-highperformance-small    This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
fedora-highperformance-tiny     This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
opensuse-generic-large          This template can be used to create a VM suitable for OpenSUSE Leap 15.0. The...   2 (1 blank)   1
opensuse-generic-medium         This template can be used to create a VM suitable for OpenSUSE Leap 15.0. The...   2 (1 blank)   1
opensuse-generic-small          This template can be used to create a VM suitable for OpenSUSE Leap 15.0. The...   2 (1 blank)   1
opensuse-generic-tiny           This template can be used to create a VM suitable for OpenSUSE Leap 15.0. The...   2 (1 blank)   1
rhel7-generic-large             This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)   1
rhel7-generic-medium            This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)   1
rhel7-generic-small             This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)   1
rhel7-generic-tiny              This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)   1
rhel7-highperformance-large     This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)   1
rhel7-highperformance-medium    This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)   1
rhel7-highperformance-small     This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)   1
rhel7-highperformance-tiny      This template can be used to create a VM suitable for Red Hat Enterprise Linu...   2 (1 blank)   1
ubuntu-generic-large            This template can be used to create a VM suitable for Ubuntu 18.04 (Xenial Xe...   2 (1 blank)   1
ubuntu-generic-medium           This template can be used to create a VM suitable for Ubuntu 18.04 (Xenial Xe...   2 (1 blank)   1
ubuntu-generic-small            This template can be used to create a VM suitable for Ubuntu 18.04 (Xenial Xe...   2 (1 blank)   1
ubuntu-generic-tiny             This template can be used to create a VM suitable for Ubuntu 18.04 (Xenial Xe...   2 (1 blank)   1
win2k12r2-generic-large         This template can be used to create a VM suitable for Microsoft Windows Serve...   2 (1 blank)   1
win2k12r2-generic-medium        This

Comment 9 Fabian Deutsch 2018-12-03 10:13:27 UTC
The following rpm was used: kubevirt-templates-0.3.1-1.8efeaaf.noarch.rpm

Comment 10 Fabian Deutsch 2018-12-03 11:29:40 UTC
To summarize:

1. This bug is a bug, as the templates should have been deployed by default. However, it was not critical enough in 1.3. I'll retarget it to 1.4 in order validate the templates becoming part of the default installation.

2. The presets are deprecated and replaced by Templates. The presets should not be installed by default anymore, not critical for 1.3 IMHO

3. The default namespace of the temapltes should change to openshift, as it's close to being a shared resource.

Martin, please share the links to the cards which cover 2 and 3.

Nelly, please open bugs if you want to cover any of the above in bugzilla.

Comment 11 Fabian Deutsch 2018-12-03 11:30:31 UTC
Nelly, actually, let's close this bug, and decide for yourself if we want to have a new one to cover the default installation of templates for 1.4.

Comment 12 Nelly Credi 2018-12-03 14:18:48 UTC
as suggested by Fabian above, closing this one


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