Bug 2078895

Summary: [OCPonRHV]-"cow" unsupported value in format field in install-config.yaml
Product: OpenShift Container Platform Reporter: Veronika Fuxova <vfuxova>
Component: InstallerAssignee: Janos Bonic <jpasztor>
Installer sub component: OpenShift on RHV QA Contact: Veronika Fuxova <vfuxova>
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: urgent CC: jpasztor, mburman
Version: 4.11   
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-10 11:08:24 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:
Bug Depends On:    
Bug Blocks: 2035334    

Description Veronika Fuxova 2022-04-26 12:35:46 UTC
Version:

$ openshift-install version
4.11.0-0.nightly-2022-04-24-135651

Platform:

RHV 4.5.0.4-0.1.el8ev

IPI


When executing create cluster command, it fails to load Install config with this error: 

ERROR failed to fetch Metadata: failed to load asset "Install Config": failed to create install config: invalid "install-config.yaml" file: [controlPlane.platform.ovirt.format: Unsupported value: "cow": supported values: "", "raw", "format", compute[0].platform.ovirt.format: Unsupported value: "cow": supported values: "", "raw", "format"] 

Expected behavior: 

'cow' should be a supported value for the 'format' field and the installation should start.

How to reproduce:

1. Use Openshift installer to create install config: 

$ ./openshift-install create install-config --dir=resources 

2. Specify format as 'cow' in the install config: 

controlPlane: 
  platform: 
    ovirt: 
      format: cow
compute: 
  platform: 
    ovirt: 
      format: cow

3. Start the installation: 

$ ./openshift-install create cluster --dir=resources --log-level=debug

Comment 3 Veronika Fuxova 2022-05-05 17:26:03 UTC
Version:

$ openshift-install version
4.11.0-0.nightly-2022-05-05-015322

Platform:

RHV 4.5.0.6-0.7.el8ev

IPI

Verification steps: 

1. Used Openshift installer to create install config: 

$ ./openshift-install create install-config --dir=resources 

2. Specified format as 'cow' in the install config: 

controlPlane: 
  platform: 
    ovirt: 
      format: cow
compute: 
  platform: 
    ovirt: 
      format: cow

3. Started the installation: 

$ ./openshift-install create cluster --dir=resources --log-level=debug

4. The installation successfully started.

Comment 5 errata-xmlrpc 2022-08-10 11:08:24 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 (Important: OpenShift Container Platform 4.11.0 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.

https://access.redhat.com/errata/RHSA-2022:5069