Azure / Azure/azure-quickstart-templates
Template deploy has failed
- Dominant language
- Bicep
- Stars
- 14.9k
- Forks
- 16.2k
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 6
Description
[SonarQube for Azure]
### Issue Details
Deployment of the template has failed with following errors:
{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.","details":[{"code":"Conflict","message":"{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n \"details\": [\r\n {\r\n \"code\": \"VMExtensionProvisioningError\",\r\n \"message\": \"VM has reported a failure when processing extension 'configureAppVM_DSC'. Error message: \\\"DSC Configuration 'Main' completed with error(s). Following are the first few: PowerShell DSC resource Grani_Download failed to execute Set-TargetResource functionality with error message: Status Code returns ''. Stop download stream from URI : 'https://sonarsource.bintray.com/Distribution/sonarqube/sonarqube-5.6.4.zip' The SendConfigurationApply function did not succeed.\\\".\"\r\n }\r\n ]\r\n }\r\n}"}]}
OPERATION IDB5A75931E983113D
TRACKING ID79f1ea8a-96f9-4f74-9092-48c00af03a7c
STATUSConflict
PROVISIONING STATEFailed
TIMESTAMP02/06/2017, 15:15:03
DURATION8 minutes 42 seconds
TYPEMicrosoft.Compute/virtualMachines/extensions
RESOURCE ID/subscriptions/47bdd770-6069-4557-bf86-2a99da4b9e70/resourceGroups/SonarQube/providers/Microsoft.Compute/virtualMachines/sonarqubevm/extensions/configureAppVM_DSC
STATUSMESSAGE{
"status": "Failed",
"error": {
"code": "ResourceDeploymentFailure",
"message": "The resource operation completed with terminal provisioning state 'Failed'.",
"details": [
{
"code": "VMExtensionProvisioningError",
"message": "VM has reported a failure when processing extension 'configureAppVM_DSC'. Error message: \"DSC Configuration 'Main' completed with error(s). Following are the first few: PowerShell DSC resource Grani_Download failed to execute Set-TargetResource functionality with error message: Status Code returns ''. Stop download stream from URI : 'https://sonarsource.bintray.com/Distribution/sonarqube/sonarqube-5.6.4.zip' The SendConfigurationApply function did not succeed.\"."
}
]
}
}
RESOURCEsonarqubevm/configureAppVM_DSC
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the SonarQube for Azure template deployment and the configureAppVM_DSC extension error, then inspect the PowerShell DSC Main configuration and the Grani_Download step. Verify whether the referenced SonarQube 5.6.4 URI is reachable and reproduce the deployment; done means the template deploys without the VM extension provisioning failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, powershell
- Domain
- cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100