question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Encountered internal server error while processing the deployment what-if request

See original GitHub issue

Describe 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:closed
  • Created a year ago
  • Comments:25 (7 by maintainers)

github_iconTop GitHub Comments

4reactions
linusrylcommented, Jun 3, 2022

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.

3reactions
kvakulocommented, May 17, 2022

The support engineer has found what triggers the issue in the what-if engine.

We have a parameter like this in our templates:

param tags object = resourceGroup().tags

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found