Bug 1877693
| Summary: | dnsrecords specify recordTTL as 30 but the value is null in AWS Route 53 | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Hongan Li <hongli> |
| Component: | Networking | Assignee: | Candace Holman <cholman> |
| Networking sub component: | router | QA Contact: | Hongan Li <hongli> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | medium | ||
| Priority: | medium | CC: | aos-bugs, mfisher, mmasters |
| Version: | 4.6 | Keywords: | Reopened |
| Target Milestone: | --- | ||
| Target Release: | 4.7.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-02-24 15:17:43 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
Hongan Li
2020-09-10 08:15:40 UTC
I’m adding UpcomingSprint, because I was occupied by fixing bugs with higher priority/severity, developing new features with higher priority, or developing new features to improve stability at a macro level. I will revisit this bug next sprint. Target set to 4.7 while investigation is either ongoing or pending. Will be considered for earlier release versions when diagnosed and resolved. Hongan, This is expected behavior. Ingress Operator will always create a CNAME record type and the provider implementation will convert the type if needed. We decided on this approach since Alias records are specific to AWS. Hi Daneyon, There are two issues listed in this BZ (since both in `dnsrecords.spec`, but if that confused then I can file new one) First issue is about the CNAME, I agree with you that Alias is specific to AWS and provider implementation indeed create A (or CNAME for GovCloud) type. And another issue is the TTL, seems it is not configured on AWS side. I'm updating the title to make it clearer. I’m adding UpcomingSprint because I was occupied by fixing bugs with higher priority/severity, developing new features with higher priority, or developing new features to improve stability at a macro level. I will revisit this bug next sprint. I’m adding UpcomingSprint because I was occupied by fixing bugs with higher priority/severity, developing new features with higher priority, or developing new features to improve stability at a macro level. I will revisit this bug next sprint. I’m adding UpcomingSprint because I was occupied by fixing bugs with higher priority/severity, developing new features with higher priority, or developing new features to improve stability at a macro level. I will revisit this bug next sprint. Hi Hongan, Thanks for noticing that the TTL did not show up on the AWS side. However, in this case, the TTL actually should not appear, as TTL is not allowed for a Route 53 AliasTarget type. In summary, for non-gov-cloud Route 53, a CNAME record with TTL becomes an A record with no TTL. We have updated the comments in the code to reflect this special case. Best Regards, Candace Tested with 4.7.0-0.nightly-2020-11-25-114114 and passed.
# oc explain dnsrecords.spec.recordTTL
KIND: DNSRecord
VERSION: ingress.operator.openshift.io/v1
FIELD: recordTTL <integer>
DESCRIPTION:
recordTTL is the record TTL in seconds. If zero, the default is 30.
RecordTTL will not be used in AWS regions Alias targets, but will be used
in CNAME targets, per AWS API contract.
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.7.0 security, bug fix, and enhancement 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-2020:5633 |