external-dns: Cache gets out of sync when call to DNS provider fails
When the final call to ApplyChanges
of the DNS provider fails, the cache has already been updated and is not rolled back in any way. This leads to the cache being out of sync and the failed record is not going to be retried for another hour.
See https://github.com/kubernetes-incubator/external-dns/blob/v0.5.17/registry/txt.go#L181: We don’t know if that call returns an error but happily populated the cache above.
We saw this recently due to rate limits against the AWS API.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 22 (12 by maintainers)
Commits related to this issue
- fix: invalidate TXT registry's records cache if ApplyChanges fails Fixes #1200 — committed to goto-opensource/external-dns by alfredkrohmer 2 years ago
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied,lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/reopen
/remove-lifecycle rotten
Please send feedback to sig-contributor-experience at kubernetes/community.
/close
Rotten issues close after 30d of inactivity. Reopen the issue with
/reopen
. Mark the issue as fresh with/remove-lifecycle rotten
.Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /close