Skip to content

Instantly share code, notes, and snippets.

@radeksimko
Created July 31, 2022 15:09
Show Gist options
  • Save radeksimko/ef8a77d24696ba449b4038a85874bdbb to your computer and use it in GitHub Desktop.
Save radeksimko/ef8a77d24696ba449b4038a85874bdbb to your computer and use it in GitHub Desktop.
Jul 31 15:38:41 ubuntu systemd[1]: Stopping "HashiCorp Consul - A service mesh solution"...
Jul 31 15:38:41 ubuntu consul[2988]: 2022-07-31T15:38:41.555+0100 [INFO] agent: Caught: signal=terminated
Jul 31 15:38:41 ubuntu consul[2988]: 2022-07-31T15:38:41.555+0100 [INFO] agent: Graceful shutdown disabled. Exiting
Jul 31 15:38:41 ubuntu consul[2988]: 2022-07-31T15:38:41.555+0100 [INFO] agent: Requesting shutdown
Jul 31 15:38:41 ubuntu consul[2988]: 2022-07-31T15:38:41.556+0100 [INFO] agent.server: shutting down server
Jul 31 15:38:41 ubuntu consul[2988]: 2022-07-31T15:38:41.556+0100 [INFO] agent.leader: stopping routine: routine="federation state anti-entropy"
Jul 31 15:38:41 ubuntu consul[2988]: 2022-07-31T15:38:41.556+0100 [INFO] agent.leader: stopping routine: routine="federation state pruning"
Jul 31 15:38:41 ubuntu consul[2988]: 2022-07-31T15:38:41.556+0100 [WARN] agent.server.serf.lan: serf: Shutdown without a Leave
Jul 31 15:38:41 ubuntu consul[2988]: 2022-07-31T15:38:41.556+0100 [INFO] agent.leader: stopped routine: routine="federation state pruning"
Jul 31 15:38:41 ubuntu consul[2988]: 2022-07-31T15:38:41.556+0100 [INFO] agent.leader: stopping routine: routine="federation state anti-entropy"
Jul 31 15:38:41 ubuntu consul[2988]: 2022-07-31T15:38:41.556+0100 [ERROR] agent.server: error performing anti-entropy sync of federation state: error="context canceled"
Jul 31 15:38:41 ubuntu consul[2988]: 2022-07-31T15:38:41.556+0100 [INFO] agent.leader: stopped routine: routine="federation state anti-entropy"
Jul 31 15:38:41 ubuntu consul[2988]: 2022-07-31T15:38:41.556+0100 [WARN] agent.server.serf.wan: serf: Shutdown without a Leave
Jul 31 15:38:41 ubuntu consul[2988]: 2022-07-31T15:38:41.556+0100 [INFO] agent.router.manager: shutting down
Jul 31 15:38:41 ubuntu consul[2988]: 2022-07-31T15:38:41.556+0100 [INFO] agent.router.manager: shutting down
Jul 31 15:38:41 ubuntu consul[2988]: 2022-07-31T15:38:41.556+0100 [INFO] agent: consul server down
Jul 31 15:38:41 ubuntu consul[2988]: 2022-07-31T15:38:41.556+0100 [INFO] agent: shutdown complete
Jul 31 15:38:41 ubuntu consul[2988]: 2022-07-31T15:38:41.556+0100 [INFO] agent: Stopping server: protocol=DNS address=127.0.0.1:8600 network=tcp
Jul 31 15:38:41 ubuntu consul[2988]: 2022-07-31T15:38:41.556+0100 [INFO] agent: Stopping server: protocol=DNS address=127.0.0.1:8600 network=udp
Jul 31 15:38:41 ubuntu consul[2988]: 2022-07-31T15:38:41.557+0100 [INFO] agent: Stopping server: address=10.20.1.116:8500 network=tcp protocol=http
Jul 31 15:38:41 ubuntu consul[2988]: 2022-07-31T15:38:41.558+0100 [INFO] agent: Waiting for endpoints to shut down
Jul 31 15:38:41 ubuntu consul[2988]: 2022-07-31T15:38:41.558+0100 [INFO] agent: Endpoints down
Jul 31 15:38:41 ubuntu consul[2988]: 2022-07-31T15:38:41.558+0100 [INFO] agent: Exit code: code=1
Jul 31 15:38:41 ubuntu systemd[1]: consul.service: Main process exited, code=exited, status=1/FAILURE
Jul 31 15:38:41 ubuntu systemd[1]: consul.service: Failed with result 'exit-code'.
Jul 31 15:38:41 ubuntu systemd[1]: Stopped "HashiCorp Consul - A service mesh solution".
Jul 31 15:38:41 ubuntu systemd[1]: Started "HashiCorp Consul - A service mesh solution".
Jul 31 15:38:41 ubuntu consul[6149]: ==> Starting Consul agent...
Jul 31 15:38:41 ubuntu consul[6149]: Version: '1.12.3'
Jul 31 15:38:41 ubuntu consul[6149]: Node ID: '79a52295-0f20-b5e0-cd27-7e0456a3d82f'
Jul 31 15:38:41 ubuntu consul[6149]: Node name: 'ubuntu'
Jul 31 15:38:41 ubuntu consul[6149]: Datacenter: 'dc1' (Segment: '<all>')
Jul 31 15:38:41 ubuntu consul[6149]: Server: true (Bootstrap: true)
Jul 31 15:38:41 ubuntu consul[6149]: Client Addr: [127.0.0.1] (HTTP: 8500, HTTPS: -1, gRPC: -1, DNS: 8600)
Jul 31 15:38:41 ubuntu consul[6149]: Cluster Addr: 10.20.1.117 (LAN: 8301, WAN: 8302)
Jul 31 15:38:41 ubuntu consul[6149]: Encrypt: Gossip: false, TLS-Outgoing: false, TLS-Incoming: false, Auto-Encrypt-TLS: false
Jul 31 15:38:41 ubuntu consul[6149]: ==> Log data will now stream in as it occurs:
Jul 31 15:38:41 ubuntu consul[6149]: 2022-07-31T15:38:41.622+0100 [WARN] agent: skipping file /etc/consul.d/consul.env, extension must be .hcl or .json, or config format must be set
Jul 31 15:38:41 ubuntu consul[6149]: 2022-07-31T15:38:41.622+0100 [WARN] agent: BootstrapExpect is set to 1; this is the same as Bootstrap mode.
Jul 31 15:38:41 ubuntu consul[6149]: 2022-07-31T15:38:41.622+0100 [WARN] agent: bootstrap = true: do not enable unless necessary
Jul 31 15:38:41 ubuntu consul[6149]: 2022-07-31T15:38:41.625+0100 [WARN] agent.auto_config: skipping file /etc/consul.d/consul.env, extension must be .hcl or .json, or config format must be set
Jul 31 15:38:41 ubuntu consul[6149]: 2022-07-31T15:38:41.625+0100 [WARN] agent.auto_config: BootstrapExpect is set to 1; this is the same as Bootstrap mode.
Jul 31 15:38:41 ubuntu consul[6149]: 2022-07-31T15:38:41.625+0100 [WARN] agent.auto_config: bootstrap = true: do not enable unless necessary
Jul 31 15:38:41 ubuntu consul[6149]: 2022-07-31T15:38:41.626+0100 [INFO] agent.server.raft: initial configuration: index=1 servers="[{Suffrage:Voter ID:79a52295-0f20-b5e0-cd27-7e0456a3d82f Address:10.20.1.116:8300}]"
Jul 31 15:38:41 ubuntu consul[6149]: 2022-07-31T15:38:41.626+0100 [INFO] agent.server.raft: entering follower state: follower="Node at 10.20.1.117:8300 [Follower]" leader=
Jul 31 15:38:41 ubuntu consul[6149]: 2022-07-31T15:38:41.627+0100 [INFO] agent.server.serf.wan: serf: EventMemberJoin: ubuntu.dc1 10.20.1.117
Jul 31 15:38:41 ubuntu consul[6149]: 2022-07-31T15:38:41.627+0100 [INFO] agent.server.serf.lan: serf: EventMemberJoin: ubuntu 10.20.1.117
Jul 31 15:38:41 ubuntu consul[6149]: 2022-07-31T15:38:41.627+0100 [INFO] agent.router: Initializing LAN area manager
Jul 31 15:38:41 ubuntu consul[6149]: 2022-07-31T15:38:41.627+0100 [INFO] agent.server.autopilot: reconciliation now disabled
Jul 31 15:38:41 ubuntu consul[6149]: 2022-07-31T15:38:41.627+0100 [WARN] agent.server.serf.wan: serf: Failed to re-join any previously known node
Jul 31 15:38:41 ubuntu consul[6149]: 2022-07-31T15:38:41.627+0100 [WARN] agent.server.serf.lan: serf: Failed to re-join any previously known node
Jul 31 15:38:41 ubuntu consul[6149]: 2022-07-31T15:38:41.627+0100 [INFO] agent.server: Adding LAN server: server="ubuntu (Addr: tcp/10.20.1.117:8300) (DC: dc1)"
Jul 31 15:38:41 ubuntu consul[6149]: 2022-07-31T15:38:41.627+0100 [INFO] agent.server: Handled event for server in area: event=member-join server=ubuntu.dc1 area=wan
Jul 31 15:38:41 ubuntu consul[6149]: 2022-07-31T15:38:41.627+0100 [INFO] agent: Started DNS server: address=127.0.0.1:8600 network=udp
Jul 31 15:38:41 ubuntu consul[6149]: 2022-07-31T15:38:41.628+0100 [INFO] agent: Started DNS server: address=127.0.0.1:8600 network=tcp
Jul 31 15:38:41 ubuntu consul[6149]: 2022-07-31T15:38:41.627+0100 [WARN] agent: [core]grpc: addrConn.createTransport failed to connect to {dc1-10.20.1.117:8300 ubuntu <nil> 0 <nil>}. Err: connection error: desc = "transport: Error while dialing dial tcp >
Jul 31 15:38:41 ubuntu consul[6149]: 2022-07-31T15:38:41.628+0100 [INFO] agent: Starting server: address=10.20.1.117:8500 network=tcp protocol=http
Jul 31 15:38:41 ubuntu consul[6149]: 2022-07-31T15:38:41.628+0100 [INFO] agent: started state syncer
Jul 31 15:38:41 ubuntu consul[6149]: 2022-07-31T15:38:41.628+0100 [INFO] agent: Consul agent running!
Jul 31 15:38:48 ubuntu consul[6149]: 2022-07-31T15:38:48.692+0100 [ERROR] agent.anti_entropy: failed to sync remote state: error="No cluster leader"
Jul 31 15:38:48 ubuntu consul[6149]: 2022-07-31T15:38:48.707+0100 [WARN] agent.server.raft: heartbeat timeout reached, starting election: last-leader=
Jul 31 15:38:48 ubuntu consul[6149]: 2022-07-31T15:38:48.708+0100 [INFO] agent.server.raft: entering candidate state: node="Node at 10.20.1.117:8300 [Candidate]" term=3
Jul 31 15:38:48 ubuntu consul[6149]: 2022-07-31T15:38:48.711+0100 [INFO] agent.server.raft: election won: tally=1
Jul 31 15:38:48 ubuntu consul[6149]: 2022-07-31T15:38:48.711+0100 [INFO] agent.server.raft: entering leader state: leader="Node at 10.20.1.117:8300 [Leader]"
Jul 31 15:38:48 ubuntu consul[6149]: 2022-07-31T15:38:48.712+0100 [INFO] agent.server: cluster leadership acquired
Jul 31 15:38:48 ubuntu consul[6149]: 2022-07-31T15:38:48.713+0100 [INFO] agent.server: New leader elected: payload=ubuntu
Jul 31 15:38:48 ubuntu consul[6149]: 2022-07-31T15:38:48.725+0100 [INFO] agent.server.autopilot: reconciliation now enabled
Jul 31 15:38:48 ubuntu consul[6149]: 2022-07-31T15:38:48.725+0100 [INFO] agent.leader: started routine: routine="federation state anti-entropy"
Jul 31 15:38:48 ubuntu consul[6149]: 2022-07-31T15:38:48.725+0100 [INFO] agent.leader: started routine: routine="federation state pruning"
Jul 31 15:38:48 ubuntu consul[6149]: 2022-07-31T15:38:48.725+0100 [INFO] agent.server.raft: updating configuration: command=AddVoter server-id=79a52295-0f20-b5e0-cd27-7e0456a3d82f server-addr=10.20.1.117:8300 servers="[{Suffrage:Voter ID:79a52295-0f20-b5e0-cd27-7e>
Jul 31 15:38:48 ubuntu consul[6149]: 2022-07-31T15:38:48.726+0100 [INFO] agent.server: member joined, marking health alive: member=ubuntu partition=default
Jul 31 15:38:50 ubuntu consul[6149]: 2022-07-31T15:38:50.489+0100 [INFO] agent: Synced node info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment