Closed kongo2002 closed 8 years ago
Thanks for another contribution! This looks good, but I'm having trouble setting "slow" mode.
Problem running Blockade command 'tc qdisc replace dev vethe5064ea root netem delay 75ms 100ms distribution normal': No distribution data for normal (/lib/tc//normal.dist: No such file or directory)
Perhaps this tc installation is somewhat different? Or maybe we just need a different tc command string. If you don't have any ideas, I can investigate more soon.
Yes, you are right - I am seeing the same problem. I obviously missed to test the slow
command explicitly :(
It looks like this is a packaging problem. tc
searches in the wrong directory /lib/tc
while the distribution files are located in /usr/lib/tc
.
Maybe we can fix this in the vimagick/iptables
docker image at first (see https://github.com/vimagick/dockerfiles/pull/25).
Alternatively we could also strip out the distribution ...
from the tc
command...
Nice.. looks like that PR got merged, but I'm still seeing the issue. I'm fine with removing the distribution component if that fixes it.
I guess we still have to wait a bit for docker hub to build the updated docker image. As of now it still seems to be queued: https://hub.docker.com/r/vimagick/iptables/builds/
ahh ok. I just saw that docker pull
got me a new image so I assumed it was this one
You can try again if you like - it works for me now :-)
Yep looks good now. Thanks!
Hi,
this changeset fixes links between containers with overridden names (via
container_name
).Moreover I added a minor change to the invocation of the
tc
command, in order to use thevimagick/iptables
docker image instead of the rather heavy ubuntu one.Cheers, Gregor