Azure / Azure/azure-quickstart-templates

SonarQube ARM template with the 'Deploy on Azure' 1-click deployment method due to DSC SendConfigurationApply failure.

Open
#3,744 0 comments 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

[sonarqube-azuresql](https://github.com/Azure/azure-quickstart-templates/tree/master/sonarqube-azuresql)

### Issue Details

Failed to deploy SonarQube ARM template with the 'Deploy on Azure' 1-click deployment method.

Failure error:

"properties": {
"statusCode": "Conflict",
"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.\\\".\"}]}}"

### Repro steps (*if necessary, delete otherwise*)
1. Click [Deploy on Azure](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Fsonarqube-azuresql%2Fazuredeploy.json) on the sonarqube-azuresql github page
2. Enter parameters
3. Fails to deploy

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the sonarqube-azuresql template and its azuredeploy.json entry point, then reproduce the one-click deployment using the provided steps. Inspect the configureAppVM_DSC failure and the Grani_Download request for the SonarQube 5.6.4 ZIP. Done means the ARM deployment completes without the DSC SendConfigurationApply error.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.