This explains what’s going on, but I’d like to add a feature request: Please add a new property to the configuration that allows me to set the tentacle domain name.
To add a little more context, my octopus server and my tentacle live in different worlds (different subscriptions, let alone networks), so I can’t setup any networking rules to just point to a machine name.
For now the solution will have to be polling tentacles
I’ve just pushed live a new version (2.0.65) that allows you to specify the PublicHostNameConfiguration ie, how the Server should address the Tentacle.
Valid options are PublicIP (the default), FQDN, ComputerName and Custom. If you specify Custom, you can provide the CustomPublicHostName as whatever you like.
This has worked a treat! I tried to use the FQDN setting first, however I don’t think the Azure VM had the right info on the machine itself (it just put the machine name and then a dot eg “my-machine.”.
Next I tried the Custom setting and that worked perfectly. For clarity for anyone else landing here, I used the following config:
The FQDN mode works off the machine name combined with the domain name - so it will work well for domain joined machines, but unfortunately its not that easy to determine, especially as it can be behind a load balancer etc. I might add a note about this to the docs.