Azure / Azure/azure-quickstart-templates
HDInsight pre-cluster validation
- Dominant language
- Bicep
- Stars
- 14.9k
- Forks
- 16.2k
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 6
Description
when I try to deploy HDInsight using this template
https://github.com/Azure/azure-quickstart-templates/blob/master/hdInsight-apache-spark/azuredeploy.json
``` powershell
New-AzureRmResourceGroupDeployment `
-Name "ExampleDeployment" `
-ResourceGroupName $ResourceGroupName `
-TemplateFile $TemplateFile `
-TemplateParameterFile $TemplateParameterFile `
-Force -Verbose
```
I get
```
New-AzureRmResourceGroupDeployment : 7:43:52 PM - Pre cluster creation validation failed: Virtual network validation
failed for cluster rre due to user errorValidation Report: Virtual network GUID /subscriptions/ea16b3aa-49bd-4f5c-
b22-8dc58d5293ee/resourceGroups/hdinsight/providers/Microsoft.Network/virtualNetworks/rre-vnet provided by the
user doesn't belong to user subscription ea16b3aa-49bd-4f5c-8b22-8dc58d5293ee. Exception:
HDInsight\Scripts\Deploy-AzureResourceGroup.ps1:17 char:1
+ New-AzureRmResourceGroupDeployment `
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
as you can see from the Virtual network ID, is matches the subscription ID.
And if I chweck from the UI -- the VNet is created.
p.s. It feels like HDInsight does not support networks, created using ARM.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with hdInsight-apache-spark/azuredeploy.json and reproduce the deployment using the shown New-AzureRmResourceGroupDeployment command. Inspect the reported virtual network validation failure and compare the ARM-created VNet resource with the subscription identified in the error. Done means the template deploys successfully or the incompatibility is documented with a confirmed cause.
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
- Mostly clear
- Newbie friendliness
- 25/100