-
Notifications
You must be signed in to change notification settings - Fork 125
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
vm.sh: Add iptables DNAT rules for rootless podman #756
Conversation
Hi @0xFelix. Thanks for your PR. I'm waiting for a kubevirt member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@0xFelix: GitHub didn't allow me to request PR reviews from the following users: lyarwood. Note that only kubevirt members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@0xFelix , thank you for this change. Could we check at this stage if we are in a rootful or rootless container? If we could, then we could adjust each with its own proper focused configuration. I think this addition will not harm the rootful run, but we better check nevertheless (that we did not increased the run time). |
@EdDev I changed the patch so it checks whether eth0 is present and then adds the corresponding iptables rules. |
/hold |
This adds iptables DNAT rules for rootless podman. Because traffic is originating from the loopback adapter when using rootles podman / slirp4netns, the existing iptables rules did not apply and 'make cluster-up' was failing on rootless podman. This patch checks whether a rootless container is used and adds the corresponding iptables rules. Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
/unhold |
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.
Nice! Thank you!!
/ok-to-test |
/retest |
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: enp0s3 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
/retest |
[e6e51c4 vm.sh: Add iptables DNAT rules for rootless podman](kubevirt/kubevirtci#756) [6b66790 kind: Use quay registry image](kubevirt/kubevirtci#755) ```release-note NONE ``` Signed-off-by: kubevirt-bot <kubevirtbot@redhat.com>
[23ddfc2 cluster-up: Unify usage of rootless or rootful podman](kubevirt/kubevirtci#757) [e6e51c4 vm.sh: Add iptables DNAT rules for rootless podman](kubevirt/kubevirtci#756) [6b66790 kind: Use quay registry image](kubevirt/kubevirtci#755) ```release-note NONE ``` Signed-off-by: kubevirt-bot <kubevirtbot@redhat.com>
This adds iptables DNAT rules for rootless podman. Because traffic is
originating from the loopback adapter when using rootles podman /
slirp4netns, the existing iptables rules did not apply and
'make cluster-up' was failing on rootless podman. This patch checks
whether a rootless container is used and adds the corresponding
iptables rules.