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

Azure Provider - external_dns_registry_errors_total metrics showing 0 #4510

Open
agimenoapinity opened this issue May 28, 2024 · 1 comment · May be fixed by #4563
Open

Azure Provider - external_dns_registry_errors_total metrics showing 0 #4510

agimenoapinity opened this issue May 28, 2024 · 1 comment · May be fixed by #4563
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@agimenoapinity
Copy link

What happened: Deploy external-dns latest through helm chart.
Problem: External DNS is not increasing the following metrics counter when there is a problem while registering new hosts

external_dns_registry_errors_total
external_dns_source_errors_total

What you expected to happen:
I am expecting to see the following metric reporting a value distinct than 0

How to reproduce it (as minimally and precisely as possible):

Forcing some error test case:

  • Preparing our Azure env to not have enough credentials clearance to validate a new entry host.
  • See how external-dns is throwing some errors.
time="2024-05-06T14:15:54Z" level=error msg="Failed to update TXT record named '*****' to '\"heritage=external-dns,external-dns/owner=****,external-dns/resource=****/*****/*****\"' for DNS zone '*****': PUT https://management.azure.com/subscriptions/*****/resourceGroups/*****/providers/Microsoft.Network/dnsZones/*****/TXT/a-*****\n--------------------------------------------------------------------------------\nRESPONSE 403: 403 Forbidden\nERROR CODE: AuthorizationFailed\n--------------------------------------------------------------------------------

I am expecting the following metrics to display a value different than 0

Anything else we need to know?:
See #4081
Environment:

  • External-DNS version (use external-dns --version): 1.14.4
  • DNS provider: Azure
  • Others:
  • Kubernetes cluster version 1.27.9
@agimenoapinity agimenoapinity added the kind/bug Categorizes issue or PR as related to a bug. label May 28, 2024
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
3 participants