#weavenetwork

/

      • moonfish1
        VM or physical?
      • andreaturli
        VM
      • moonfish1
        the above takes 170ms on my laptop.
      • andreaturli
        it's an Azure VM
      • what can possibly slow down so much ethtool?
      • moonfish1
        not ethtool itself, but docker container execution.
      • andreaturli
        trying with a different vm size
      • maybe it can help
      • dpw2 joined the channel
      • dpw1 has quit
      • even worse :)
      • $ sudo time docker run --privileged --net=host zettio/weavetools:0.8.0 /bin/ethtool -K eth0 tx on
      • 0.01user 0.01system 0:03.31elapsed 1%CPU (0avgtext+0avgdata 14080maxresident)k
      • 0inputs+0outputs (0major+844minor)pagefaults 0swaps
      • moonfish1
        nothing more I can do here right now. changing the timeout requires publishing a new release.
      • errordeveloper
        yaronr: ping
      • andreaturli
        moonfish1: do you think an older weave version could help?
      • 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.
      • (getting the 0.7.0 script is easy, getting it to use the 0.7.0 images isn't)
      • moonfish1 has quit
      • dpw1 joined the channel
      • moonfish joined the channel
      • dpw2 has quit
      • moonfish
        andreaturli: I am astonished that docker is so slow on those azure machines.
      • andreaturli
        moonfish: mmm, not sure it is true for all the containers
      • hazmat joined the channel
      • moonfish
        really? you have some containers that run significantly faster?
      • dpw2 joined the channel
      • dpw1 has quit
      • jodok joined the channel
      • andreaturli
        let me try
      • confounds joined the channel
      • otfrom joined the channel
      • moonfish: that is a little better, but not good
      • this seems to help me as well
      • moonfish
        andreautil: that first line uses "-d" which daemonises the container, so it doesn't actually wait for it to start properly.
      • bryanb joined the channel
      • re slow build... weave isn't building containers on the fly, so I don't think that is an issue.
      • jodok joined the channel
      • dpw1 joined the channel
      • dpw2 has quit
      • andreaturli
        moonfish: thanks again for your help
      • I'm now using a new instance on Azure, same ubuntu image, and now weave launch works fine
      • :S
      • moonfish
        wow. that is weird.
      • andreaturli
        I havent touched anything
      • I simply can notice that network is slightly faster ...
      • but nothing more
      • $ sudo time docker run --privileged --net=host zettio/weavetools:0.8.0 /bin/ethtool -K eth0 tx on
      • Cannot change tx-checksumming
      • Could not change any device features
      • Command exited with non-zero status 1
      • 0.01user 0.01system 0:00.47elapsed 5%CPU (0avgtext+0avgdata 8636maxresident)k
      • 0inputs+0outputs (0major+2095minor)pagefaults 0swaps
      • this seems a reasonable time, not super, but still
      • moonfish
        yes.
      • andreaturli
        what scares me is that I still don't know the problem, if any
      • moonfish
        well, VM performance in public clouds can vary massively.
      • andreaturli
        yeah, but work vs doesn't it is too much!
      • anyway thanks again for your time and great help!
      • moonfish
        well, that's purely due to the hard-coded 5s timeout in the weave container process start. which we will do something about.
      • otfrom has quit
      • jodok joined the channel
      • hennaheto joined the channel
      • bryanb has quit
      • dpw1 has quit
      • Spanktar joined the channel
      • bryanb joined the channel
      • otfrom joined the channel
      • hesco joined the channel
      • jodok has quit
      • hennaheto has quit
      • hennaheto joined the channel
      • bryanb has quit
      • jodok joined the channel
      • hennaheto has quit
      • hennaheto joined the channel
      • hennaheto has quit
      • hennaheto joined the channel
      • hennaheto has quit
      • tcolar joined the channel
      • tcolar
        Hi, I'm trying to run a docker container using weave on a remote docker host .... yeah I know .....
      • 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"
      • was trying to check the dns works here .... problem is it seem docker arg parsing gets confused
      • it says : flag provided but not defined: --with-dns
      • hennaheto joined the channel
      • tcolar has quit
      • hennaheto has quit
      • hennaheto joined the channel
      • 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.
      • 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 ;)
      • diego_diego
        heh, gotcha thanks moonfish
      • moonfish has quit
      • hennahet_ joined the channel
      • hennaheto has quit
      • jfried has quit
      • diego_diego has quit
      • jksonc_ has quit
      • lev has quit
      • diego_diego joined the channel
      • jksonc_ joined the channel
      • lev joined the channel
      • errordeveloper joined the channel
      • jfried joined the channel