Bug 2077662
Summary: | AWS Platform Provisioning Check incorrectly identifies record as part of domain of cluster | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Johnathan Kupferer <jkupfere> |
Component: | Installer | Assignee: | Nobody <nobody> |
Installer sub component: | openshift-installer | QA Contact: | Yunfei Jiang <yunjiang> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | unspecified | CC: | anarayan, bbarbach, padillon, yunjiang |
Version: | 4.10 | ||
Target Milestone: | --- | ||
Target Release: | 4.11.0 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: |
Cause:
The installer misidentifies records as part of the DNS domain, because it has the same suffix when it should be checking only if it has a ".". The problem occurs when the cluster base domain is the suffix of the DNS record but the name is not actually a part of the domain.
baseDomain: "openshift.redhatworkshops.io"
DNS Record: "bastion-shared410.openshift.redhatworkshops.io"
Consequence:
A trailing "." in the variable that is compared to determine if it is part of domain is causing records to be ignored when they shouldn't.
Fix:
Change if !strings.HasSuffix(name, dottedClusterDomain)
to if !strings.HasSuffix("." + name, dottedClusterDomain)
in order to appropriately compare the name to determine if it is part of the domain.
Result:
The provisioning will work correctly for AWS.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2022-08-10 11:08:03 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
Johnathan Kupferer
2022-04-21 20:30:23 UTC
verified. PASS. OCP version: 4.11.0-0.nightly-2022-05-08-193101 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 |