Bug 1962256

Summary: use RHEL8 as the vm-example
Product: OpenShift Container Platform Reporter: Dan Kenigsberg <danken>
Component: Console Kubevirt PluginAssignee: Yaacov Zamir <yzamir>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.8CC: aos-bugs, gouyang
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 23:09:14 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:

Description Dan Kenigsberg 2021-05-19 15:29:46 UTC
Currently, when I select "Create from YAML", I get a Fedora-based yaml pointing to kubevirt/fedora-cloud-container-disk-demo:latest containerdisk.

With RHEL-8.4 out, we finally have a registry.redhat.io/rhel8/rhel-guest-image containerdisk. Let us use it to propose a supportable VM.

We should doublecheck that it works well with ssh key injection, since RHEL guest do not support password auth for ssh. Alternatively, we can use "ssh_pwauth: yes" in cloud-init of the example vm.

Comment 1 Dan Kenigsberg 2021-05-20 05:04:48 UTC
https://github.com/openshift/console/pull/8980 is related to this bz, but only remotely. The request here is to modify https://github.com/openshift/console/blob/master/frontend/packages/kubevirt-plugin/src/models/templates/vm-yaml.ts#L58 (and similar places) with a RHEL8 yaml

Comment 2 Yaacov Zamir 2021-05-20 13:53:33 UTC
Note for verification:

When running OKD, the image stays fedora
when running OpenShift, the image will be rhel8

Comment 4 Guohua Ouyang 2021-05-25 04:01:02 UTC
It's using RHEL 8 as example VM on 4.8.0-fc.5.

Comment 7 errata-xmlrpc 2021-07-27 23:09:14 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.8.2 bug fix and 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.