Loadbalancer not starting

Docker version 1.12.1, build 23cf638
Rancher 1.1.0
rancher/agent:v1.0.2
rancher/agent-instance:v0.8.3

I’m trying to add a load balancer but it keeps restarting then at some point it dies

the agent gives me this :

time=“2016-09-22T22:19:21Z” level=“warning” msg="Rancher state watcher returned with error. Waiting 0 and then restarting. Error that caused exit: Failed health check."
time=“2016-09-22T22:20:19Z” level=“warning” msg="Rancher state watcher returned with error. Waiting 2 and then restarting. Error that caused exit: Failed health check."
time=“2016-09-22T22:22:29Z” level=“warning” msg="Rancher state watcher returned with error. Waiting 4 and then restarting. Error that caused exit: Failed health check."
2016-09-22 22:22:55,748 ERROR cattle [140421537508560] [utils.py:132] Could not get stats from cAdvisor at: http://127.0.0.1:9344/api/v1.2/machine
Traceback (most recent call last):
File “/var/lib/cattle/pyagent/cattle/utils.py”, line 126, in _get
with closing(urllib2.urlopen(url, timeout=5)) as resp:
File “/usr/local/lib/python2.7/urllib2.py”, line 154, in urlopen
return opener.open(url, data, timeout)
File “/usr/local/lib/python2.7/urllib2.py”, line 431, in open
response = self._open(req, data)
File “/usr/local/lib/python2.7/urllib2.py”, line 449, in _open
’_open’, req)
File “/usr/local/lib/python2.7/urllib2.py”, line 409, in _call_chain
result = func(*args)
File “/usr/local/lib/python2.7/urllib2.py”, line 1227, in http_open
return self.do_open(httplib.HTTPConnection, req)
File “/usr/local/lib/python2.7/urllib2.py”, line 1197, in do_open
raise URLError(err)
URLError:

When you say it’s not starting, is it stuck in initializing? Typically, this happens cause your cross host communication is broken.

Please check out our FAQs to try looking into cross host communication issues.

http://docs.rancher.com/rancher/v1.2/en/faqs/troubleshooting/#cross-host-communication