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
Bug 1988425: Change to use mountPath: /host #1169
Conversation
Change iptables chain names to not conflict with existing workaround(s) Signed-off-by: Michael Cambria <mcambria@redhat.com> (cherry picked from commit 32d72e5)
|
@mccv1r0: This pull request references Bugzilla bug 1988425, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
Requesting review from QA contact: 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. |
|
/test e2e-gcp-ovn |
|
/test e2e-metal-ipi-ovn-ipv6 |
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.
It's confusing that the commit message summary only describes one of the two things the commit does. Either split it into two commits, or else make the summary more generic ("fixes to azure iptables setup script" etc) and describe both fixes in the commit message body, rather than one in the summary and one in the body
| iptables -F AZURE_ICMP_ACTION | ||
| iptables -A AZURE_ICMP_ACTION -j LOG | ||
| iptables -A AZURE_ICMP_ACTION -j DROP | ||
| /host/usr/bin/oc observe pods -n openshift-sdn -l app=sdn -a '{ .status.hostIP }' -- /var/run/add_iptables.sh |
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.
This seems not safe; is oc statically linked, but is it guaranteed to always be statically linked? I think you have to do chroot /host oc ... though of course then you also have to write the script out to /home/var/run rather than /var/run
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.
I think we've glossed over this so far but due to FIPS needing openssl for Go, we can't rely on these things being fully static.
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.
The other pattern is to use e.g. systemd-run -qPG -- oc observe pods -n openshift-sdn -l app=sdn -a '{ .status.hostIP }' -- /var/run/add_iptables.sh.
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.
@mjudeikis fyi
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.
The commit message already describes:
- Change to use mountPath: /host
- Change iptables chain names to not conflict with existing workaround(s)
For SDN, I'll probably need to change upstream to use systemd-run (or whatever ends up being used) and back port.
The OVN version of this fix will start with whatever consensus decides is best.
|
/test e2e-gcp-ovn |
|
/retest |
1 similar comment
|
/retest |
|
/test e2e-gcp-ovn |
|
/retest-required |
2 similar comments
|
/retest-required |
|
/retest-required |
|
/test e2e-gcp-ovn |
4 similar comments
|
/test e2e-gcp-ovn |
|
/test e2e-gcp-ovn |
|
/test e2e-gcp-ovn |
|
/test e2e-gcp-ovn |
|
@knobunc Can you override this required gcp test? As you know this PR changes yaml that runs on Azure only. |
|
/test e2e-gcp-ovn |
1 similar comment
|
/test e2e-gcp-ovn |
|
/test e2e-openstack-ovn |
|
Is this PR opened against the correct branch? I would have expected it to merge into release-4.8. When I look now the master, release-4.10 and release-4.9 branches all already have the fix from https://bugzilla.redhat.com/show_bug.cgi?id=1984449. |
|
@mccv1r0 since this is a master branch PR, the bz needs retitling? |
The PR needs to be against 4.8 It's a cherry-pick from master |
|
/test e2e-azure-ovn-dualstack |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
Must we hold up an SDN only change due to an OVN flake? |
|
/test e2e-azure-ovn-dualstack |
1 similar comment
|
/test e2e-azure-ovn-dualstack |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
4 similar comments
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
Verified as with #1160. 4.8.z cluster-bot Azure cluster built from this PR. ssh into node works fine both before and after boot. Without this PR ssh just hangs. /lgtm |
|
/test e2e-azure-ovn-dualstack |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dcbw, mccv1r0, mffiedler 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-required Please review the full test history for this PR and help us cut down flakes. |
9 similar comments
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/override ci/prow/e2e-azure-ovn-dualstack Error on cloud setup: |
|
@dcbw: Overrode contexts on behalf of dcbw: ci/prow/e2e-azure-ovn-dualstack 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. |
|
@mccv1r0: All pull requests linked via external trackers have merged: Bugzilla bug 1988425 has been moved to the MODIFIED state. 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. |
Change iptables chain names to not conflict with existing workaround(s)
Signed-off-by: Michael Cambria mcambria@redhat.com
(cherry picked from commit 32d72e5)