Comments (4)
@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.
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.
I assume it's a race condition while consul did not finalize the leader election yet. We need to handle this gracefully.
from cilium.
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)
- Identities and bpf-ipcache entries for IPs specific to evicted FQDN entries are not cleaned up causing policy map to be filled HOT 3
- unreachable endpoints in cluster mesh setup - k8s v1.26.12 HOT 7
- Pre-release testing
- Reduce Hubble CPU usage
- CI: Conformance AKS Tests timeout
- CI: Conformance AWS (awscni) fails with "The maximum number of VPCs has been reached"
- FQDN: consider not adding names to the DNSCache that don't have selectors HOT 1
- BGPv2: potential race in operator BGP node config cleanup.
- Packets targeting the cilium health IP address possibly looping between cilium_host and cilium_net on agent restart HOT 6
- CI: add a test environment where IPv6 is disabled
- Handle EAFNOSUPPORT directly in related APIs
- Tproxy Prevents AWS LoadBalancer Health Checks HOT 7
- CFP: BGP Control Plane automatic Router ID assignment for IPv6 single stack setup HOT 2
- CI: Conformance Ginkgo - matching list of errors that must be investigated HOT 1
- connection refused on healthz endpoint HOT 7
- "Unable to remove service" after upgrade HOT 1
- CFP: `cilium connectivity test` to support dropping capabilities
- toService in clusterwidenetworkpolicy is not taken into effect HOT 1
- CI: Cilium L4LB XDP (ci-l4lb): Run NAT46x64 test: `curl -s -o /dev/null 10.0.0.8:80`: Failed $i
- IPAM MetalLB pool init race condition HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cilium.