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

docs: Fix command for overwriting iptables on kube-proxy replacement install #16264

Merged
merged 1 commit into from Sep 15, 2021

Conversation

Stijn98s
Copy link
Contributor

Please ensure your pull request adheres to the following guidelines:

  • For first time contributors, read Submitting a pull request
  • All code is covered by unit and/or runtime tests where feasible.
  • All commits contain a well written commit description including a title,
    description and a Fixes: #XXX line if the commit addresses a particular
    GitHub issue.
  • All commits are signed off. See the section Developer’s Certificate of Origin
  • Provide a title or release-note blurb suitable for the release notes.
  • Thanks for contributing!

Updated the restore iptables command because this command wasn't working on Ubuntu 20.10 arm64.

@Stijn98s Stijn98s requested a review from a team as a code owner May 21, 2021 14:26
@Stijn98s Stijn98s requested a review from a team May 21, 2021 14:26
@maintainer-s-little-helper
Copy link

Commit a55db194ecfb21110c14dd104fe896cee6b25f41 does not contain "Signed-off-by".

Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin

@Stijn98s Stijn98s requested a review from qmonnet May 21, 2021 14:26
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-sign-off The author needs to add signoff to their commits before merge. label May 21, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label May 21, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.9.8 May 21, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.8.11 May 21, 2021
@qmonnet qmonnet added the area/documentation Impacts the documentation, including textual changes, sphinx, or other doc generation code. label May 21, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-sign-off The author needs to add signoff to their commits before merge. label May 21, 2021
@qmonnet qmonnet added dont-merge/needs-sign-off The author needs to add signoff to their commits before merge. release-note/misc This PR makes changes that have no direct user impact. labels May 21, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label May 21, 2021
@qmonnet qmonnet removed the dont-merge/needs-sign-off The author needs to add signoff to their commits before merge. label May 21, 2021
Copy link
Member

@qmonnet qmonnet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! The change looks good, but I would be curious to understand why the previous command wouldn't work. What error did you get?

@Stijn98s
Copy link
Contributor Author

Stijn98s commented May 21, 2021

Didn't get a clear error. The changes didn't got applied. These errors occured.

Can't open /dev/fd/63: No such file or directory
and
Warning: iptables-legacy tables present, use iptables-legacy-save to see them

But with this command the changes got applied.

@Stijn98s Stijn98s requested a review from qmonnet May 21, 2021 14:49
@qmonnet qmonnet changed the title Fix overwriting iptables for kube-proxy free installation docs: Fix command for overwriting iptables on kube-proxy replacement install May 21, 2021
Copy link
Member

@qmonnet qmonnet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, did you run the command with sudo? Process substitution might be at play here.

If so, let's update the command indeed to avoid other people to hit the same issue.

@Stijn98s
Copy link
Contributor Author

Yea, added sudo to both commands. Still didn't work

@qmonnet
Copy link
Member

qmonnet commented May 21, 2021

Yes, I suppose this is because of the sudo that the <(...) syntax didn't work. See the answers I linked if you want the details. All good for me!

@qmonnet qmonnet added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label May 21, 2021
Copy link
Member

@aanm aanm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@qmonnet but wouldn't we need something like sudo iptables-save | grep -v KUBE | sudo iptables-restore? at the very least: sudo su -c "iptables-save | grep -v KUBE | iptables-restore"?

@aanm aanm merged commit 27fd5cc into cilium:master Sep 15, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Backport pending to v1.10 in 1.10.5 Sep 29, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.10 to Backport done to v1.10 in 1.10.5 Oct 2, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.10 to Backport done to v1.10 in 1.10.5 Oct 2, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.9 in 1.9.11 Oct 4, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.8 in 1.8.13 Oct 4, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.9 to Backport done to v1.9 in 1.9.11 Oct 8, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.8 to Backport done to v1.8 in 1.8.13 Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation Impacts the documentation, including textual changes, sphinx, or other doc generation code. dont-merge/needs-rebase This PR needs to be rebased because it has merge conflicts. release-note/misc This PR makes changes that have no direct user impact. stale The stale bot thinks this issue is old. Add "pinned" label to prevent this from becoming stale.
Projects
No open projects
1.10.5
Backport done to v1.10
1.8.13
Backport done to v1.8
1.9.11
Backport done to v1.9
Development

Successfully merging this pull request may close these issues.

None yet

8 participants