Skip to content

Instantly share code, notes, and snippets.

@nixikanius
Last active May 18, 2020 21:15
Show Gist options
  • Save nixikanius/f000b9d4c8e53c58300661f2937d3ac0 to your computer and use it in GitHub Desktop.
Save nixikanius/f000b9d4c8e53c58300661f2937d3ac0 to your computer and use it in GitHub Desktop.
consul | BootstrapExpect is set to 1; this is the same as Bootstrap mode.
consul | bootstrap = true: do not enable unless necessary
consul | ==> Starting Consul agent...
consul | Version: 'v1.7.3'
consul | Node ID: '6508cb69-ace8-a047-eefd-f40828ab425e'
consul | Node name: 'demo-dir'
consul | Datacenter: 'dc1' (Segment: '<all>')
consul | Server: true (Bootstrap: true)
consul | Client Addr: [127.0.0.1] (HTTP: 8500, HTTPS: -1, gRPC: -1, DNS: 8600)
consul | Cluster Addr: 192.168.0.254 (LAN: 8301, WAN: 8302)
consul | Encrypt: Gossip: false, TLS-Outgoing: false, TLS-Incoming: false, Auto-Encrypt-TLS: false
consul |
consul | ==> Log data will now stream in as it occurs:
consul |
consul | 2020-05-18T23:52:08.029+0300 [DEBUG] agent.tlsutil: Update: version=1
consul | 2020-05-18T23:52:08.030+0300 [DEBUG] agent.tlsutil: OutgoingRPCWrapper: version=1
consul | 2020-05-18T23:52:08.037+0300 [INFO] agent.server.raft: restored from snapshot: id=38-147480-1589747711433
consul | 2020-05-18T23:52:08.125+0300 [INFO] agent.server.raft: initial configuration: index=1 servers="[{Suffrage:Voter ID:6508cb69-ace8-a047-eefd-f40828ab425e Address:172.18.0.2:8300}]"
consul | 2020-05-18T23:52:08.126+0300 [INFO] agent.server.raft: entering follower state: follower="Node at 192.168.0.254:8300 [Follower]" leader=
consul | 2020-05-18T23:52:08.127+0300 [INFO] agent.server.serf.wan: serf: EventMemberJoin: demo-dir.dc1 192.168.0.254
consul | 2020-05-18T23:52:08.128+0300 [WARN] agent.server.serf.wan: serf: Failed to re-join any previously known node
consul | 2020-05-18T23:52:08.129+0300 [INFO] agent.server.serf.lan: serf: EventMemberJoin: demo-dir 192.168.0.254
consul | 2020-05-18T23:52:08.136+0300 [INFO] agent: Started DNS server: address=127.0.0.1:8600 network=udp
consul | 2020-05-18T23:52:08.136+0300 [INFO] agent.server.serf.lan: serf: Attempting re-join to previously known node: demo-ref-en: 192.168.0.2:8301
consul | 2020-05-18T23:52:08.137+0300 [INFO] agent.server: Adding LAN server: server="demo-dir (Addr: tcp/192.168.0.254:8300) (DC: dc1)"
consul | 2020-05-18T23:52:08.137+0300 [INFO] agent.server: Handled event for server in area: event=member-join server=demo-dir.dc1 area=wan
consul | 2020-05-18T23:52:08.138+0300 [INFO] agent: Started DNS server: address=127.0.0.1:8600 network=tcp
consul | 2020-05-18T23:52:08.139+0300 [INFO] agent: Started HTTP server: address=[::]:8500 network=tcp
consul | 2020-05-18T23:52:08.142+0300 [DEBUG] agent.server.memberlist.lan: memberlist: Failed to join 192.168.0.2: dial tcp 192.168.0.2:8301: connect: connection refused
consul | 2020-05-18T23:52:08.142+0300 [WARN] agent.server.serf.lan: serf: Failed to re-join any previously known node
consul | 2020-05-18T23:52:08.144+0300 [INFO] agent: started state syncer
consul | ==> Consul agent running!
consul | 2020-05-18T23:52:08.188+0300 [DEBUG] agent.server: Cannot upgrade to new ACLs: leaderMode=3 mode=2 found=true leader=
consul | 2020-05-18T23:52:08.290+0300 [DEBUG] agent.server: Cannot upgrade to new ACLs: leaderMode=3 mode=2 found=true leader=
consul | 2020-05-18T23:52:08.490+0300 [DEBUG] agent.server: Cannot upgrade to new ACLs: leaderMode=3 mode=2 found=true leader=
consul | 2020-05-18T23:52:08.890+0300 [DEBUG] agent.server: Cannot upgrade to new ACLs: leaderMode=3 mode=2 found=true leader=
consul | 2020-05-18T23:52:09.691+0300 [DEBUG] agent.server: Cannot upgrade to new ACLs: leaderMode=3 mode=2 found=true leader=
consul | 2020-05-18T23:52:11.291+0300 [DEBUG] agent.server: Cannot upgrade to new ACLs: leaderMode=3 mode=2 found=true leader=
consul | 2020-05-18T23:52:14.491+0300 [DEBUG] agent.server: Cannot upgrade to new ACLs: leaderMode=3 mode=2 found=true leader=
consul | 2020-05-18T23:52:15.431+0300 [ERROR] agent.anti_entropy: failed to sync remote state: error="No cluster leader"
consul | 2020-05-18T23:52:15.441+0300 [ERROR] agent.http: Request error: method=GET url=/v1/health/checks/hydra_demo from=127.0.0.1:34080 error="No cluster leader"
consul | 2020-05-18T23:52:15.441+0300 [DEBUG] agent.http: Request finished: method=GET url=/v1/health/checks/hydra_demo from=127.0.0.1:34080 latency=7.297014528s
consul | 2020-05-18T23:52:15.442+0300 [ERROR] watch.watch: Watch errored: type=checks error="Unexpected response code: 500 (No cluster leader)" retry=5s
consul | 2020-05-18T23:52:15.608+0300 [WARN] agent.server.raft: heartbeat timeout reached, starting election: last-leader=
consul | 2020-05-18T23:52:15.608+0300 [INFO] agent.server.raft: entering candidate state: node="Node at 192.168.0.254:8300 [Candidate]" term=48
consul | 2020-05-18T23:52:15.614+0300 [DEBUG] agent.server.raft: votes: needed=1
consul | 2020-05-18T23:52:15.615+0300 [DEBUG] agent.server.raft: vote granted: from=6508cb69-ace8-a047-eefd-f40828ab425e term=48 tally=1
consul | 2020-05-18T23:52:15.615+0300 [INFO] agent.server.raft: election won: tally=1
consul | 2020-05-18T23:52:15.616+0300 [INFO] agent.server.raft: entering leader state: leader="Node at 192.168.0.254:8300 [Leader]"
consul | 2020-05-18T23:52:15.618+0300 [INFO] agent.server: cluster leadership acquired
consul | 2020-05-18T23:52:15.619+0300 [INFO] agent.server: New leader elected: payload=demo-dir
consul | 2020-05-18T23:52:16.248+0300 [INFO] agent.server: initializing acls
consul | 2020-05-18T23:52:16.249+0300 [INFO] agent.leader: started routine: routine="legacy ACL token upgrade"
consul | 2020-05-18T23:52:16.250+0300 [INFO] agent.leader: started routine: routine="acl token reaping"
consul | 2020-05-18T23:52:16.250+0300 [INFO] agent.server.serf.lan: serf: EventMemberUpdate: demo-dir
consul | 2020-05-18T23:52:16.251+0300 [INFO] agent.server.serf.wan: serf: EventMemberUpdate: demo-dir.dc1
consul | 2020-05-18T23:52:16.251+0300 [INFO] agent.leader: started routine: routine="CA root pruning"
consul | 2020-05-18T23:52:16.251+0300 [DEBUG] agent.server: Skipping self join check for node since the cluster is too small: node=demo-dir
consul | 2020-05-18T23:52:16.251+0300 [INFO] agent.server: deregistering member: member=demo-ref-en reason=reaped
consul | 2020-05-18T23:52:16.252+0300 [INFO] agent.server: Updating LAN server: server="demo-dir (Addr: tcp/192.168.0.254:8300) (DC: dc1)"
consul | 2020-05-18T23:52:16.252+0300 [INFO] agent.server: Handled event for server in area: event=member-update server=demo-dir.dc1 area=wan
consul | 2020-05-18T23:52:16.254+0300 [DEBUG] agent.server: Skipping self join check for node since the cluster is too small: node=demo-dir
consul | 2020-05-18T23:52:17.174+0300 [DEBUG] agent.acl: dropping check from result due to ACLs: check=serfHealth
consul | 2020-05-18T23:52:17.177+0300 [INFO] agent: Synced node info
consul | 2020-05-18T23:52:17.177+0300 [DEBUG] agent: Node info in sync
consul | 2020-05-18T23:52:18.254+0300 [DEBUG] agent.tlsutil: OutgoingRPCWrapper: version=1
consul | 2020-05-18T23:52:20.444+0300 [DEBUG] agent.http: Request finished: method=GET url=/v1/health/checks/hydra_demo from=127.0.0.1:34080 latency=1.277934ms
consul | 2020-05-18T23:52:20.485+0300 [TRACE] agent: http watch handler output: watch=https://demo-dir.latera.ru:8443/api/v1/webhooks/hydra_demos/consul/service_change output=[]
consul | 2020-05-18T23:52:22.281+0300 [DEBUG] agent.http: Request finished: method=GET url=/v1/health/service/hydra_demo from=172.21.0.6:48716 latency=1.05949ms
consul | 2020-05-18T23:52:25.162+0300 [WARN] agent: Coordinate update blocked by ACLs: accessorID=
consul | 2020-05-18T23:52:26.252+0300 [DEBUG] agent.server.autopilot: Failed to remove dead servers: error="denied, because removing the majority of servers 1/1 is not safe"
consul | 2020-05-18T23:52:36.252+0300 [DEBUG] agent.server.autopilot: Failed to remove dead servers: error="denied, because removing the majority of servers 1/1 is not safe"
consul | 2020-05-18T23:52:46.252+0300 [DEBUG] agent.server.autopilot: Failed to remove dead servers: error="denied, because removing the majority of servers 1/1 is not safe"
consul | 2020-05-18T23:52:47.704+0300 [WARN] agent: Coordinate update blocked by ACLs: accessorID=
consul | 2020-05-18T23:52:56.252+0300 [DEBUG] agent.server.autopilot: Failed to remove dead servers: error="denied, because removing the majority of servers 1/1 is not safe"
consul | 2020-05-18T23:53:06.252+0300 [DEBUG] agent.server.autopilot: Failed to remove dead servers: error="denied, because removing the majority of servers 1/1 is not safe"
consul | 2020-05-18T23:53:11.223+0300 [WARN] agent: Coordinate update blocked by ACLs: accessorID=
consul | 2020-05-18T23:53:15.622+0300 [DEBUG] agent.server: Skipping self join check for node since the cluster is too small: node=demo-dir
consul | 2020-05-18T23:53:16.252+0300 [DEBUG] agent.server.autopilot: Failed to remove dead servers: error="denied, because removing the majority of servers 1/1 is not safe"
consul | 2020-05-18T23:53:26.252+0300 [DEBUG] agent.server.autopilot: Failed to remove dead servers: error="denied, because removing the majority of servers 1/1 is not safe"
consul | 2020-05-18T23:53:30.791+0300 [DEBUG] agent.http: Request finished: method=GET url=/v1/health/service/hydra_demo from=172.21.0.6:48718 latency=698.799µs
consul | 2020-05-18T23:53:36.252+0300 [DEBUG] agent.server.autopilot: Failed to remove dead servers: error="denied, because removing the majority of servers 1/1 is not safe"
consul | 2020-05-18T23:53:38.183+0300 [WARN] agent: Coordinate update blocked by ACLs: accessorID=
consul | 2020-05-18T23:53:40.649+0300 [DEBUG] agent.acl: dropping check from result due to ACLs: check=serfHealth
consul | 2020-05-18T23:53:40.674+0300 [INFO] agent: Synced node info
consul | 2020-05-18T23:53:46.252+0300 [DEBUG] agent.server.autopilot: Failed to remove dead servers: error="denied, because removing the majority of servers 1/1 is not safe"
consul | 2020-05-18T23:53:56.252+0300 [DEBUG] agent.server.autopilot: Failed to remove dead servers: error="denied, because removing the majority of servers 1/1 is not safe"
consul | 2020-05-18T23:53:56.990+0300 [WARN] agent: Coordinate update blocked by ACLs: accessorID=
consul | 2020-05-18T23:54:06.252+0300 [DEBUG] agent.server.autopilot: Failed to remove dead servers: error="denied, because removing the majority of servers 1/1 is not safe"
consul | 2020-05-18T23:54:08.135+0300 [DEBUG] agent.server.router.manager: Rebalanced servers, new active server: number_of_servers=1 active_server="demo-dir.dc1 (Addr: tcp/192.168.0.254:8300) (DC: dc1)"
consul | 2020-05-18T23:54:14.074+0300 [DEBUG] agent.server.memberlist.lan: memberlist: Stream connection from=192.168.0.2:55562
consul | 2020-05-18T23:54:14.076+0300 [INFO] agent.server.serf.lan: serf: EventMemberJoin: demo-ref-en 192.168.0.2
consul | 2020-05-18T23:54:14.076+0300 [INFO] agent.server: member joined, marking health alive: member=demo-ref-en
consul | 2020-05-18T23:54:14.270+0300 [INFO] agent.server.serf.lan: serf: EventMemberUpdate: demo-ref-en
consul | 2020-05-18T23:54:14.270+0300 [DEBUG] agent.server.serf.lan: serf: messageJoinType: demo-ref-en
consul | 2020-05-18T23:54:14.460+0300 [DEBUG] agent.acl: dropping check from result due to ACLs: check=serfHealth
consul | 2020-05-18T23:54:14.469+0300 [DEBUG] agent.server.serf.lan: serf: messageJoinType: demo-ref-en
consul | 2020-05-18T23:54:14.669+0300 [DEBUG] agent.server.serf.lan: serf: messageJoinType: demo-ref-en
consul | 2020-05-18T23:54:14.869+0300 [DEBUG] agent.server.serf.lan: serf: messageJoinType: demo-ref-en
consul | 2020-05-18T23:54:15.623+0300 [DEBUG] agent.server: Skipping self join check for node since the cluster is too small: node=demo-dir
consul | 2020-05-18T23:54:16.252+0300 [DEBUG] agent.server.autopilot: Failed to remove dead servers: error="denied, because removing the majority of servers 1/1 is not safe"
consul | 2020-05-18T23:54:16.334+0300 [DEBUG] agent.server.memberlist.lan: memberlist: Initiating push/pull sync with: demo-ref-en 192.168.0.2:8301
consul | 2020-05-18T23:54:25.863+0300 [WARN] agent: Coordinate update blocked by ACLs: accessorID=
consul | 2020-05-18T23:54:26.252+0300 [DEBUG] agent.server.autopilot: Failed to remove dead servers: error="denied, because removing the majority of servers 1/1 is not safe"
consul | 2020-05-18T23:54:36.252+0300 [DEBUG] agent.server.autopilot: Failed to remove dead servers: error="denied, because removing the majority of servers 1/1 is not safe"
consul | 2020-05-18T23:54:46.252+0300 [DEBUG] agent.server.autopilot: Failed to remove dead servers: error="denied, because removing the majority of servers 1/1 is not safe"
consul | 2020-05-18T23:54:46.341+0300 [DEBUG] agent.server.memberlist.lan: memberlist: Initiating push/pull sync with: demo-ref-en 192.168.0.2:8301
consul | 2020-05-18T23:54:46.602+0300 [WARN] agent: Coordinate update blocked by ACLs: accessorID=
consul | 2020-05-18T23:54:56.252+0300 [DEBUG] agent.server.autopilot: Failed to remove dead servers: error="denied, because removing the majority of servers 1/1 is not safe"
consul | 2020-05-18T23:55:04.950+0300 [WARN] agent: Coordinate update blocked by ACLs: accessorID=
consul | 2020-05-18T23:55:06.252+0300 [DEBUG] agent.server.autopilot: Failed to remove dead servers: error="denied, because removing the majority of servers 1/1 is not safe"
consul | 2020-05-18T23:55:06.361+0300 [DEBUG] agent.server.memberlist.lan: memberlist: Stream connection from=192.168.0.2:55564
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment