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
Enable shared gateway mode for OVN #727
Enable shared gateway mode for OVN #727
Conversation
/hold Wait for corresponding MCO change: |
dbcb3c1
to
ae664c2
Compare
lgtm and I think it can be un-hold-ed now, but it needs to be rebased anyway |
waiting for openshift/ovn-kubernetes#216 which has a shared gateway fix in it |
This patch migrates from using Local gateway mode to Shared gateway mode with ovn-kubernetes. With shared gateway mode, the external network NIC is now directly configured as part of an OVS bridge, which has a Layer 2 connection to OVN, effectively allowing OVN to share the NIC with the host as a Layer 2 network. Unlike Local gateway mode, this eliminates the need to route through the kernel for certain OVN traffic to egress the host. Signed-off-by: Tim Rozet <trozet@redhat.com>
ae664c2
to
dbe8527
Compare
/hold cancel |
/retest |
/assign @danwinship Note GCP will fail until we have a working fix for shared gw mode and routes. AWS should pass. |
/retest |
2 similar comments
/retest |
/retest |
@stbenjam introspection is failing here:
I'm guessing that this networking change may have some effect on metal ipi. We are moving the physical interface into OVS now during coreos startup. With ironic introspection in openstack, we used to load the introspection image first, run introspection, reboot with the real image. How is it being done in OCP? |
/approve |
Closing the loop on an earlier comment by @trozet. @stbenjam says that the metal failure is not due to this PR. They have a fix at openshift-metal3/dev-scripts#1076 |
Things should be better now. We've fixed the introspection error and moved back to IPv6. /test e2e-metal-ipi |
The current e2e-metal-ipi failure looks real:
|
/retest |
@stbenjam For some reason I dont see an ovnkube-log in must-gather-ipi...tar -> bootstrap/containers |
Yea sorry, the log bundle is what we were able to capture (log-bundle-ipi-ci-op-92dzpci2-0c056-20200730T200748.tar). It doesn't look like things came up enough to collect a whole must-gather, but we do have some logs from the masters. e.g.,. From ./control-plane/fd2e:6f44:5dd8:c956::14/containers/ovn-controller-9723b213aad102045724dc6b668432db9343f16cbd4afd5d4ecdf098992dafa9.log:
Not sure if that's relevant, but there's a bunch more logs in there from the other containers as well. |
@stbenjam thanks. Now I see the error is: and this is because if we look in ovs-configuration.service.log:
Looks like we get back "null" from jq so we are only trying 1 time there. So that is a bug, but regardless, why was there no default gateway on this host? The node should come up and DHCP automatically before NetworkManager wait online. Are there system journals in this tar ball? |
@knobunc: Overrode contexts on behalf of knobunc: ci/prow/e2e-gcp-ovn 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-aws-ovn |
/retest Please review the full test history for this PR and help us cut down flakes. |
17 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
@trozet: The following tests failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
Aws had 1 failure, gcp only failed prometheus on last run @knobunc Still would be nice to see ovn step registry or aws fully pass. |
/override ci/prow/e2e-gcp-ovn |
@knobunc: Overrode contexts on behalf of knobunc: ci/prow/e2e-gcp-ovn 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. |
@@ -537,7 +539,8 @@ spec: | |||
hostPath: | |||
path: /var/lib/ovn/data | |||
- name: run-openvswitch | |||
emptyDir: {} | |||
hostPath: |
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.
@trozet can you add a type: Directory
here so we never accidentally create this?
shared gateway IPv6 support: ovn-org/ovn-kubernetes#1462 |
This patch migrates from using Local gateway mode to Shared gateway mode
with ovn-kubernetes. With shared gateway mode, the external network NIC
is now directly configured as part of an OVS bridge, which has a Layer 2
connection to OVN, effectively allowing OVN to share the NIC with the
host as a Layer 2 network.
Unlike Local gateway mode, this eliminates the need to route through the
kernel for certain OVN traffic to egress the host.
Signed-off-by: Tim Rozet trozet@redhat.com