Bug 1766069 - Common templates: Add RHEL 7.7, fedora 29 and fedora 30
Summary: Common templates: Add RHEL 7.7, fedora 29 and fedora 30
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Guest Support
Version: 2.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 2.2.0
Assignee: Martin Sivák
QA Contact: Or Bairey-Sehayek
URL:
Whiteboard:
Depends On:
Blocks: 1769593
TreeView+ depends on / blocked
 
Reported: 2019-10-28 07:04 UTC by Israel Pinto
Modified: 2020-01-30 20:02 UTC (History)
4 users (show)

Fixed In Version: kubevirt-ssp-operator:v2.2.0-2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-30 20:02:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Israel Pinto 2019-10-28 07:04:04 UTC
Description of problem:
For CNV 2.2 we need to add  RHEL 7.7, fedora 29 and fedora 30
to common templates

All three exists in oslibinfo
# /usr/bin/osinfo-query os  | grep -E 'fedora30 | fedora29'                                                                                       
 fedora29             | Fedora 29                                          | 29       | http://fedoraproject.org/fedora/29      
 fedora30             | Fedora 30                                          | 30       | http://fedoraproject.org/fedora/30  
# /usr/bin/osinfo-query os  | grep -E 'rhel7.7'                                                                                                   
 rhel7.7              | Red Hat Enterprise Linux 7.7                       | 7.7      | http://redhat.com/rhel/7.7


Additional info:
Current support:
Fedora template supported os:
oc describe template fedora-server-large-v0.6.2 -n openshift
Name:           fedora-server-large-v0.6.2
Namespace:      openshift
Created:        23 hours ago
Labels:         flavor.template.kubevirt.io/large=true
                os.template.kubevirt.io/fedora26=true
                os.template.kubevirt.io/fedora27=true
                os.template.kubevirt.io/fedora28=true
                template.kubevirt.io/type=base
                workload.template.kubevirt.io/server=true
Description:    This template can be used to create a VM suitable for Fedora 23 and newer. The template assumes that a PVC is available which is providing the necessary Fedora disk image.
                Recommended disk image (needs to be converted to raw) https://download.fedoraproject.org/pub/fedora/linux/releases/28/Cloud/x86_64/images/Fedora-Cloud-Base-28-1.1.x86_64.qcow2
Annotations:    defaults.template.kubevirt.io/disk=rootdisk
                iconClass=icon-fedora
                name.os.template.kubevirt.io/fedora26=Fedora 26
                name.os.template.kubevirt.io/fedora27=Fedora 27
                name.os.template.kubevirt.io/fedora28=Fedora 28

RHEL 7 support os:
 oc describe template rhel7-server-large-v0.6.2 -n openshift      
Name:           rhel7-server-large-v0.6.2
Namespace:      openshift
Created:        23 hours ago
Labels:         flavor.template.kubevirt.io/large=true
                os.template.kubevirt.io/rhel7.0=true
                os.template.kubevirt.io/rhel7.1=true
                os.template.kubevirt.io/rhel7.2=true
                os.template.kubevirt.io/rhel7.3=true
                os.template.kubevirt.io/rhel7.4=true
                os.template.kubevirt.io/rhel7.5=true
                os.template.kubevirt.io/rhel7.6=true
                template.kubevirt.io/type=base
                workload.template.kubevirt.io/server=true
Description:    This template can be used to create a VM suitable for Red Hat Enterprise Linux 7 and newer. The template assumes that a PVC is available which is providing the necessary RHEL disk image.
Annotations:    defaults.template.kubevirt.io/disk=rootdisk
                iconClass=icon-rhel
                name.os.template.kubevirt.io/rhel7.0=Red Hat Enterprise Linux 7.0
                name.os.template.kubevirt.io/rhel7.1=Red Hat Enterprise Linux 7.1
                name.os.template.kubevirt.io/rhel7.2=Red Hat Enterprise Linux 7.2
                name.os.template.kubevirt.io/rhel7.3=Red Hat Enterprise Linux 7.3
                name.os.template.kubevirt.io/rhel7.4=Red Hat Enterprise Linux 7.4
                name.os.template.kubevirt.io/rhel7.5=Red Hat Enterprise Linux 7.5
                name.os.template.kubevirt.io/rhel7.6=Red Hat Enterprise Linux 7.6

Comment 1 Francesco Romani 2019-10-28 14:01:44 UTC
https://github.com/kubevirt/common-templates/pull/100 + template rebuild (automated on release) will fix this.

Comment 5 Stephen Gordon 2019-11-12 17:22:06 UTC
Question: Do we necessarily want to keep adding each Fedora release, or should they replace the older release that is rolling to EOL? My concern is with the current representation the number of Fedora releases I have to scroll past to get to supported operating systems (RHEL and Windows) will grow indefinitely.

Comment 6 Martin Sivák 2019-11-12 18:50:45 UTC
Stephen: That is a good question. Let me check if we can automate this somehow to lower the maintenance burden.

Comment 7 Israel Pinto 2019-12-19 10:18:08 UTC
Verify with:
container-native-virtualization-kubevirt-ssp-operator:v2.2.0-14

RHEL 7.7:
$ oc get template -l 'os.template.kubevirt.io/rhel7.7=true' -n openshift   
NAME                                  DESCRIPTION                                                                        PARAMETERS    OBJECTS
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

Fedora 29:
$ oc get template -l 'os.template.kubevirt.io/fedora29=true' -n openshift
NAME                                   DESCRIPTION                                                                        PARAMETERS    OBJECTS
fedora-desktop-large-v0.7.0            This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
fedora-desktop-medium-v0.7.0           This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
fedora-desktop-small-v0.7.0            This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
fedora-desktop-tiny-v0.7.0             This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
fedora-highperformance-large-v0.7.0    This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
fedora-highperformance-medium-v0.7.0   This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
fedora-highperformance-small-v0.7.0    This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
fedora-highperformance-tiny-v0.7.0     This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
fedora-server-large-v0.7.0             This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
fedora-server-medium-v0.7.0            This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
fedora-server-small-v0.7.0             This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
fedora-server-tiny-v0.7.0              This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1

Fedora 30:
$ oc get template -l 'os.template.kubevirt.io/fedora30=true' -n openshift
NAME                                   DESCRIPTION                                                                        PARAMETERS    OBJECTS
fedora-desktop-large-v0.7.0            This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
fedora-desktop-medium-v0.7.0           This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
fedora-desktop-small-v0.7.0            This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
fedora-desktop-tiny-v0.7.0             This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
fedora-highperformance-large-v0.7.0    This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
fedora-highperformance-medium-v0.7.0   This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
fedora-highperformance-small-v0.7.0    This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
fedora-highperformance-tiny-v0.7.0     This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
fedora-server-large-v0.7.0             This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
fedora-server-medium-v0.7.0            This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
fedora-server-small-v0.7.0             This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
fedora-server-tiny-v0.7.0              This template can be used to create a VM suitable for Fedora 23 and newer. Th...   2 (1 blank)   1
[cnv-qe-jenkins@cnv-executor-ipinto22 ~]$

Comment 8 Dan Kenigsberg 2020-01-30 20:02:55 UTC
closing this bug manually; it should have been included in

https://access.redhat.com/errata/RHEA-2020:0307


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