Bug 1953035

Summary: Installer should error out if publish: Internal is set while deploying OCP cluster on any on-prem platform
Product: OpenShift Container Platform Reporter: Yash Chouksey <ychoukse>
Component: InstallerAssignee: Aditya Narayanaswamy <anarayan>
Installer sub component: openshift-installer QA Contact: jima
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: low CC: anarayan, jima, mstaeble, sgreene
Version: 4.6   
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
On-prem platforms do not have the capability to create internal load balancers which is required for the internal publishing strategy and must not be allowed while creating a cluster in these platforms. Added a check during creation of manifests that would allow the user to only use that strategy for cloud platforms like AWS, Azure and GCP.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 23:03:30 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:

Comment 2 jima 2021-05-12 07:30:17 UTC
Verified on 4.8.0-0.nightly-2021-05-12-042645 and passed.

Set publish to Internal in install-config.yaml, and perform below command:
vsphere:
$ ./openshift-install create manifests --dir vsphere
FATAL failed to fetch Master Machines: failed to load asset "Install Config": invalid "install-config.yaml" file: publish: Invalid value: "Internal": Internal publish strategy is not supported on "vsphere" platform 

openstack:
$ ./openshift-install create manifests --dir osp
FATAL failed to fetch Master Machines: failed to load asset "Install Config": invalid "install-config.yaml" file: publish: Invalid value: "Internal": Internal publish strategy is not supported on "openstack" platform 

On aws/gcp/azure platform, manifests are generated successfully.

Comment 5 errata-xmlrpc 2021-07-27 23:03:30 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.

https://access.redhat.com/errata/RHSA-2021:2438