2015-06-28

Hi,

I tried to install Octopus extension in Microsoft Asure
following this guide:
http://docs.octopusdeploy.com/display/OD/Azure+Virtual+Machines

The tentacle seems to be installed successfully, but the machine
doesn't appear in the specified environment. I checked the logs in
the folder
C:\WindowsAzure\Logs\Plugins\Microsoft.Powershell.DSC\1.3.0.0.

I've found the following:

[2015-06-28T08:18:17] Creating working directory:
C:\Packages\Plugins\Microsoft.Powershell.DSC\1.3.0.0\DSCWork\Octopus.0

[2015-06-28T08:18:18] Downloading configuration package
[2015-06-28T08:18:18] Downloading
https://octodeploy.blob.core.windows.net/octopus-azure/Octopus.zip
to C:\Packag

es\Plugins\Microsoft.Powershell.DSC\1.3.0.0\DSCWork\Octopus.0\Octopus.zip

[2015-06-28T08:18:20] Extracting Octopus.zip [2015-06-28T08:18:21]
Installing custom DSC resource modules to C:\Program
Files\WindowsPowerShell\Modules

[2015-06-28T08:18:21] Installing custom DSC resource module
OctopusDSC [2015-06-28T08:18:21] Applying DSC configuration under
C:\Packages\Plugins\Microsoft.Powershell.DSC\1.3.0.0\DSCWork\Octopus.0

[2015-06-28T08:18:22] Writing handler status to
C:\Packages\Plugins\Microsoft.Powershell.DSC\1.3.0.0\Status\0.status

[2015-06-28T08:18:22] Executing configuration script:
C:\Packages\Plugins\Micro
soft.Powershell.DSC\1.3.0.0\DSCWork\Octopus.0\Octopus.ps1

[2015-06-28T08:18:24] Preparing configuration data
C:\Packages\Plugins\Microsoft.Powershell.DSC\1.3.0.0\bin\DscExtensionHandler.ps

1 : Error enabling the DSC Extension: You cannot call a method on
a

null-valued expression.

At line:1 char:1

+ .\bin\DscExtensionHandler.ps1 -Verbose *>
C:\WindowsAzure\Logs\Plugin ... +
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorExcep
tion + FullyQualifiedErrorId :
Microsoft.PowerShell.Commands.WriteErrorExceptio
n,DscExtensionHandler.ps1

What's wrong?

Show more