Bug 1821638 (OCPRHV-58-4.4.z)

Summary: [oVirt] Add OS type to ovirt template
Product: OpenShift Container Platform Reporter: Gal Zaidman <gzaidman>
Component: InstallerAssignee: Gal Zaidman <gzaidman>
Installer sub component: OpenShift on RHV QA Contact: Jan Zmeskal <jzmeskal>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: urgent CC: dougsland, gchakkar, jzmeskal, michal.skrivanek, pelauter, rdlugyhe
Version: 4.4Keywords: UpcomingSprint
Target Milestone: ---   
Target Release: 4.4.z   
Hardware: Unspecified   
OS: Unspecified   
URL: https://issues.redhat.com/browse/OCPRHV-58
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, the installation program required the user to manually create a virtual machine template before it could create an OpenShift cluster on Red Hat Virtualization (RHV). This is because the installation program did not meet the following requirements in RHV version 4.3.9: 1) The installation program must pass the ignition to the virtual machine, and 2) The template must specify its OS type as Red Hat CoreOS (RHCOS). The current release fixes this issue: The installation program creates a template whose OS type specifies RHCOS, and it passes ignition to the VM. The user no longer needs to create a virtual machine template.
Story Points: ---
Clone Of: OCPRHV-58-4.5 Environment:
Last Closed: 2020-06-17 22:26:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1821151    
Bug Blocks: 1186913    

Description Gal Zaidman 2020-04-07 09:43:11 UTC
+++ This bug was initially created as a clone of Bug #1821151 +++

Description of problem:

On RHV 4.3.9 we have change the ignition handling and API, to recognize an ignition is passed to the VM we need to specify the os_type as RHCOS.
During the installation the installer creates a ovirt templates to be used by the nodes, so we need to:
1. create the template with os_type = "rchos".
2. update the version of terraform-provider-ovirt.

Comment 6 Jan Zmeskal 2020-06-01 09:21:14 UTC
Verified with openshift-install-linux-4.4.0-0.nightly-2020-05-30-022631

Comment 8 Luca BRUNO 2020-06-05 12:46:07 UTC
*** Bug 1843081 has been marked as a duplicate of this bug. ***

Comment 12 errata-xmlrpc 2020-06-17 22:26:03 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, 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/RHBA-2020:2445