Hey
I’m having trouble updating a VM with an ARM template in azure. I successfully installed the VM to start with but when I tried to re-deploy the template to update some settings it failed with the following:
Handler ‘OctopusDeploy.Tentacle.OctopusDeployWindowsTentacle’ has
reported failure for VM Extension ‘OctopusDeployWindowsTentacle’ with terminal error code ‘1008’ and error message:
'Update failed for plugin
I noticed that when the tentacle first registered with our Octo server it updated it to the latest version, so I suspect that this issue is because it cant downgrade the tentacle to the version in the arm template. But im not sure how to fix.
Template:
{
"name": "OctopusDeploy.OctopusDeployWindowsTentacle-20170525165211",
"apiVersion": "2015-01-01",
"type": "Microsoft.Resources/deployments",
"properties": {
"mode": "incremental",
"templateLink": {
"uri": "https://gallery.azure.com/artifact/20161101/OctopusDeploy.OctopusDeployWindowsTentacle-arm.1.0.0/Artifacts/MainTemplate.json"
},
"parameters": {
"octopusServerUrl": {
"value": "qq.con"
},
"apiKey": {
"value": "[parameters('octopusApiKey')]"
},
"environments": {
"value": "EnvSomething"
},
"roles": {
"value": "Monitor"
},
"communicationMode": {
"value": "Listen"
},
"port": {
"value": 10933
},
"vmName": {
"value": "a-name"
},
"location": {
"value": "westus"
}
}
}
}