-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update go-iptables library version #873
Update go-iptables library version #873
Conversation
Thanks for your PR. The following commands are available:
These commands can only be run by members of the vmware-tanzu organization. |
6adad5c
to
54da8ee
Compare
From 0.4.1 to 0.4.5. In version 0.4.1, no error is returned by go-iptables when running `iptables --version` or parsing its ouput fails (during initialization). This leads to the library not being able to correctly detect whether the iptables version supports `--wait`, which ultimately can lead to a deadlock for the Antrea agent. See coreos/go-iptables#69. By updating the go-iptables version, we ensure that any such error will be returned to Antrea, logged, and cause the Antrea agent to fail and eventually restart. It is unclear what can cause iptables version detection to fail but because of the added logging, we will have a better shot at getting to the root cause if it happens in production again. Fixes antrea-io#871
54da8ee
to
0719375
Compare
/test-all |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
But can it fix/close #871 which seems not caused by iptables failure? |
/test-conformance |
From 0.4.1 to 0.4.5.
In version 0.4.1, no error is returned by go-iptables when running
iptables --version
or parsing its ouput fails (duringinitialization). This leads to the library not being able to correctly
detect whether the iptables version supports
--wait
, which ultimatelycan lead to a deadlock for the Antrea agent.
See coreos/go-iptables#69.
By updating the go-iptables version, we ensure that any such error will
be returned to Antrea, logged, and cause the Antrea agent to fail and
eventually restart.
It is unclear what can cause iptables version detection to fail but
because of the added logging, we will have a better shot at getting to
the root cause if it happens in production again.
Fixes #871