Deployment to Azure VM

I am trying to deploy source code to Azure VM. I followed the http://docs.octopusdeploy.com/display/OD/Azure+Virtual+Machines

Our octopus server is an on - prem VM but my deployment server is an azure VM.

I get the following error

Perform operation ‘Invoke CimMethod’ with following parameters, ‘‘methodName’ = SendConfigurationApply,‘className’ = MSFT_DSCLocalConfigurationManager,‘namespaceName’ = root/Microsoft/Windows/DesiredStateConfiguration’.\r\nAn LCM method call arrived from computer V3-HOTFIX with user sid S-1-5-18.\r\n[V3-HOTFIX]: LCM: [ Start Set ]\r\n[V3-HOTFIX]: LCM: [ Start Resource ] [[cTentacleAgent]OctopusTentacle]\r\n[V3-HOTFIX]: LCM: [ Start Test ] [[cTentacleAgent]OctopusTentacle]\r\n[V3-HOTFIX]: [[cTentacleAgent]OctopusTentacle] Checking if Tentacle is installed\r\n[V3-HOTFIX]: [[cTentacleAgent]OctopusTentacle] Tentacle present: True\r\n[V3-HOTFIX]: [[cTentacleAgent]OctopusTentacle] Checking for Windows Service: OctopusDeploy Tentacle\r\n[V3-HOTFIX]: [[cTentacleAgent]OctopusTentacle] Windows service: Not installed\r\n[V3-HOTFIX]: [[cTentacleAgent]OctopusTentacle] Ensure: Absent vs. Present = False\r\n[V3-HOTFIX]: LCM: [ End Test ] [[cTentacleAgent]OctopusTentacle] in 0.2970 seconds.\r\n[V3-HOTFIX]: LCM: [ Start Set ] [[cTentacleAgent]OctopusTentacle]\r\n[V3-HOTFIX]: [[cTentacleAgent]OctopusTentacle] Checking if Tentacle is installed\r\n[V3-HOTFIX]: [[cTentacleAgent]OctopusTentacle] Tentacle present: True\r\n[V3-HOTFIX]: [[cTentacleAgent]OctopusTentacle] Checking for Windows Service: OctopusDeploy Tentacle\r\n[V3-HOTFIX]: [[cTentacleAgent]OctopusTentacle] Windows service: Not installed\r\n[V3-HOTFIX]: [[cTentacleAgent]OctopusTentacle] Configuring Tentacle…\r\n[V3-HOTFIX]: [[cTentacleAgent]OctopusTentacle] Installing Tentacle…\r\n[V3-HOTFIX]: [[cTentacleAgent]OctopusTentacle] Beginning Tentacle installation\r\n[V3-HOTFIX]: [[cTentacleAgent]OctopusTentacle] Installing MSI…\r\n[V3-HOTFIX]: [[cTentacleAgent]OctopusTentacle] Tentacle MSI installer returned exit code\r\n[V3-HOTFIX]: LCM: [ End Set ] [[cTentacleAgent]OctopusTentacle] in 1.4590 seconds.\r\nPowerShell DSC resource cTentacleAgent failed to execute Set-TargetResource functionality with error message: Installation of the Tentacle MSI failed; MSIEXEC exited with code: . View the log at C:\Octopus\Tentacle.msi.log \r\n[V3-HOTFIX]: LCM: [ End Set ]\r\nThe SendConfigurationApply function did not succeed.\r\nOperation ‘Invoke CimMethod’ complete.\r\nTime taken for configuration job to complete is 5.301 seconds",

Hi Madhavi,

Thanks for getting in touch.

I can see from your DSC logs that you have Windows Management Framework 5.0 installed. There is a bug in the WMF 5 preview which prevents Windows Services from executing PowerShell. This unfortunately breaks the Tentacle service.

You will need to uninstall the WMF 5.0 preview.

Please let us know if this resolves your problem?

Regards,
Michael R