Hi Guys,
Just upgraded from 2.6 to 3.0, upgrade seems to go fine. Using my script from version 2.6 to re-configure some of the tentacles and getting this error when running a remove of tentacle record from the Octopus Server:
Octopus Deploy: Tentacle version 3.0.10.2278
Error: The Tentacle matches more than one machine on the server. To deregister all of these machines specify the --multiple flag.
I’ve tried to specify that flag and it removed many records, not just the one I specified.
There is also a log in AppData which have following:
2015-08-18 11:26:33.2548 1 FATAL System.ArgumentException: The Tentacle matches more than one machine on the server. To deregister all of these machines specify the --multiple flag.
at Octopus.Tentacle.Commands.DeregisterMachineCommand.Start() in y:\work\refs\heads\master\source\Octopus.Tentacle\Commands\DeregisterMachineCommand.cs:line 40
at Octopus.Shared.Startup.AbstractCommand.Octopus.Shared.Startup.ICommand.Start(String[] commandLineArguments, ICommandRuntime commandRuntime, OptionSet commonOptions) in y:\work\refs\heads\master\source\Octopus.Shared\Startup\AbstractCommand.cs:line 57
at Octopus.Shared.Startup.ConsoleHost.Run(Action`1 start, Action shutdown) in y:\work\refs\heads\master\source\Octopus.Shared\Startup\ConsoleHost.cs:line 36
2015-08-18 11:26:33.3749 1 FATAL The Tentacle matches more than one machine on the server. To deregister all of these machines specify the --multiple flag.
Script is run from the server where tentacle is installed, registering works fine, but de-registering is not, removing them manually from the server for now where required.
Powershell script line that runs is: & $tentacleExe deregister-from --instance $($octopusAgent.hostname) --server “http://servername.company.com:10081” --apiKey $APIkey --console 2>&1 | out-host
Instance name here is hostname, like SQLAU01CITY0008, which works fine with registering.
Octopus server: 3.0.13.2386
Octopus Tentacle: 3.0.10.2278
Running on SQL 2008 and Windows Server 2008R2.