14:25 PM
moonfish1
VM or physical?
14:25 PM
andreaturli
VM
14:25 PM
moonfish1
the above takes 170ms on my laptop.
14:25 PM
andreaturli
it's an Azure VM
14:26 PM
what can possibly slow down so much ethtool?
14:29 PM
moonfish1
not ethtool itself, but docker container execution.
14:29 PM
andreaturli
trying with a different vm size
14:29 PM
maybe it can help
14:31 PM
dpw2 joined the channel
14:32 PM
dpw1 has quit
14:35 PM
even worse :)
14:35 PM
$ sudo time docker run --privileged --net=host zettio/weavetools:0.8.0 /bin/ethtool -K eth0 tx on
14:35 PM
0.01user 0.01system 0:03.31elapsed 1%CPU (0avgtext+0avgdata 14080maxresident)k
14:35 PM
0inputs+0outputs (0major+844minor)pagefaults 0swaps
14:42 PM
moonfish1
nothing more I can do here right now. changing the timeout requires publishing a new release.
14:43 PM
errordeveloper
yaronr: ping
14:52 PM
andreaturli
moonfish1: do you think an older weave version could help?
14:53 PM
moonfish1
yes, 0.7.0 would work, but it's going to be tricky to get that downloaded since version-alignment was only introduced in 0.8.0.
14:54 PM
(getting the 0.7.0 script is easy, getting it to use the 0.7.0 images isn't)
15:02 PM
moonfish1 has quit
15:21 PM
dpw1 joined the channel
15:23 PM
moonfish joined the channel
15:25 PM
dpw2 has quit
15:40 PM
moonfish
andreaturli: I am astonished that docker is so slow on those azure machines.
15:49 PM
andreaturli
moonfish: mmm, not sure it is true for all the containers
15:55 PM
hazmat joined the channel
15:56 PM
moonfish
really? you have some containers that run significantly faster?
15:59 PM
dpw2 joined the channel
15:59 PM
dpw1 has quit
16:00 PM
jodok joined the channel
16:02 PM
andreaturli
let me try
16:05 PM
confounds joined the channel
16:30 PM
otfrom joined the channel
16:32 PM
16:32 PM
moonfish: that is a little better, but not good
16:41 PM
16:41 PM
this seems to help me as well
16:52 PM
moonfish
andreautil: that first line uses "-d" which daemonises the container, so it doesn't actually wait for it to start properly.
16:53 PM
bryanb joined the channel
16:53 PM
re slow build... weave isn't building containers on the fly, so I don't think that is an issue.
16:54 PM
jodok joined the channel
17:06 PM
dpw1 joined the channel
17:09 PM
dpw2 has quit
17:11 PM
andreaturli
moonfish: thanks again for your help
17:12 PM
I'm now using a new instance on Azure, same ubuntu image, and now weave launch works fine
17:12 PM
:S
17:12 PM
moonfish
wow. that is weird.
17:12 PM
andreaturli
I havent touched anything
17:12 PM
I simply can notice that network is slightly faster ...
17:13 PM
but nothing more
17:13 PM
$ sudo time docker run --privileged --net=host zettio/weavetools:0.8.0 /bin/ethtool -K eth0 tx on
17:13 PM
Cannot change tx-checksumming
17:13 PM
Could not change any device features
17:13 PM
Command exited with non-zero status 1
17:13 PM
0.01user 0.01system 0:00.47elapsed 5%CPU (0avgtext+0avgdata 8636maxresident)k
17:13 PM
0inputs+0outputs (0major+2095minor)pagefaults 0swaps
17:13 PM
this seems a reasonable time, not super, but still
17:13 PM
moonfish
yes.
17:14 PM
andreaturli
what scares me is that I still don't know the problem, if any
17:14 PM
moonfish
well, VM performance in public clouds can vary massively.
17:15 PM
andreaturli
yeah, but work vs doesn't it is too much!
17:15 PM
anyway thanks again for your time and great help!
17:15 PM
moonfish
well, that's purely due to the hard-coded 5s timeout in the weave container process start. which we will do something about.
17:21 PM
otfrom has quit
17:27 PM
jodok joined the channel
17:33 PM
hennaheto joined the channel
17:33 PM
bryanb has quit
17:37 PM
dpw1 has quit
17:38 PM
Spanktar joined the channel
18:00 PM
bryanb joined the channel
18:09 PM
otfrom joined the channel
18:10 PM
hesco joined the channel
18:11 PM
jodok has quit
18:19 PM
hennaheto has quit
18:27 PM
hennaheto joined the channel
19:07 PM
bryanb has quit
19:35 PM
jodok joined the channel
19:35 PM
hennaheto has quit
19:35 PM
hennaheto joined the channel
19:40 PM
hennaheto has quit
19:42 PM
hennaheto joined the channel
20:28 PM
hennaheto has quit
20:47 PM
tcolar joined the channel
20:49 PM
tcolar
Hi, I'm trying to run a docker container using weave on a remote docker host .... yeah I know .....
20:49 PM
docker run -v /var/run/docker.sock:/var/run/docker.sock -v /proc:/hostproc -v /tmp:/tmp --privileged=true --rm --env PROCFS=/hostproc --net=host -ti igneoussystems/weave:latest 10.0.1.5/20 -d --name=Topo.slab0.lithos5942550.0 --privileged=true --with-dns --dns-search=weave.local lithos:dev /bin/sh -c ping -c 3 plume.weave.local"
20:50 PM
was trying to check the dns works here .... problem is it seem docker arg parsing gets confused
20:50 PM
it says : flag provided but not defined: --with-dns
21:00 PM
hennaheto joined the channel
21:09 PM
tcolar has quit
22:16 PM
hennaheto has quit
22:21 PM
hennaheto joined the channel
22:23 PM
diego_diego
How have you guys approached the problem of exposing a weave subnet to hosts that don't have weave running? I've attempted but thus far failed to route through a machine that does have weave running and has exposed the weave network locally. Is there anything that makes such a setup impossible? I think I'm doing something wrong, but would like to know that I'm not trying something that would be obviously impossible.
22:37 PM
moonfish
diego_diego: it's almost certainly possible, but exactly what needs doing, and the complexity thereof very much depends on the host configuration and what is between them. So there really is no generic answer. Except "just run weave everywhere", of course ;)
22:43 PM
diego_diego
heh, gotcha thanks moonfish
23:00 PM
moonfish has quit
23:06 PM
hennahet_ joined the channel
23:08 PM
hennaheto has quit
23:20 PM
jfried has quit
23:20 PM
diego_diego has quit
23:20 PM
jksonc_ has quit
23:20 PM
lev has quit
23:22 PM
diego_diego joined the channel
23:22 PM
jksonc_ joined the channel
23:22 PM
lev joined the channel
23:45 PM
errordeveloper joined the channel
23:57 PM
jfried joined the channel