Disable tentacle

if a tentacle goes offline I get in the event log a stream of messages like below:

I would like to DISABLE a tentacle in ui… - mainly because we don’t deploy there to often and we don’t care. When we do need it I will go and turn it on.

=======================

The description for Event ID 0 from source Octopus cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

2012-12-04 16:15:06,215 [5] ERROR Octopus [(null)] - System.AggregateException: One or more errors occurred. —> System.AggregateException: One or more errors occurred. —> Octopus.Shared.Activities.ActivityFailedException: One or more Tentacles were not online. Please see the output log for details.

Server stack trace:
at Octopus.Server.Tasks.Health.LogSummaryActivity.b__0() in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Server\Tasks\Health\LogSummaryActivity.cs:line 17
at Octopus.Shared.Activities.Activity.NewThread.Execute() in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Shared\Activities\Activity.cs:line 79
at System.Threading.Tasks.Task.Execute()

Exception rethrown at [0]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Octopus.Shared.Activities.ActivityRuntime.d__0.MoveNext() in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Shared\Activities\ActivityRuntime.cs:line 52

Exception rethrown at [1]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Octopus.Server.Tasks.Health.HealthControllerActivity.d__6.MoveNext() in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Server\Tasks\Health\HealthControllerActivity.cs:line 62
— End of inner exception stack trace —
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at System.Threading.Tasks.Task.Execute()
— End of inner exception stack trace —
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at Octopus.Server.Tasks.TaskRunner.Execute(Task task) in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Server\Tasks\TaskRunner.cs:line 54
—> (Inner Exception #0) System.AggregateException: One or more errors occurred. —> Octopus.Shared.Activities.ActivityFailedException: One or more Tentacles were not online. Please see the output log for details.

Server stack trace:
at Octopus.Server.Tasks.Health.LogSummaryActivity.b__0() in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Server\Tasks\Health\LogSummaryActivity.cs:line 17
at Octopus.Shared.Activities.Activity.NewThread.Execute() in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Shared\Activities\Activity.cs:line 79
at System.Threading.Tasks.Task.Execute()

Exception rethrown at [0]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Octopus.Shared.Activities.ActivityRuntime.d__0.MoveNext() in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Shared\Activities\ActivityRuntime.cs:line 52

Exception rethrown at [1]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Octopus.Server.Tasks.Health.HealthControllerActivity.d__6.MoveNext() in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Server\Tasks\Health\HealthControllerActivity.cs:line 62
— End of inner exception stack trace —
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at System.Threading.Tasks.Task.Execute()
—> (Inner Exception #0) Octopus.Shared.Activities.ActivityFailedException: One or more Tentacles were not online. Please see the output log for details.

Server stack trace:
at Octopus.Server.Tasks.Health.LogSummaryActivity.b__0() in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Server\Tasks\Health\LogSummaryActivity.cs:line 17
at Octopus.Shared.Activities.Activity.NewThread.Execute() in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Shared\Activities\Activity.cs:line 79
at System.Threading.Tasks.Task.Execute()

Exception rethrown at [0]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Octopus.Shared.Activities.ActivityRuntime.d__0.MoveNext() in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Shared\Activities\ActivityRuntime.cs:line 52

Exception rethrown at [1]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Octopus.Server.Tasks.Health.HealthControllerActivity.d__6.MoveNext() in c:\BuildAgent\work\e6923628be6eaf72\source\Octopus.Server\Tasks\Health\HealthControllerActivity.cs:line 62<—
<—

the message resource is present but the message is not found in the string/message table

Thanks for the suggestion, I’ve added it here:

https://trello.com/card/ability-to-disable-a-tentacle/4e907de70880ba000079b75c/245

Paul

This feature is very useful for us as we frequently engage in Disaster Recovery exercises where we simply unplug nodes from the network. When this happens we have to manually move servers into a dummy environment (which we have named Offline) as deploying to the production environment fails (since some tentacles are not reachable).

Even better I would like to temporarily delegate roles of disabled servers to a different node. The delegation would end when the node is eventually brought back online, as per suggestion 323. The delegated roles could be highlighted in a different colour on the Environments page.