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 DNS ACME Solver Issue #4480

Closed
kstedman9 opened this issue Sep 28, 2021 · 6 comments
Closed

Azure DNS ACME Solver Issue #4480

kstedman9 opened this issue Sep 28, 2021 · 6 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@kstedman9
Copy link

Describe the bug:

I am trying to use the ACME DNS01 Solver as part of my ClusterIssuer. My AKS cluster is setup with managedIdentities and the managed identity has the proper role permissions (verified by SysAdmin). When I create the certificate object, the challenge gives me a status of

cert-manager Error presenting challenge: error instantiating azuredns challenge solver: ClientID is not set but neither --cluster-issuer-ambient-credentials nor --issuer-ambient-credentials are set. These are necessary to enable Azure Managed Identities

So even though the default in the code for cluster-issuer-ambient-crednetials is true I set it the flag in the cert-manager deployment just to verify. But obviously when cert-manager gets to that part of the code it is false still so either it is not getting passed in correctly or more likely I am missing something in my setup. This is my only issuer in the cluster so it cannot be using a different issuer.

Steps to reproduce the bug:

Anything else we need to know?:

I did try to upgrade to the v1.6-alpha and use the managedIdentity field to see if that was the problem but I get the same exact error.

Environment details::

  • Kubernetes version: 1.20.9
  • Cloud-provider/provisioner: Azure
  • cert-manager version: 1.5
  • Install method: static manifests

/kind bug

@jetstack-bot jetstack-bot added the kind/bug Categorizes issue or PR as related to a bug. label Sep 28, 2021
@jetstack-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Send feedback to jetstack.
/lifecycle stale

@jetstack-bot jetstack-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 27, 2021
@rajan2
Copy link

rajan2 commented Jan 24, 2022

@kstedman9 ,

Kindly try with principal ID instead of clientID

@jetstack-bot
Copy link
Contributor

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Send feedback to jetstack.
/lifecycle rotten
/remove-lifecycle stale

@jetstack-bot jetstack-bot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Feb 23, 2022
@jetstack-bot
Copy link
Contributor

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Send feedback to jetstack.
/close

1 similar comment
@jetstack-bot
Copy link
Contributor

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Send feedback to jetstack.
/close

@jetstack-bot
Copy link
Contributor

@jetstack-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Send feedback to jetstack.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

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/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

No branches or pull requests

3 participants