Azure / azure-quickstart-templates

Azure Quickstart Templates
https://aka.ms/azqst
MIT License
14.08k stars 16.13k forks source link

Cannot use docker-swarm-cluster template #2315

Open phagunbaya opened 8 years ago

phagunbaya commented 8 years ago
info:    Resource 'swarm-masters-firewall' of type 'Microsoft.Network/networkSecurityGroups' provisioning status is Succeeded
info:    Resource 'swarm-nodes-firewall' of type 'Microsoft.Network/networkSecurityGroups' provisioning status is Succeeded
info:    Resource 'log5uv4kclahg' of type 'Microsoft.Storage/storageAccounts' provisioning status is Succeeded
error:   Deployment provisioning state was not successful
error:   Cannot parse the request.
error:   Cannot parse the request.
error:   Cannot parse the request.
data:    DeploymentName     : phago-test-1
data:    ResourceGroupName  : phago-test-1
data:    ProvisioningState  : Failed
data:    Timestamp          : Wed Aug 03 2016 19:08:37 GMT+0530 (IST)
data:    Mode               : Incremental
data:    CorrelationId      : 54f6b9c4-7d14-4b78-922f-40f689c5b540
data:    DeploymentParameters :
data:    Name          Type          Value    
data:    ------------  ------------  ---------
data:    sshPublicKey  SecureString  undefined
data:    nodeCount     Int           3        
info:    group deployment create command OK

There are no master nodes, but if I set masterNodeCount to be 1 instead of 3 it succeeds.

Repo steps:

MCKLMT commented 7 years ago

I believe you should update the azuredeploy.parameters.json file with your sshPublicKey.

phagunbaya commented 7 years ago

@MCKLMT azuredeploy.parameters.json has the correct sshPublicKey. The issue I was facing was - if I set masterNodeCount to be 1 instead of 3 deployment succeeds.