-
Notifications
You must be signed in to change notification settings - Fork 3.4k
az login --identity fails in AKS with aad-pod-identity #9537
Copy link
Copy link
Closed
Labels
Accountaz login/accountaz login/accountService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Metadata
Metadata
Assignees
Labels
Accountaz login/accountaz login/accountService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Describe the bug
az login --identitysometimes fails with a stacktrace when used in AKS in combination withaad-pod-identityTo Reproduce
microsoft/azure-cli:latestdocker image, with the proper labeling to assign a MSI on startup, and runaz login --identityas the commandExpected behavior
az login --identityshould always succeed on a node with a MSI attached. If the MSI is not yet attached due to lag inaad-pod-identity,azure-clishould exit cleanly with a non-zero exit codeEnvironment summary
microsoft/azure-cli:latestbashAdditional context
May be related to Azure/aad-pod-identity#206