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

login concurrency failure due to use of az login #129

Open
blueskyjunkie opened this issue Feb 23, 2022 · 0 comments
Open

login concurrency failure due to use of az login #129

blueskyjunkie opened this issue Feb 23, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@blueskyjunkie
Copy link
Contributor

blueskyjunkie commented Feb 23, 2022

Describe the bug
Concurrency in the deployment engine intermittently results in deployment failures - typically with an error along the lines of "subscription not found" on attempted use of az login or az account set.

az login uses a single file to record the login state, so it can only be logged in to a single subscription at a time. In addition, concurrent application steps may change the login file resulting from a new login attempt, even to the same subscription and corresponding changes using az account set, that causes failure of a different application step trying to consume the login (hence "subscription not found"). Essentially, az login does not support any kind of concurrency with respect to logins.

To Reproduce
It's intermittent so not generally reproducible, although deployments with high levels of concurrency are more likely to exhibit the issue.

Expected behavior
The deployment should be able to concurrently deploy to any number of subscriptions simultaneously.

@blueskyjunkie blueskyjunkie added the bug Something isn't working label Feb 23, 2022
blueskyjunkie pushed a commit that referenced this issue Feb 23, 2022
blueskyjunkie added a commit that referenced this issue Feb 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant