Rancher version: v1.2.1
OS: RHEL 7.2
Docker version: 1.12.3
Setup: Simple test setup (1 server + local MytSQL + 2 nodes)
It comes up almost ok, apart from three things … any ideas ?
-
The scheduler container doesn’t start, it’s just stuck initializing. The logs show this :-
18/12/2016 22:31:34time=“2016-12-18T22:31:33Z” level=info msg=“Listening for health checks on 0.0.0.0:80/healthcheck”
18/12/2016 22:31:34time=“2016-12-18T22:31:33Z” level=info msg=“Connecting to cattle event stream.”
18/12/2016 22:31:34time=“2016-12-18T22:31:33Z” level=info msg=“Subscribing to metadata changes.”
18/12/2016 22:31:34time=“2016-12-18T22:31:34Z” level=info msg=“Adding resource pool [instanceReservation] with total 1000000 and used 9 for host e5f1c264-f1ca-4ace-bc3e-927459bd9add”
18/12/2016 22:31:34time=“2016-12-18T22:31:34Z” level=info msg=“Adding resource pool [cpuReservation] with total 2000 and used 0 for host e5f1c264-f1ca-4ace-bc3e-927459bd9add”
18/12/2016 22:31:34time=“2016-12-18T22:31:34Z” level=info msg=“Adding resource pool [memoryReservation] with total 3704619008 and used 0 for host e5f1c264-f1ca-4ace-bc3e-927459bd9add”
18/12/2016 22:31:34time=“2016-12-18T22:31:34Z” level=info msg=“Adding resource pool [storageSize] with total 5818134 and used 0 for host e5f1c264-f1ca-4ace-bc3e-927459bd9add”
18/12/2016 22:31:34time=“2016-12-18T22:31:34Z” level=info msg=“Initializing event router” workerCount=100
18/12/2016 22:31:34time=“2016-12-18T22:31:34Z” level=info msg=“Connection established”
18/12/2016 22:31:34time=“2016-12-18T22:31:34Z” level=info msg=“Starting websocket pings”
18/12/2016 22:49:59time=“2016-12-18T22:49:59Z” level=info msg=“Adding resource pool [instanceReservation] with total 1000000 and used 4 for host 0cdada1a-1e59-4889-9939-3a2d2329839f”
18/12/2016 22:49:59time=“2016-12-18T22:49:59Z” level=info msg=“Adding resource pool [cpuReservation] with total 2000 and used 0 for host 0cdada1a-1e59-4889-9939-3a2d2329839f”
18/12/2016 22:49:59time=“2016-12-18T22:49:59Z” level=info msg=“Adding resource pool [memoryReservation] with total 3704619008 and used 0 for host 0cdada1a-1e59-4889-9939-3a2d2329839f”
18/12/2016 22:49:59time=“2016-12-18T22:49:59Z” level=info msg=“Adding resource pool [storageSize] with total 5817597 and used 0 for host 0cdada1a-1e59-4889-9939-3a2d2329839f” -
I created a global scope load-balancer (linked to an nginx service (port 80:80) that came up no problem – pulled from ECR) but it is also stuck initializing’. It just exposes port 80 (no SSL) just keeping stuff simple for now. Log shows this :-
18/12/2016 22:39:13time=“2016-12-18T22:39:13Z” level=info msg=“KUBERNETES_URL is not set, skipping init of kubernetes controller”
18/12/2016 22:39:13time=“2016-12-18T22:39:13Z” level=info msg=“Starting Rancher LB service”
18/12/2016 22:39:13time=“2016-12-18T22:39:13Z” level=info msg=“LB controller: rancher”
18/12/2016 22:39:13time=“2016-12-18T22:39:13Z” level=info msg=“LB provider: haproxy”
18/12/2016 22:39:13time=“2016-12-18T22:39:13Z” level=info msg=“starting rancher controller”
18/12/2016 22:39:13time=“2016-12-18T22:39:13Z” level=info msg=“Healthcheck handler is listening on :10241”
18/12/2016 22:39:16time=“2016-12-18T22:39:16Z” level=info msg=" – starting haproxy\n[ALERT] 352/223916 (27) : Starting frontend GLOBAL: cannot bind UNIX socket [/run/haproxy/admin.sock]\n"
18/12/2016 22:39:16time=“2016-12-18T22:39:16Z” level=info msg=" – reloading haproxy config with the new config changes\n[WARNING] 352/223916 (38) : config : ‘option forwardfor’ ignored for proxy ‘default’ as it requires HTTP mode.\n" -
On the first host, the health-check container is running fine, but the one on the second is stuck initializing. The logs show this :-
18/12/2016 22:50:24time=“2016-12-18T22:50:23Z” level=info msg=“Starting haproxy listener”
18/12/2016 22:50:28time=“2016-12-18T22:50:28Z” level=info msg=“healthCheck – starting haproxy\n * Starting haproxy haproxy\n …done.\n”
18/12/2016 22:50:28time=“2016-12-18T22:50:28Z” level=info msg=“Scheduling apply config”
18/12/2016 22:50:28time=“2016-12-18T22:50:28Z” level=info msg=“healthCheck – reloading haproxy config with the new config changes\n[WARNING] 352/225028 (31) : config : ‘option forwardfor’ ignored for proxy ‘web’ as it requires HTTP mode.\n”
18/12/2016 22:50:38time=“2016-12-18T22:50:38Z” level=info msg=“Scheduling apply config”
18/12/2016 22:50:38time=“2016-12-18T22:50:38Z” level=info msg=“healthCheck – no changes in haproxy config\n”
18/12/2016 22:51:52time=“2016-12-18T22:51:52Z” level=info msg=“Starting haproxy listener”
18/12/2016 22:51:52time=“2016-12-18T22:51:52Z” level=info msg=“healthCheck – starting haproxy\n[WARNING] 352/225152 (16) : config : ‘option forwardfor’ ignored for proxy ‘web’ as it requires HTTP mode.\n”
18/12/2016 22:51:52time=“2016-12-18T22:51:52Z” level=info msg=“Scheduling apply config”
18/12/2016 22:51:52time=“2016-12-18T22:51:52Z” level=info msg=“healthCheck – no changes in haproxy config\n”
Here’s a picture :-