Azure / Azure/azure-quickstart-templates

diagnostics-eventhub-elk error: Unable to download deployment content.

Open
#7,171 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
14.9k
Forks
16.2k
Avg merge
6d 21h
Merged PRs (30d)
6

Description

diagnostics-eventhub-elk https://github.com/Azure/azure-quickstart-templates/tree/master/diagnostics-eventhub-elk

Issue Details:
When try to deploy diagnostics-eventhub-elk using the template, error "Unable to download deployment content".

**Command ps1:**
`New-AzResourceGroupDeployment -ResourceGroupName DevOps -TemplateFile .\azuredeploy.json -TemplateParameterFile .\azuredeploy.parameters.json`

**full error message:**
```
New-AzResourceGroupDeployment : 1:23:20 PM - Error: Code=MultipleErrorsOccurred; Message=Multiple error occurred:
BadRequest,BadRequest,BadRequest,BadRequest,BadRequest,BadRequest,BadRequest. Please see details.
At line:1 char:1
+ New-AzResourceGroupDeployment -ResourceGroupName DevOps -TemplateFile ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [New-AzResourceGroupDeployment], Exception
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet

New-AzResourceGroupDeployment : 1:23:20 PM - Error: Code=InvalidContentLink; **Message=Unable to download deployment content from
'https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/nestedtemplates/master-nodes-resources.json'.** The tracking Id is '4aa3e344-4936-4673-b722-455b9fbe6dcc'. Please
see https://aka.ms/arm-deploy for usage details.
At line:1 char:1
+ New-AzResourceGroupDeployment -ResourceGroupName DevOps -TemplateFile ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [New-AzResourceGroupDeployment], Exception
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet

New-AzResourceGroupDeployment : 1:23:20 PM - Error: Code=InvalidContentLink; Message=Unable to download deployment content from
'https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/nestedtemplates/empty-resources.json'. The tracking Id is '4aa3e344-4936-4673-b722-455b9fbe6dcc'. Please see
https://aka.ms/arm-deploy for usage details.
At line:1 char:1
+ New-AzResourceGroupDeployment -ResourceGroupName DevOps -TemplateFile ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [New-AzResourceGroupDeployment], Exception
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet

New-AzResourceGroupDeployment : 1:23:20 PM - Error: Code=InvalidContentLink; Message=Unable to download deployment content from
'https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/nestedtemplates/shared-resources.json'. The tracking Id is '4aa3e344-4936-4673-b722-455b9fbe6dcc'. Please see
https://aka.ms/arm-deploy for usage details.
At line:1 char:1
+ New-AzResourceGroupDeployment -ResourceGroupName DevOps -TemplateFile ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [New-AzResourceGroupDeployment], Exception
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet

New-AzResourceGroupDeployment : 1:23:20 PM - Error: Code=InvalidContentLink; Message=Unable to download deployment content from
'https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/nestedtemplates/client-nodes-resources.json'. The tracking Id is '4aa3e344-4936-4673-b722-455b9fbe6dcc'. Please
see https://aka.ms/arm-deploy for usage details.
At line:1 char:1
+ New-AzResourceGroupDeployment -ResourceGroupName DevOps -TemplateFile ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [New-AzResourceGroupDeployment], Exception
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet

New-AzResourceGroupDeployment : 1:23:20 PM - Error: Code=InvalidContentLink; Message=Unable to download deployment content from
'https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/nestedtemplates/data-nodes-4disk-resources.json'. The tracking Id is '4aa3e344-4936-4673-b722-455b9fbe6dcc'.
Please see https://aka.ms/arm-deploy for usage details.
At line:1 char:1
+ New-AzResourceGroupDeployment -ResourceGroupName DevOps -TemplateFile ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [New-AzResourceGroupDeployment], Exception
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet

New-AzResourceGroupDeployment : 1:23:20 PM - Error: Code=InvalidContentLink; Message=Unable to download deployment content from
'https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/nestedtemplates/jumpbox-resources.json'. The tracking Id is '4aa3e344-4936-4673-b722-455b9fbe6dcc'. Please see
https://aka.ms/arm-deploy for usage details.
At line:1 char:1
+ New-AzResourceGroupDeployment -ResourceGroupName DevOps -TemplateFile ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [New-AzResourceGroupDeployment], Exception
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet

New-AzResourceGroupDeployment : 1:23:21 PM - Error: Code=InvalidContentLink; Message=Unable to download deployment content from
'https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/nestedtemplates/kibana-resources.json'. The tracking Id is '4aa3e344-4936-4673-b722-455b9fbe6dcc'. Please see
https://aka.ms/arm-deploy for usage details.
At line:1 char:1
+ New-AzResourceGroupDeployment -ResourceGroupName DevOps -TemplateFile ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [New-AzResourceGroupDeployment], Exception
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet

New-AzResourceGroupDeployment : The deployment validation failed
At line:1 char:1
+ New-AzResourceGroupDeployment -ResourceGroupName DevOps -TemplateFile ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [New-AzResourceGroupDeployment], InvalidOperationException
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with azuredeploy.json and azuredeploy.parameters.json, then inspect the nested template links reported in the deployment error, including nestedtemplates/master-nodes-resources.json and the other listed resources files. Run the provided New-AzResourceGroupDeployment command and verify that the referenced deployment content can be retrieved and validation completes without InvalidContentLink errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.