Giter Club home page Giter Club logo

Comments (4)

aanm avatar aanm commented on May 13, 2024

@tgraf When this happens can you also provide the consul logs? docker logs cilium-consul

There's a 2016-06-14T02:47:38.182-07:00 node1 DEBU 03c lockPath > Creating lock for made and I was expecting to see a lockPath > Locked for right after that.

from cilium.

tgraf avatar tgraf commented on May 13, 2024

vagrant@node1:~$ sudo docker logs cilium-consul
==> WARNING: BootstrapExpect Mode is specified as 1; this is the same as Bootstrap mode.
==> WARNING: Bootstrap mode enabled! Do not enable unless necessary
==> Starting Consul agent...
==> Starting Consul agent RPC...
==> Consul agent running!
Node name: '78436fe9bb2b'
Datacenter: 'dc1'
Server: true (bootstrap: true)
Client Addr: 0.0.0.0 (HTTP: 8500, HTTPS: -1, DNS: 8600, RPC: 8400)
Cluster Addr: 172.17.0.2 (LAN: 8301, WAN: 8302)
Gossip encrypt: false, RPC-TLS: false, TLS-Incoming: false
Atlas:

==> Log data will now stream in as it occurs:

2016/06/14 13:51:35 [INFO] serf: EventMemberJoin: 78436fe9bb2b 172.17.0.2
2016/06/14 13:51:35 [INFO] serf: EventMemberJoin: 78436fe9bb2b.dc1 172.17.0.2
2016/06/14 13:51:35 [INFO] raft: Node at 172.17.0.2:8300 [Follower] entering Follower state
2016/06/14 13:51:35 [INFO] consul: adding LAN server 78436fe9bb2b (Addr: 172.17.0.2:8300) (DC: dc1)
2016/06/14 13:51:35 [INFO] consul: adding WAN server 78436fe9bb2b.dc1 (Addr: 172.17.0.2:8300) (DC: dc1)
2016/06/14 13:51:35 [ERR] agent: failed to sync remote state: No cluster leader
2016/06/14 13:51:36 [ERR] http: Request GET /v1/kv/cilium-net/operational/LastUUID?index=63, error: No cluster leader from=172.17.0.1:54424
2016/06/14 13:51:36 [ERR] http: Request PUT /v1/session/create, error: No cluster leader from=172.17.0.1:54428
2016/06/14 13:51:36 [WARN] raft: Heartbeat timeout reached, starting election
2016/06/14 13:51:36 [INFO] raft: Node at 172.17.0.2:8300 [Candidate] entering Candidate state
2016/06/14 13:51:37 [INFO] raft: Election won. Tally: 1
2016/06/14 13:51:37 [INFO] raft: Node at 172.17.0.2:8300 [Leader] entering Leader state
2016/06/14 13:51:37 [INFO] consul: cluster leadership acquired
2016/06/14 13:51:37 [INFO] consul: New leader elected: 78436fe9bb2b
2016/06/14 13:51:37 [INFO] raft: Disabling EnableSingleNode (bootstrap)
2016/06/14 13:51:37 [INFO] consul: member '78436fe9bb2b' joined, marking health alive
2016/06/14 13:51:39 [INFO] agent: Synced service 'consul'

from cilium.

tgraf avatar tgraf commented on May 13, 2024

I assume it's a race condition while consul did not finalize the leader election yet. We need to handle this gracefully.

from cilium.

aanm avatar aanm commented on May 13, 2024

Yes, I was expecting to see that if the timestamps were the same on the bad.txt and the cilium-consol log data.

from cilium.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.