Bug 2143558

Summary: display name for "Red Hat Enterprise Linux 9.0 VM" should be changed to "openshift.io/display-name: "Red Hat Enterprise Linux 9.0+ VM""
Product: Container Native Virtualization (CNV) Reporter: Dominik Holler <dholler>
Component: SSPAssignee: Javier Cano Cano <jcanocan>
Status: CLOSED ERRATA QA Contact: zhe peng <zpeng>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.11.0CC: gkapoor
Target Milestone: ---   
Target Release: 4.11.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cnv v4.11.2-15 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-12 14:08:55 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:

Description Dominik Holler 2022-11-17 08:12:15 UTC
Description of problem: The display name for "Red Hat Enterprise Linux 9.0 VM" should be changed to "openshift.io/display-name: "Red Hat Enterprise Linux 9.0+ VM", to cover RHEL 9.1, too.


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


How reproducible: 100%


Steps to Reproduce:
1. Create a VM from catalog
2. Have a look at the RHEL9 template

Actual results: RHEL 9 template is displayed as "Red Hat Enterprise Linux 9.0 VM"

Expected results: RHEL 9 template is displayed as "Red Hat Enterprise Linux 9.0+ VM"


Additional info: RHEL 9.1 was released on 2022-11-16

Comment 1 Dominik Holler 2022-12-15 08:00:38 UTC
We decided to display names like
"Red Hat Enterprise Linux 9 VM" and  "Red Hat Enterprise Linux 8 VM"
instead of "Red Hat Enterprise Linux 9.0 VM" and "Red Hat Enterprise Linux 8.0+ VM".

Comment 2 Dominik Holler 2022-12-15 08:08:45 UTC
Postponing to 4.11.3, backport from 4.12 to 4.11 is pending.

Comment 4 Dominik Holler 2022-12-15 13:45:55 UTC
The backport to 4.11 is already in https://github.com/kubevirt/common-templates/pull/493 , so it will be in 4.11.2 .

Comment 5 zhe peng 2022-12-21 02:26:07 UTC
verify with build:
OCP 4.11.20
CNV-v4.11.2-19

1: create centos7 rhel7 rhel8 rhel9 vm with catalog template
2: check template
centos7:
...
template.kubevirt.io/containerdisks: |quay.io/containerdisks/centos:7-2009
template.kubevirt.io/version: v1alpha1
openshift.io/display-name: CentOS 7 VM
...

rhel7:
...
template.kubevirt.io/provider-url: 'https://www.redhat.com'
template.kubevirt.io/version: v1alpha1
openshift.io/display-name: Red Hat Enterprise Linux 7 VM
...
rhel8:
...
template.kubevirt.io/containerdisks: | registry.redhat.io/rhel8/rhel-guest-image
template.kubevirt.io/version: v1alpha1
openshift.io/display-name: Red Hat Enterprise Linux 8 VM
openshift.io/documentation-url: 'https://github.com/kubevirt/common-templates'
...
rhel9:
...
template.kubevirt.io/version: v1alpha1
openshift.io/display-name: Red Hat Enterprise Linux 9 VM
openshift.io/documentation-url: 'https://github.com/kubevirt/common-templates'
...

also check "Display name" in UI, both change to right string, move to verified.

Comment 12 errata-xmlrpc 2023-01-12 14:08:55 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 Virtualization 4.11.2 Images), 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/RHEA-2023:0155