You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
Observed on a Weave 0.10.0 test system owned by @yaronr:
Three CoreOS hosts running weave and weaveDNS
A single subnet (10.0.0.0/8) used for both weaveDNS and application containers
Three named application containers (zoo1, zoo2, zoo3) running Zookeeper, using weaveDNS for discovery
The problem manifested as Zookeeper nodes being unable to peer with each other correctly due to name resolution errors. The following diagnostic steps were performed:
weave status on each host confirmed that weave had peered correctly, and that the correct names were registered in each weaveDNS peer
docker exec was used to confirm that the resolv.conf was configured correctly in each Zookeeper container, that weaveDNS was reachable, and that the other Zookeeper containers were reachable
ip netns exec was used to confirm IP reachability between the weaveDNS containers
docker exec getent was used to perform lookups inside each Zookeeper container. The following results were observed:
zoo1 could resolve zoo3 but not zoo2
zoo3 could resolve zoo1 and zoo2
zoo3 could resolve zoo2 but not zoo1
Furthermore, in the course of our investigation, the problem resolved itself and did not recur. The only change we had deliberately made in the meantime was to shut down some other containers that were generating DNS traffic that was hampering our ability to analyse the weaveDNS logs in real time. ps confirmed that none of the weaveDNS containers had been restarted.
The text was updated successfully, but these errors were encountered:
Observed on a Weave 0.10.0 test system owned by @yaronr:
weave
andweaveDNS
The problem manifested as Zookeeper nodes being unable to peer with each other correctly due to name resolution errors. The following diagnostic steps were performed:
weave status
on each host confirmed thatweave
had peered correctly, and that the correct names were registered in eachweaveDNS
peerdocker exec
was used to confirm that theresolv.conf
was configured correctly in each Zookeeper container, thatweaveDNS
was reachable, and that the other Zookeeper containers were reachableip netns exec
was used to confirm IP reachability between theweaveDNS
containersdocker exec getent
was used to perform lookups inside each Zookeeper container. The following results were observed:zoo1
could resolvezoo3
but notzoo2
zoo3
could resolvezoo1
andzoo2
zoo3
could resolvezoo2
but notzoo1
Furthermore, in the course of our investigation, the problem resolved itself and did not recur. The only change we had deliberately made in the meantime was to shut down some other containers that were generating DNS traffic that was hampering our ability to analyse the
weaveDNS
logs in real time.ps
confirmed that none of theweaveDNS
containers had been restarted.The text was updated successfully, but these errors were encountered: