Skip to content

Instantly share code, notes, and snippets.

@eedwards-sk
Created August 1, 2018 06:37
Show Gist options
  • Save eedwards-sk/6faf3e7506a0f86c02d6d6fc018f19eb to your computer and use it in GitHub Desktop.
Save eedwards-sk/6faf3e7506a0f86c02d6d6fc018f19eb to your computer and use it in GitHub Desktop.
Starting Consul agent...
==> Consul agent running!
Version: 'v1.2.2'
Node ID: 'c69d9705-76d9-4804-a2ed-d30b452b769d'
Node name: 'mac'
Datacenter: 'local' (Segment: '<all>')
Server: true (Bootstrap: false)
Client Addr: [0.0.0.0] (HTTP: 8500, HTTPS: -1, DNS: 8600)
Cluster Addr: 192.168.20.100 (LAN: 8301, WAN: 8302)
Encrypt: Gossip: false, TLS-Outgoing: false, TLS-Incoming: false
==> Log data will now stream in as it occurs:
2018/07/31 21:41:23 [INFO] raft: Initial configuration (index=1): [{Suffrage:Voter ID:c69d9705-76d9-4804-a2ed-d30b452b769d Address:192.168.20.100:8300}]
2018/07/31 21:41:23 [INFO] raft: Node at 192.168.20.100:8300 [Follower] entering Follower state (Leader: "")
2018/07/31 21:41:23 [INFO] serf: EventMemberJoin: mac.local 192.168.20.100
2018/07/31 21:41:23 [INFO] serf: EventMemberJoin: mac 192.168.20.100
2018/07/31 21:41:23 [INFO] consul: Handled member-join event for server "mac.local" in area "wan"
2018/07/31 21:41:23 [INFO] consul: Adding LAN server mac (Addr: tcp/192.168.20.100:8300) (DC: local)
2018/07/31 21:41:23 [DEBUG] agent/proxy: managed Connect proxy manager started
2018/07/31 21:41:23 [INFO] agent: Started DNS server 0.0.0.0:8600 (tcp)
2018/07/31 21:41:23 [INFO] agent: Started DNS server 0.0.0.0:8600 (udp)
2018/07/31 21:41:23 [INFO] agent: Started HTTP server on [::]:8500 (tcp)
2018/07/31 21:41:23 [INFO] agent: started state syncer
2018/07/31 21:41:23 [WARN] raft: Heartbeat timeout from "" reached, starting election
2018/07/31 21:41:23 [INFO] raft: Node at 192.168.20.100:8300 [Candidate] entering Candidate state in term 2
2018/07/31 21:41:23 [DEBUG] raft: Votes needed: 1
2018/07/31 21:41:23 [DEBUG] raft: Vote granted from c69d9705-76d9-4804-a2ed-d30b452b769d in term 2. Tally: 1
2018/07/31 21:41:23 [INFO] raft: Election won. Tally: 1
2018/07/31 21:41:23 [INFO] raft: Node at 192.168.20.100:8300 [Leader] entering Leader state
2018/07/31 21:41:23 [INFO] consul: cluster leadership acquired
2018/07/31 21:41:23 [INFO] consul: New leader elected: mac
2018/07/31 21:41:23 [INFO] connect: initialized CA with provider "consul"
2018/07/31 21:41:23 [DEBUG] consul: Skipping self join check for "mac" since the cluster is too small
2018/07/31 21:41:23 [INFO] consul: member 'mac' joined, marking health alive
2018/07/31 21:41:23 [DEBUG] agent: Skipping remote check "serfHealth" since it is managed automatically
2018/07/31 21:41:23 [INFO] agent: Synced node info
2018/07/31 21:41:23 [DEBUG] agent: Node info in sync
2018/07/31 21:41:24 [DEBUG] http: Request GET /v1/status/leader (99.037µs) from=[::1]:59599
2018/07/31 21:41:25 [DEBUG] agent: Skipping remote check "serfHealth" since it is managed automatically
2018/07/31 21:41:25 [DEBUG] agent: Node info in sync
2018/07/31 21:41:25 [WARN] consul: error getting server health from "mac": rpc error getting client: failed to get conn: dial tcp 127.0.0.1:0->192.168.20.100:8300: connect: connection refused
2018/07/31 21:41:26 [WARN] consul: error getting server health from "mac": context deadline exceeded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment