Azure / Azure/azure-quickstart-templates

Issue: Error executing quickstart on Azure

Open
#3,211 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

azure-Jenkins (aka.ms/azjenkins)

### Issue Details
Trying to create the Azure Quickstart by using the deploy to Azure button. Azure reports an error (see Error Details below) and the contents of /var/lib/waagent/custom-script/download/0/stderr are : ` /bin/sh: 1: Syntax error: ")" unexpected`

### Repro steps (*if necessary, delete otherwise*)
1. Go to aka.ms/azjenkins
2. Deploy to Azure
3. Complete form, agree to purchase, and deploy
4. Monitor deployment
5. Deployment fails with error

### Error Details

Operation Id 7F6E47D0559727F0
Tracking Id 1647fb9b-771b-44d9-b046-f8e8345567c5
Status Conflict
Provisioning State Failed
Timestamp ‎3‎/‎16‎/‎2017‎ ‎10‎:‎35‎:‎42‎ ‎AM
Duration 1 minute 5 seconds
Type Microsoft.Compute/virtualMachines/extensions
Resource Id /subscriptions/**OBFUSCATED**/resourceGroups/azjenkinsdemo/providers/Microsoft.Compute/virtualMachines/AzureJenkinsVM/extensions/downloadinitscript
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 'downloadinitscript'. Error message: \"Enable failed: failed to execute command: command terminated with exit status=2\"."
}
]
}
}
Resource AzureJenkinsVM/downloadinitscript

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at aka.ms/azjenkins and reproduce the deployment through the Azure portal. Inspect /var/lib/waagent/custom-script/download/0/stderr and the AzureJenkinsVM/downloadinitscript extension output, focusing on the reported shell syntax error. Done means the quickstart deployment completes without the extension failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, shell
Domain
cloud, devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.