-
Notifications
You must be signed in to change notification settings - Fork 670
weave not removing dns entries #3432
Comments
That's #1976. |
Is there any workaround for now except weave restart? |
The reference to #1976 isn't helping much, since that is a much older (stale) discussion. Any chance to get this bug addressed? |
@MikeMichel I tried to reproduce this issue. I am not able to repro after several tries (with mix of docker container add and deletes). Are you able to reproduce this issue consistently just following the steps mentioned. |
@murali-reddy yep, already with the first try:
|
@murali-reddy adding my config:
|
thanks @MikeMichel will give it a try with your config |
@murali-reddy we're currently testing a downgrade of weave to avoid this issue, and so far it looks like 2.3 doesn't have it. I've put my more automated setup for testing this in a small repo: https://github.com/jzaefferer/weave-test-setup - hopefully that helps reproducing this issue on your end and eventually fixing it. I could also use this to help test #3570, though I need some instructions for how to install that patch. Basically a replacement for https://github.com/weaveworks/weave/releases/download/latest_release/weave that will also use the correct Docker images. |
@jzaefferer yes problem manifests only from 2.4 on wards. Unfortunately fix in #3570 does not work consistently. There is some latent problem after this change how network namespaces are switched. I need to rework on proper fix. |
Fixed by #3705 |
What you expected to happen?
weave removes dns entry after container was killed
What happened?
If you try often enough dns entry stays and there is no way we found to remove it
How to reproduce it?
weave status dns
Anything else we need to know?
Versions:
Reproduced with a 4 node vagrant setup:
Logs:
$ docker logs weave 2>&1|grep 38ce8a451d71
It seems weave did not received/noticed the kill of container 38ce8a451d71
Now i am not able to remove the dead entry even when i kill the other left container.
Only weave restart helps now. A force flag for
weave dns-remove
would be helpfull which ignores the fact that container 38ce8a451d71 is not running anymore and just removes the dns entry.The text was updated successfully, but these errors were encountered: