Weird tentacle comms error

Hi,

One of my tentacles (oh matron!) has suddenly started going wrong. On a health check I get the below, but when I go onto the server the tentacle is running fine. I’ve restarted it with no effect, but with no good info to go on in the error I’m a little stuck now. Any help?

Task ID: ServerTasks-8695
Task status: Failed
Task queued: 12 July 2016 08:26
Task started: 12 July 2016 08:26
Task duration: 14 seconds
Server version: 3.3.17+Branch.master.Sha.fe82c1df369e647fd35af43aaf1c4524c4d466aa

                | == Failed: Check MyServer01 health ==

08:26:20 Info | Starting health check for a limited set of deployment targets
08:26:20 Info | 1 machines will have their health checks taken.
08:26:34 Fatal | The health check failed. One or more deployment targets were not available.
|
| == Failed: Check deployment target: MyServer01 ==
08:26:34 Info | Host Name: MyServer01
08:26:34 Info | Running As: WORKGROUP\SYSTEM (Local Administrator: True)
08:26:34 Error | Get-WmiObject :
08:26:34 Error | At C:\Octopus\Work\20160712072610-1\Bootstrap.ps1:34 char:16
08:26:34 Error | + Get-WmiObject <<<< win32_LogicalDisk -ErrorAction Stop | ? { ($.Dr
08:26:34 Error | iveType -eq 3) -and ($
.FreeSpace -ne $null)} | % { CheckDriveCapacity @{Name
08:26:34 Error | =$.DeviceId; FreeSpace=$.FreeSpace} }
08:26:34 Error | + CategoryInfo : InvalidOperation: (:slight_smile: [Get-WmiObject], COMExcept
08:26:34 Error | ion
08:26:34 Error | + FullyQualifiedErrorId : GetWMICOMException,Microsoft.PowerShell.Commands
08:26:34 Error | .GetWmiObjectCommand
08:26:34 Fatal | The remote script failed with exit code 1
08:26:34 Verbose | The remote script failed with exit code 1
| Octopus.Shared.Tasks.ActivityFailedException: The remote script failed with exit code 1
| at Octopus.Worker.Scripting.ScriptResult.EnsureSuccessful() in Y:\work\refs\tags\3.3.17\source\Octopus.Worker\Scripting\ScriptResult.cs:line 71
| at Octopus.Server.Orchestration.Health.MachineTaskController.PerformTask(Machine machine) in Y:\work\refs\tags\3.3.17\source\Octopus.Server\Orchestration\Health\MachineTaskController.cs:line 86
| Octopus.Server version 3.3.17 (3.3.17+Branch.master.Sha.fe82c1df369e647fd35af43aaf1c4524c4d466aa)
|
| == Failed: Summary ==
08:26:34 Info | OFFLINE:
08:26:34 Info | - MyServer01 at https://192.168.1.17:10933/, error: The remote script failed with exit code 1
08:26:34 Fatal | One or more deployment targets were not online. Please see the output Log for details.

Hi Matthew,

Thanks for getting in touch.

Could you please do the following?

  1. Trigger a health check on that machine
  2. Send us the health check task log http://docs.octopusdeploy.com/display/OD/Get+the+raw+output+from+a+task
  3. Send us that Tentacle’s log file. On a default install it should be on C\Octopus\Logs

Thanks,
Dalmiro

Hi Dalmiro,

Annoyingly it’s fixed itself now and my anonymisation of the ticket contents has meant I can’t remember which server it was now!

However, the error log was from a health check and I did check the tentacle log file which just said the same thing.

As I can’t prove it I’m happy to close the problem until it happens again, but hopefully with won’t :wink:

Thanks anyways