Skip to content
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

iptables write failures #21

Open
abgordon opened this issue Sep 9, 2020 · 0 comments
Open

iptables write failures #21

abgordon opened this issue Sep 9, 2020 · 0 comments

Comments

@abgordon
Copy link
Collaborator

abgordon commented Sep 9, 2020

In certain conditions, Ravel fails to write iptables via the iptables-restore command.

The effect of this is putting the current rules in stasis. Ravel spins on iptables-restore attempting to write the new rules, and the failure behavior is to error out and leave the iptables as they are, meaning new pods scheduled will not be added to the service chain and will not be able to receive traffic. The erroneous rules are written to the container.

The conditions for reproducing this bug are unknown. This has happened a myriad of times, in numerous environments. It is unclear what state triggers this event. The erroneous iptables are typically many thousands of lines long, making isolating where the bad line is difficult. iptables-restore is unhelpful because while it notes a syntax error, it only says the error is on the last line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant