You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The scheduler uses the server.server-address to connect to the orchestrator server. This is documented as: The public ip address of the server. This is required for example to inject the inmanta agent in virtual machines at boot time. This setting is actually no longer useful because we no longer start agents remotely
However, in setup where you do not set bind-address to the public ip or you use the external ip of the loadbalancer the scheduler will not be able to connect and it does not clearly say this in log messages.
The setup that caused this was the following:
cloudflared on the same host
bind-address set to 127.0.0.1
server-address to the public hostname orchestrator.example.com
The only hint in the logs was the agent and the server logs complaining about connection timeout. This was solved by setting server-address to 127.0.0.1
proposal
connect to the bind-adress, except if it is 0.0.0.0, then we connect to 127.0.0.1
make sure the error reporting is clear when the scheduler is not starting (e.g. refer to the correct log file from the server log)
The text was updated successfully, but these errors were encountered:
The scheduler uses the server.server-address to connect to the orchestrator server. This is documented as:
The public ip address of the server. This is required for example to inject the inmanta agent in virtual machines at boot time.
This setting is actually no longer useful because we no longer start agents remotelyHowever, in setup where you do not set bind-address to the public ip or you use the external ip of the loadbalancer the scheduler will not be able to connect and it does not clearly say this in log messages.
The setup that caused this was the following:
The only hint in the logs was the agent and the server logs complaining about connection timeout. This was solved by setting server-address to 127.0.0.1
proposal
The text was updated successfully, but these errors were encountered: