Attaching to consulfabioexample_fabio_1, consulfabioexample_registrator_1, consulfabioexample_consulx1_1 fabio_1 | 2015/12/07 21:07:44 [INFO] Version 1.0.6 starting fabio_1 | 2015/12/07 21:07:44 [INFO] consul: Connecting to "consulx1:8500" in datacenter "dc1" consulx1_1 | ==> WARNING: BootstrapExpect Mode is specified as 1; this is the same as Bootstrap mode. fabio_1 | 2015/12/07 21:07:44 [INFO] consul: Registered fabio as "fabio-686774fe01b0-9998" consulx1_1 | ==> WARNING: Bootstrap mode enabled! Do not enable unless necessary registrator_1 | 2015/12/07 21:07:42 Starting registrator v6 ... registrator_1 | 2015/12/07 21:07:42 consul: current leader 172.17.0.2:8300 registrator_1 | 2015/12/07 21:07:42 Using consul adapter: consul://consulx1:8500 consulx1_1 | ==> Starting Consul agent... registrator_1 | 2015/12/07 21:07:42 Listening for Docker events ... consulx1_1 | ==> Starting Consul agent RPC... fabio_1 | 2015/12/07 21:07:44 [INFO] Metrics disabled registrator_1 | 2015/12/07 21:07:42 Syncing services on 2 containers consulx1_1 | ==> Consul agent running! fabio_1 | 2015/12/07 21:07:44 [INFO] Setting GOGC=800 registrator_1 | 2015/12/07 21:07:42 ignored: 1f4a50c6de78 no published ports consulx1_1 | Node name: '575e5a9afa58' registrator_1 | 2015/12/07 21:07:42 ignored: 575e5a9afa58 port 8400 not published on host consulx1_1 | Datacenter: 'dc1' fabio_1 | 2015/12/07 21:07:44 [INFO] Setting GOMAXPROCS=8 registrator_1 | 2015/12/07 21:07:42 added: 575e5a9afa58 1f4a50c6de78:consulfabioexample_consulx1_1:8500 consulx1_1 | Server: true (bootstrap: true) registrator_1 | 2015/12/07 21:07:42 ignored: 575e5a9afa58 port 8301 not published on host registrator_1 | 2015/12/07 21:07:42 ignored: 575e5a9afa58 port 8301 not published on host consulx1_1 | Client Addr: 0.0.0.0 (HTTP: 8500, HTTPS: -1, DNS: 8600, RPC: 8400) fabio_1 | 2015/12/07 21:07:44 [INFO] Admin server listening on ":9998" registrator_1 | 2015/12/07 21:07:42 ignored: 575e5a9afa58 port 8302 not published on host consulx1_1 | Cluster Addr: 172.17.0.2 (LAN: 8301, WAN: 8302) registrator_1 | 2015/12/07 21:07:42 ignored: 575e5a9afa58 port 8302 not published on host consulx1_1 | Gossip encrypt: false, RPC-TLS: false, TLS-Incoming: false fabio_1 | 2015/12/07 21:07:44 [INFO] consul: Using dynamic routes registrator_1 | 2015/12/07 21:07:42 ignored: 575e5a9afa58 port 8600 not published on host consulx1_1 | Atlas: fabio_1 | 2015/12/07 21:07:44 [INFO] consul: Using tag prefix "urlprefix-" registrator_1 | 2015/12/07 21:07:42 ignored: 575e5a9afa58 port 8600 not published on host consulx1_1 | fabio_1 | 2015/12/07 21:07:44 [INFO] consul: Watching KV path "/fabio/config" registrator_1 | 2015/12/07 21:07:42 ignored: 575e5a9afa58 port 8300 not published on host consulx1_1 | ==> Log data will now stream in as it occurs: consulx1_1 | fabio_1 | 2015/12/07 21:07:44 [INFO] Using routing strategy "rnd" consulx1_1 | 2015/12/07 21:07:40 [INFO] raft: Node at 172.17.0.2:8300 [Follower] entering Follower state registrator_1 | 2015/12/07 21:07:44 added: 686774fe01b0 1f4a50c6de78:consulfabioexample_fabio_1:9998 consulx1_1 | 2015/12/07 21:07:40 [INFO] serf: EventMemberJoin: 575e5a9afa58 172.17.0.2 fabio_1 | 2015/12/07 21:07:44 [INFO] HTTP proxy listening on :9999 registrator_1 | 2015/12/07 21:07:44 added: 686774fe01b0 1f4a50c6de78:consulfabioexample_fabio_1:9999 consulx1_1 | 2015/12/07 21:07:40 [INFO] consul: adding server 575e5a9afa58 (Addr: 172.17.0.2:8300) (DC: dc1) consulx1_1 | 2015/12/07 21:07:40 [INFO] serf: EventMemberJoin: 575e5a9afa58.dc1 172.17.0.2 fabio_1 | 2015/12/07 21:07:44 [INFO] consul: Health changed to #8 consulx1_1 | 2015/12/07 21:07:40 [INFO] consul: adding server 575e5a9afa58.dc1 (Addr: 172.17.0.2:8300) (DC: dc1) consulx1_1 | 2015/12/07 21:07:40 [ERR] agent: failed to sync remote state: No cluster leader fabio_1 | 2015/12/07 21:07:44 [INFO] consul: Manual config changed to #1 consulx1_1 | 2015/12/07 21:07:42 [WARN] raft: Heartbeat timeout reached, starting election consulx1_1 | 2015/12/07 21:07:42 [INFO] raft: Node at 172.17.0.2:8300 [Candidate] entering Candidate state consulx1_1 | 2015/12/07 21:07:42 [INFO] raft: Election won. Tally: 1 consulx1_1 | 2015/12/07 21:07:42 [INFO] raft: Node at 172.17.0.2:8300 [Leader] entering Leader state consulx1_1 | 2015/12/07 21:07:42 [INFO] consul: cluster leadership acquired fabio_1 | 2015/12/07 21:07:45 [INFO] consul: Health changed to #9 consulx1_1 | 2015/12/07 21:07:42 [INFO] consul: New leader elected: 575e5a9afa58 consulx1_1 | 2015/12/07 21:07:42 [INFO] raft: Disabling EnableSingleNode (bootstrap) consulx1_1 | 2015/12/07 21:07:42 [INFO] consul: member '575e5a9afa58' joined, marking health alive consulx1_1 | 2015/12/07 21:07:42 [INFO] agent: Synced service 'consul' consulx1_1 | 2015/12/07 21:07:42 [INFO] agent: Synced service '1f4a50c6de78:consulfabioexample_consulx1_1:8500' consulx1_1 | 2015/12/07 21:07:44 [INFO] agent: Synced service '1f4a50c6de78:consulfabioexample_fabio_1:9998' fabio_1 | 2015/12/07 21:12:46 [INFO] consul: Health changed to #9 consulx1_1 | 2015/12/07 21:07:44 [INFO] agent: Synced service '1f4a50c6de78:consulfabioexample_fabio_1:9999' consulx1_1 | 2015/12/07 21:07:44 [INFO] agent: Synced service 'fabio-686774fe01b0-9998' consulx1_1 | 2015/12/07 21:07:45 [INFO] agent: Synced check 'service:fabio-686774fe01b0-9998' consulx1_1 | 2015/12/07 21:17:07 [WARN] Service tag "urlprefix-domain.com/foo" will not be discoverable via DNS due to invalid characters. Valid characters include all alpha-numerics and dashes. fabio_1 | 2015/12/07 21:17:07 [INFO] consul: Health changed to #19 consulx1_1 | 2015/12/07 21:17:07 [INFO] agent: Synced service 'svc-a-172.17.0.1:5000' consulx1_1 | 2015/12/07 21:17:08 [INFO] agent: Synced check 'service:svc-a-172.17.0.1:5000' fabio_1 | 2015/12/07 21:17:08 [INFO] consul: Health changed to #20 consulx1_1 | 2015/12/07 21:18:11 [INFO] agent: Deregistered service 'svc-a-172.17.0.1:5000' consulx1_1 | 2015/12/07 21:18:11 [INFO] agent: Deregistered check 'service:svc-a-172.17.0.1:5000' fabio_1 | 2015/12/07 21:17:08 [INFO] Updated config to fabio_1 | route add svc-a domain.com/foo http://172.17.0.1:5000/ tags "urlprefix-domain.com/foo" fabio_1 | 2015/12/07 21:18:11 [INFO] consul: Health changed to #22 fabio_1 | 2015/12/07 21:23:18 [INFO] consul: Health changed to #22