Bug 1928948

Summary: OPENSHIFT_INSTALL_SKIP_PREFLIGHT_VALIDATIONS does not skip Control plane size validation
Product: OpenShift Container Platform Reporter: Pierre Prinetti <pprinett>
Component: InstallerAssignee: Pierre Prinetti <pprinett>
Installer sub component: OpenShift on OpenStack QA Contact: weiwei jiang <wjiang>
Status: CLOSED NOTABUG Docs Contact:
Severity: low    
Priority: low    
Version: 4.8   
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-22 09:25:58 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:

Description Pierre Prinetti 2021-02-15 20:44:25 UTC
When setting the environment variable OPENSHIFT_INSTALL_SKIP_PREFLIGHT_VALIDATIONS=1, the install process is still being aborted when the Control plane replicas are set to a number different than 3.

Comment 1 Pierre Prinetti 2021-02-22 09:25:58 UTC
The install-config validation is a "static check" and not a "pre-flight check" and as such, it can't be skipped with the same environment variable.

Note that with https://github.com/openshift/installer/pull/4672 , the validation only aborts the installation when "replicas > 3" (it was "replicas != 3").