-
Notifications
You must be signed in to change notification settings - Fork 147
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
Intermittent fault login_as_launchpad #216
Comments
Hi, just curious as to why this would happen. My understanding is az cli requests are not region specific? |
That sounds really odd behavior, I would expect that if this happened consistently a lot of people would be having problems. Are you behind some form of proxy that may be caching responses? Why does it only happen when using a service principal? The PR looks good to me, just feel like there's more to this puzzle, perhaps maintainers from MS can share more insight. |
I experienced it when running on github-actions, but also locally. |
I have encountered a intermittent fault when running the rover on GitHub actions with a service principal.
The error I get in the workflow is :
This error happens after the workflow already successfully deployed a
level0
landingzone and is trying to deploy a higher level lz. After some debugging I found out that it has to do with the fact that our workflow uses a matrix and hence has separate jobs for each landingzone. If a followup job routes request to the same region aslevel0
e.g WESTUS2 the workflow succeeds but when routed to a different region e.g EASTUS2 the keyvault used in login_as_launchpad is not present in the output of theaz keyvault list
command.I have created a Support Request (ID: 2110150050000485) on Azure to investigate/mitigate this issue.
For now Azure Support suggested to replace
az keyvault list
withaz graph query
as the latter should not have the issue.I created a pull request to implement this.
The text was updated successfully, but these errors were encountered: