-
Notifications
You must be signed in to change notification settings - Fork 39.8k
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
Set -w flag on all iptables calls during master startup #55945
Conversation
Lack of this flag sometimes causes iptables to return error code 4 (if other process holds xtables lock). As a result, because of `set -o errexit`, whole startup script fails, leaving master in an incorrect state. This is another occurence of (already closed) kubernetes#7370
/lgtm We should consider backporting this to 1.7 and 1.8 branches. |
/retest |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: wojtek-t, x13n Associated issue: 7370 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Automatic merge from submit-queue (batch tested with PRs 55841, 55948, 55945). If you want to cherry-pick this change to another branch, please follow the instructions here. |
Created cherrypick PRs for 1.7 and 1.8. |
Lack of this flag sometimes causes iptables to return error code 4 (if
other process holds xtables lock). As a result, because of
set -o errexit
,whole startup script fails, leaving master in an incorrect state.
This is another occurence of (already closed) #7370
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Special notes for your reviewer:
Release note: