Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1968404

Summary: [master] Wrong Install-config override documentation
Product: OpenShift Container Platform Reporter: Igal Tsoiref <itsoiref>
Component: assisted-installerAssignee: Fred Rolland <frolland>
assisted-installer sub component: Deployment Operator QA Contact: bjacot
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: low CC: aos-bugs, nshidlin
Version: 4.8Keywords: Triaged
Target Milestone: ---   
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: KNI-EDGE-JUKE-4.8 AI-Team-Hive
Fixed In Version: OCP-Metal-v1.0.22.1 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1968449 (view as bug list) Environment:
Last Closed: 2021-10-18 17:32:56 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: 1968449    

Description Igal Tsoiref 2021-06-07 10:30:28 UTC
Description of problem:
Install config override should be set in AgentClusterInstall and not in cluster deployment as written in the docs

https://github.com/openshift/assisted-service/blob/master/docs/Kube-API.md#creating-installconfig-overrides

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 nshidlin 2021-06-10 06:54:34 UTC
Verified:
DOC reads:
In order to alter the default install config yaml used when running openshift-install create commands. More information about install-config overrides is available here In case of failure to apply the overrides the agentclusterinstall conditions will reflect the error and show the relevant error message.

Add an annotation with the desired options, the clusterdeployment controller will update the install config yaml with the annotation value. Note that this configuration must be applied prior to starting the installation

$ kubectl annotate agentclusterinstalls.extensions.hive.openshift.io test-cluster -n assisted-installer agent-install.openshift.io/install-config-overrides="{\"networking\":{\"networkType\": \"OVNKubernetes\"},\"fips\":true}"

Comment 5 errata-xmlrpc 2021-10-18 17:32:56 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.9.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-2021:3759