Azure / Azure/azure-quickstart-templates

drone-ubuntu-vm: fails with error

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

[`drone-ubuntu-vm`](https://github.com/Azure/azure-quickstart-templates/tree/master/drone-ubuntu-vm) deployment is failing with various errors:

```
error: Could not find member 'destinationVhdsContainer' on object of type 'StorageProfile'. Path 'properties.storageProfile.destinationVhdsContainer', line 1, position 320.
error: Could not find member 'osDisk' on object of type 'Properties'. Path 'properties.osDisk', line 1, position 381.
```

cc: @anweiss PTAL

Full message:

```
info: Resource 'myVMNic' of type 'Microsoft.Network/networkInterfaces' provisioning status is Succeeded
info: Resource 'myPublicIPTest' of type 'Microsoft.Network/publicIPAddresses' provisioning status is Succeeded
info: Resource 'droneCINET' of type 'Microsoft.Network/virtualNetworks' provisioning status is Succeeded
info: Resource 'ahmet23jk4kl2' of type 'Microsoft.Storage/storageAccounts' provisioning status is Succeeded
error: Deployment provisioning state was not successful
error: The request message is invalid.
error: Could not find member 'destinationVhdsContainer' on object of type 'StorageProfile'. Path 'properties.storageProfile.destinationVhdsContainer', line 1, position 320.
error: Could not find member 'osDisk' on object of type 'Properties'. Path 'properties.osDisk', line 1, position 381.
data: DeploymentName : azuredeploy
data: ResourceGroupName : ahmet-test2
data: ProvisioningState : Failed
data: Timestamp : 2016-08-10T21:52:25.962Z
data: Mode : Incremental
data: CorrelationId : ee5829ee-0ab5-48e9-b5b5-b859618b5fb4
data: DeploymentParameters :
data: Name Type Value
data: --------------------- ------------ -------------
data: newStorageAccountName String ahmet23jk4kl2
data: adminUsername String alp
data: adminPassword SecureString undefined
data: vmDnsName String dronevm01
data: githubClientKey String clientkey
data: githubSecret SecureString undefined
info: group deployment create command OK
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked drone-ubuntu-vm template and inspect the VM properties at the storageProfile and osDisk paths named in the deployment errors. Reproduce the deployment if possible, then verify that the template uses properties accepted by the target Azure API and deploys without these validation errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud
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.