Hi, we are setting up a test environment, we rancherOS on 3 bare metal servers, and have setup percona cluster on each. Next we successfully launched rancher on one node. We dont have an external load balancer, we have set up round robin dns for the 3 machines to be accessible from a single domain. However, this seems to be a problem when trying to run the rancher-ha.sh script. The logs are just spewing:
Can not launch agent right now: Server not available at http://172.17.0.1:18080/ping:" component=service
Is it simply not do-able? or is there a work around or indeed is something else a miss?
all latest code. (v0.5.0 // rancher/server:v1.1.0)
I have tried editing the rancher-ha.sh script to add -p 8080:8080 -p 443:443 -p 18080:18080 to the docker run command but this made no change. Im not quite sure what the route cause is?
I have also tried setting docker run -e CATTLE_AGENT_IP=host_ip… and export CATTLE_AGENT_IP=host_ip both in rancher_ha.
I also tried setting the CATTLE_HA_HOST_REGISTRATION_URL to include the :8080 and to run on http since round robin would not be doing the same port forwarding as a load balancer.
I have spent two days solid tearing this up and down it is so frustrating.