Bug 1953035 - Installer should error out if publish: Internal is set while deploying OCP cluster on any on-prem platform
Summary: Installer should error out if publish: Internal is set while deploying OCP cl...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.6
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.8.0
Assignee: Aditya Narayanaswamy
QA Contact: jima
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-23 18:54 UTC by Yash Chouksey
Modified: 2021-07-27 23:03 UTC (History)
4 users (show)

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.
Clone Of:
Environment:
Last Closed: 2021-07-27 23:03:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift installer pull 4905 0 None open Bug 1953035: Disallow publish internal for non-cloud installations 2021-05-06 01:41:21 UTC
Red Hat Knowledge Base (Solution) 6041991 0 None None None 2021-05-13 17:16:34 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 23:03:47 UTC

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


Note You need to log in before you can comment on or make changes to this bug.