Bug 1985933

Summary: Downstream image registry recommendation
Product: OpenShift Container Platform Reporter: Matan Schatzman <mschatzm>
Component: Console Kubevirt PluginAssignee: Matan Schatzman <mschatzm>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.9CC: aos-bugs, gouyang, tnisan, yzamir
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-10 16:04:47 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
example label none

Description Matan Schatzman 2021-07-26 09:47:21 UTC
Created attachment 1805837 [details]
example label

Created attachment 1805837 [details]
example label

Description of problem:
When using the downstream version, the image registry example can be improved to suggest the right image. 

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


How reproducible:
100%

Steps to Reproduce:
1. Start openshift as downstream.
2. Open VM wizard, choose the image registry
3. View the example label below the input

Actual results:
Image suggestion is always rhel. registry.redhat.io/rhel8/rhel-guest-image

Expected results:
The example text should suggest the right image and not always rhel with a default image in case there isn't a match.

Fedora -> quay.io/kubevirt/fedora-cloud-container-disk-demo:latest
RHEL -> registry.redhat.io/rhel8/rhel-guest-image
CENTOS -> quay.io/kubevirt/centos8-container-disk-images:latest

Default is quay.io/kubevirt/fedora-cloud-container-disk-demo:latest , which will be applied to windows as well. 


Additional info:
Only apply to downstream.

Comment 2 Guohua Ouyang 2021-08-11 09:30:43 UTC
two opinions:
1. It can be improved a bit by matching version, like 
'registry.redhat.io/rhel7/rhel-guest-image' for rhel7  #add tag ":latest to" it as well
'registry.redhat.io/rhel8/rhel-guest-image' for rhel8
'quay.io/kubevirt/centos7-container-disk-images:latest' for centos7
'quay.io/kubevirt/centos8-container-disk-images:latest' for centos8

2. From QE perspective, use fedora image for windows templates is not good, still prefer to leave it blank for windows template.

Comment 4 Guohua Ouyang 2021-11-25 04:32:42 UTC
verified on master

Comment 8 errata-xmlrpc 2022-03-10 16:04:47 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 (Moderate: OpenShift Container Platform 4.10.3 security 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/RHSA-2022:0056