During a recent deploy we had a tentacle stuck at the “Acquire packages”.
Looking at the log the process was stuck at “Delta compression is enabled for package transfers from the Octopus Server to deployment targets”.
The step was using the Builtin Nuget feed on the Octopus Server.
A restart of the tentacle service fixed this but is this a known issue/bug?
Thanks for getting in touch! I’m not aware of a similar issue with package acquisition hanging for deployments. I hope you don’t mind providing some more context for me in case it helps?
Does this happen often?
Once rebooting the Tentacle, does it happen reliably/frequently afterwards?
How large are the packages you are sending?
How reliable is the connection to the Tentacle from the Octopus Server?
How fast is the connection to the Tentacle from the Octopus Server?
How long does the acquisition phase take on rough average?
If the problem is recurring you could try using an external NuGet feed, and on the Package Step, choose the option to download directly on the Tentacle. This pattern can help take load from the Octopus Server because each Tentacle can just download its own copy of the packages directly from the feed. Some customers find this helps them a lot, but as with all of these choices, it does come with some tradeoffs. This pattern helps when you have a LOT of Tentacles, or if you can provide a CDN local to the Tentacles for the packages to replicate into.
Thanks for getting back to me! It sounds like everything should work without any problems, so it would be really nice for me to investigate further and understand if there’s a bug waiting to be discovered.
We ran into this same issues yesterday. It may have been trigger by a deployment being queued on the tentacle (behind other deployments) and someone losing patience and canceling it. We attempted to create a new release with a new nuget package. That did not help. It was also resolved by restarting the tentacle service. Tentacle is on 3.5.2
I’m sorry, I hadn’t noticed your post until today! We have found and fixed a few issues where certain tasks would hang silently with no way to recover them - sounds like it could be similar to the issue you’ve reported.
I would recommend updating to the latest version of Octopus where we’ve fixed all of the known issues related to this behaviour.