Server / Agent version compatibility

Hello,

I’ve setup a bare metal machine with Rancher Server on RancherOS. I have the management UI running on 8080. Great. Tried adding a Host using the Bash command given by the management UI (Infrastructure > Hosts > Add Host).

The host never shows up in the GUI.

‘docker ps’ on this machine shows:

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e20dc2fc52d7 rancher/agent:v0.8.2 “/run.sh http://serve” 5 minutes ago Up 5 minutes modest_spence
e5f665af9102 rancher/server:v0.56.0-rc3 “/usr/bin/s6-svscan /” 11 minutes ago Up 7 minutes 3306/tcp, 0.0.0.0:8080->8080/tcp nostalgic_meninsky

I have a hunch that my agent/server versions are not compatible. Can someone advise? Where can I find the information regarding which version of each play nicely with each other?

Thank you

You can check either the Announcements page or the Releases page to find your exact Rancher server release. In the release notes, we always indicate the compatible versions.

If you pick the command from the UI (custom command option) then it will always pick the correct version of Rancher agent.

After you run the rancher/agent command, you should end up with 3 rancher agent containers. One that is docker named one, one named rancher-agent-instance and one named rancher-agent. It looks strange that you just have the docker named rancher/agent container running. Did you alter the command at all when you went to launch rancher-agent?

http://docs.rancher.com/rancher/faqs/troubleshooting/#what-are-reasons-why-rancher-agent-would-fail-to-start