Closed osallou closed 8 years ago
Additional info: running a Docker container with --net=weave works fine Routes in containers show weave network
[root@ccb1b4ebca81 /]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 172.19.0.1 0.0.0.0 UG 0 0 0 eth1
10.32.0.0 0.0.0.0 255.240.0.0 U 0 0 0 ethwe0
172.19.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
224.0.0.0 0.0.0.0 240.0.0.0 U 0 0 0 ethwe0
So it is related to mesos integration.
I0824 08:31:32.568788 26520 cni.cpp:838] Unable to find DNS nameservers for container 5e284273-0a70-4d69-a35b-866335643003. Using host '/etc/resolv.conf'
What makes you think this indicates a failure?
I do not know if this is the failing error, but there is no additional log in mesos, and task remains in STAGING and never succeeds when specifying --networks=weave. If I do not set the --networks option, task works nicely. This may be a mesos CNI bug (investigating this way too).
I followed instructions at https://www.weave.works/docs/net/latest/cni-plugin/
seems mesos related, I have same behavior with Calico, closing issue.
Not sure if it is mesos or weave issue. While testing mesos + weave cni, weave assign correctly to the mesos task but mesos task remains and staging then failure with message:
It seems there is a DNS issue.
Weave status gives:
TrustedSubnets: none
This is a single configuration (for testing). I did a weave expose on node. Execute sample Mesos execute fails with above messages:
Docker (1.12.1) shows: