Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 1756303: dns/aws: Do not include record in error messages #305

Commits on Sep 27, 2019

  1. dns/aws: Do not include record in error messages

    Do not include the DNSRecord resource in the error message that the AWS DNS
    provider returns in the case of a zone-lookup failure.
    
    The DNS controller incorporates the error message from the DNS provider
    into the DNSRecord resource's "Failed" status condition message, which
    caused problems in the case of repeated zone-lookup failures.  Before this
    commit, such a failure would cause the controller to update the status
    condition message to include the DNSRecord from the previous failure, which
    would have a status condition message with the DNSRecord from the second
    previous failure, which would have a status condition message with the
    DNSRecord from the third previous failure, and so on.  As a result, the DNS
    controller was making many spurious updates with increasingly long status
    condition messages, to the point that etcd began rejecting updates with
    "request is too large".
    
    * pkg/dns/aws/dns.go (change): Omit the DNSRecord from the error message
    for zone-lookup failure.
    Miciah authored and openshift-cherrypick-robot committed Sep 27, 2019
    Configuration menu
    Copy the full SHA
    d19ffa0 View commit details
    Browse the repository at this point in the history