You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
# weave launch -foo
Failure during network configuration for container 3b6d181fc93f96207976e102311ea49daf381d3927f06b0904c68cc31a78826b:
Cannot open network namespace "10107": No such file or directory
This should have reported "Container 3b6d181fc93f96207976e102311ea49daf381d3927f06b0904c68cc31a78826b died". And I am quite sure it used to. I even get the same problem when running with --local. I wonder whether something has changed in docker that delays the updating of the container's metadata on death, because inserting a 'sleep 1' just before we run docker inspect makes the issue go away.
The text was updated successfully, but these errors were encountered:
It seems to me there has always been a race between the weave script doing its check on why network setup has failed and Docker finding out that the process has died. Your test with kill -0 runs into the same problem: until the parent has waited on the dead process it still exists as a zombie.
I must have been imagining things... The kill -0 works for me all the time now. Whereas the original docker inspect consistently fails to detect the dead weave in time.
This should have reported "Container 3b6d181fc93f96207976e102311ea49daf381d3927f06b0904c68cc31a78826b died". And I am quite sure it used to. I even get the same problem when running with --local. I wonder whether something has changed in docker that delays the updating of the container's metadata on death, because inserting a 'sleep 1' just before we run
docker inspect
makes the issue go away.The text was updated successfully, but these errors were encountered: