Encountered internal server error while processing the deployment what-if request
See original GitHub issueDescribe the bug
We have begun to see this error while running az deployment group create
with the --confirm-with-what-if
locally.
The command az deployment group what-if
also fails sporadically when running in a Azure DevOps pipeline.
Command Name
az deployment group create
Errors:
InternalServerError - Encountered internal server error while processing the deployment what-if request. Diagnostic information: timestamp '20220509T102450Z', scope '/subscriptions/[removed]/resourceGroups/[removed]', tracking id 'd8ecec98-a358-4ecd-8a5d-c1b18aecc96d', request correlation id '2950457c-ae21-4f90-a8f9-3b97587b950e'.
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
az deployment group create --subscription {} --resource-group {} --template-file {} --parameters {} --parameters {} --name {} --mode {} --confirm-with-what-if --debug
Expected Behavior
What-if output
Environment Summary
Windows-10-10.0.18363-SP0,
Python 3.9.6
Installer: PIP
azure-cli 2.36.0
Extensions:
azure-devops 0.25.0
ssh 1.1.1
Dependencies:
msal 1.17.0
azure-mgmt-resource 20.0.0
Additional Context
Issue Analytics
- State:
- Created a year ago
- Comments:25 (7 by maintainers)
Top Results From Across the Web
Azure deployment is failing with an "Encountered internal ...
Azure deployment through Azure devops in UK South and West region is getting failed now with the below error.
Read more >Internal server error while deploying an arm template to azure
I found my own error Action groups are required when you want to deploy metric alerts. As you can see in the documentation...
Read more >What is a 500 Internal Server Error? - SearchStax Docs
A 500 Server Error often means that the deployment has run out of disk space. Zookeeper stopped running or became corrupted. A clean...
Read more >Azure DevOps Error 500 when release App Service
Please check your azure app services and make sure there are no any issues with the service. Which agent are you using for...
Read more >How to Fix the 500 Internal Server Error in WordPress
1. Turn on debugging - You can turn debugging on by editing your site’s wp-config.php file: once you’ve accessed this file, search for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just got a confirmation on my support request that the product team has created a fix for the bug and that it will pushed out in about two weeks.
The support engineer has found what triggers the issue in the what-if engine.
We have a parameter like this in our templates:
However that seems to break what-if when used in modules where we don’t pass in the tags from the main template.
So the workaround for now is to pass in the tags in all module usages.