Bug 2094694
Summary: | [Nutanix] No cluster name sanity validation - cluster name with a dot (".") character | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | gaoshang <sgao> |
Component: | Installer | Assignee: | Nobody <nobody> |
Installer sub component: | openshift-installer | QA Contact: | gaoshang <sgao> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | unspecified | CC: | sid.shukla |
Version: | 4.11 | ||
Target Milestone: | --- | ||
Target Release: | 4.11.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: | 2022-08-10 11:16:53 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
gaoshang
2022-06-08 08:18:23 UTC
Note,this bug origin from Bug 2084580 - [4.10] No cluster name sanity validation - cluster name with a dot (".") character. Thanks for raising this; We'll make a bugfix with explicit validation for the character. This bug has been verified on OCP 4.11.0-0.nightly-2022-06-22-190830 and passed, thanks. Step: 1, when creating install-config with cluster name contains a dot (".") # ./openshift-install create install-config --dir cluster ... ? Virtual IP Address for API 10.0.132.20 ? Virtual IP Address for Ingress 10.0.132.21 ? Base Domain qe.devcluster.openshift.com X Sorry, your reply was invalid: cluster name must not contain '.' 2, when install-config.yaml with cluster name contains a dot (".") # ./openshift-install create manifests --dir cluster ERROR failed to fetch Master Machines: failed to load asset "Install Config": failed to create install config: invalid "install-config.yaml" file: metadata.name: Invalid value: "sgao.test": cluster name must not contain '.' 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 |