-
Notifications
You must be signed in to change notification settings - Fork 170
[DNM] Troubleshoot e2e-aws-ovn-windows CI failure #2761
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
base: master
Are you sure you want to change the base?
Conversation
sometimes a tmp pv image file used for setting up the runner gets leftover in /mnt. Add the removal of that in the "Free up disk space" step. Also move that step to a composite action to deduplicate it for easier maintenance Also added the Runner Diagnostics step as the first step that runs for every job Signed-off-by: Jamo Luhrsen <[email protected]>
When multiple networks support was first added, all controllers that were added used the label "Secondary" to indicate they were not "Default". When UDN was added, it allowed "Secondary" networks to function as the primary network for a pod, creating terminology confusion. We now treat non-default networks all as "User-Defined Networks". This commit changes all naming to conform to the latter. The only places secondary is used now is for distinguishing whether or not a UDN is acting as a primary or secondary network for a pod (it's role). The only exception to this is udn-isolation. I did not touch this because it relies on dbIDs, which would impact functionality for upgrade. There is no functional change in this commit. Signed-off-by: Tim Rozet <[email protected]>
Rabbit found these during code review. Signed-off-by: Tim Rozet <[email protected]>
Moves ACL DBIDs from "Secondary" to "PrimaryUDN". Signed-off-by: Tim Rozet <[email protected]>
Signed-off-by: Tim Rozet <[email protected]>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: pperiyasamy The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
16ce7bd to
cfa215b
Compare
Fixes regression from 1448d5a The previous commit dropped matching on in_port so that localnet ports would also use table 1. This allows reply packets from a localnet pod towards the shared OVN/LOCAL IP to be sent to the correct port. However, a regression was introduced where traffic coming from these localnet ports to any destination would be sent to table 1. Egress traffic from the localnet ports is not committed to conntrack, so by sending to table=1 via CT we were getting a miss. This is especially bad for hardware offload where a localnet port is being used as the Geneve encap port. In this case all geneve traffic misses in CT lookup and is not offloaded. Table 1 is intended to be for handling IP traffic destined to the shared Gateway IP/MAC that both the Host and OVN use. It is also used to handle reply traffic for Egress IP. To fix this problem, we can add dl_dst match criteria to this flow, ensuring that only traffic destined to the Host/OVN goes to table 1. Furthermore, after fixing this problem there still exists the issue that localnet -> host/OVN egress traffic will still enter table 1 and CT miss. Potentially this can be fixed with always committing egress traffic, but it might have performance penalty, so deferring that fix to a later date. Signed-off-by: Tim Rozet <[email protected]>
We did this for IPv4 in 1448d5a, but forgot about IPv6. Signed-off-by: Riccardo Ravaioli <[email protected]>
Add dl_dst=$breth0 to table=0, prio=50 for IPv6 We want to match in table=1 only conntrack'ed reply traffic whose next hop is either OVN or the host. As a consequence, localnet traffic whose next hop is an external router (and that might or might not be destined to OVN/host) should bypass table=1 and just hit the NORMAL flow in table=0. Signed-off-by: Riccardo Ravaioli <[email protected]>
Signed-off-by: Riccardo Ravaioli <[email protected]>
We already tested localnet -> host, let's also cover connections initiated from the host. The localnet uses IPs in the same subnet as the host network. Signed-off-by: Riccardo Ravaioli <[email protected]>
We have two non-InterConnect CI lanes for multihoming, while only one with IC enabled (and local gw). We need coverage with IC enabled for both gateway modes, so let's make an existing non-IC lane IC enabled, set it as dualstack and gateway=shared to have better coverage. Signed-off-by: Riccardo Ravaioli <[email protected]>
Signed-off-by: Riccardo Ravaioli <[email protected]>
Signed-off-by: Riccardo Ravaioli <[email protected]>
This is needed because we will need to generate IPs from different subnets than just the host subnet. Signed-off-by: Riccardo Ravaioli <[email protected]>
Signed-off-by: Riccardo Ravaioli <[email protected]>
The localnet is on a subnet different than the host subnet, the corresponding NAD is configured with a VLAN ID, the localnet pod uses an external router to communicate to cluster pods. Signed-off-by: Riccardo Ravaioli <[email protected]>
Signed-off-by: Riccardo Ravaioli <[email protected]>
Signed-off-by: Riccardo Ravaioli <[email protected]>
In testing we saw how an invalid conntrack state would drop all echo requests after the first one. Let's send three pings in each test then. Signed-off-by: Riccardo Ravaioli <[email protected]>
Currently, we are force exiting with the trap before the background processes can end, container is removed and the orphaned processes end early causing our config to go into an unknown state because we dont end in an orderly manner. Wait until the pid file for ovnkube controller with node is removed which shows the process has completed. Signed-off-by: Martin Kennelly <[email protected]>
Prevent ovn-controller from sending stale GARP by adding drop flows on external bridge patch ports until ovnkube-controller synchronizes the southbound database - henceforth known as "drop flows". This addresses race conditions where ovn-controller processes outdated SB DB state before ovnkube-controller updates it, particularly affecting EIP SNAT configurations attached to logical router ports. Fixes: https://issues.redhat.com/browse/FDP-1537 ovnkube-controller controls the lifecycle of the drop flows. ovs / ovn-controller running is required to configure external bridge. Downstream, the external bridge maybe precreated and ovn-controller will use this. This fix considers three primary scenarios: node, container and pod restart. On Node restart means the ovs flows installed priotior to reboot on the node are cleared but the external bridge exists. Add the flows before ovnkube controller with node starts. The reason to add it here is that our gateway code depends on ovn-controller started and running... There is now a race here between ovn-controller starting (and garping) before we set this flow but I think the risk is low however it needs serious testing. The reason I did not naturally at the drop flows before ovn-controller started is because I have no way to detect if its a node reboot or pod reboot and i dont want to inject drop flows for simple ovn-controller container restart which could disrupt traffic. ovnkube-controller starts, we create a new gateway and apply flows the same flows in-order to ensure we always drop GARP when ovnkube controller hasn't sync. Remove the flows when ovnkube-controller has syncd. There is also a race here between ovnkube-controller removing the flows and ovn-controller GARPing with stale SB DB info. There is no easy way to detect what SB DB data ovn-controller has consumed. On Pod restart, we add the drop flows before exit. ovnkube-controller-with-node will also add it before it starts the go code. Container restart: - ovnkube-controller: adds flows upon start and exit - ovn-controller: no changes While the drop flows are set, OVN may not be able to resolve IPs it doesn't know about in its Logical Router pipelines generation. Following removal of the drop flows, OVN may resolve the IPs using GARP requests. OVN-Controller always sends out GARPs with op code 1 on startup. Signed-off-by: Martin Kennelly <[email protected]>
Use the golang image from quay.io/projectquay/golang due to issues pulling the image at quay.io/lib/golang Signed-off-by: Killian Muldoon <[email protected]>
Signed-off-by: Nadia Pinaeva <[email protected]>
Signed-off-by: Ram Lavi <[email protected]>
This PR is to add subnet overlap check with transit switch subnet for any UDN. Signed-off-by: Arnab Ghosh <[email protected]>
Lets fetch agnhost image from upstream and pin it to the k8s release we consume. Downstream, we approve k8 images. It eases adoption of E2Es. Signed-off-by: Martin Kennelly <[email protected]>
Required for downstream hack to detect deployment config. Signed-off-by: Martin Kennelly <[email protected]>
'name' isn't used downstream where as 'app' is. Also, some simple formatting issues on those files. There are other deployments that use 'name' but we don't use them downstream so I am not changing. Real fix is to use deployment config to expose what pods have what labels and then downstream we can write a deployment config override, however its complex idea and we use a different deployment model downtream that what we do upstream. There are many options upstream that we support and I dont care to harmonise them. Signed-off-by: Martin Kennelly <[email protected]>
Some new tests were added without a feature label. Signed-off-by: Martin Kennelly <[email protected]>
Since the last time I was here, here tests have been introduced with node selectors targetting KinD deployment. Remove that. There is another test here that still is tied to KinD deployment introduced recently but it needs a bigger refactor so im ignoring it for now. Signed-off-by: Martin Kennelly <[email protected]>
It is wrong to panic here. We should return error if we cannot find a deployment config for the target cluster. Signed-off-by: Martin Kennelly <[email protected]>
10.128.x.x is used intensively as providers network CIDR. 172.16.0.0/12 (rfc1918) is a private range network. Consume the upper bound range (172.31.x.x) of this private subnet to avoid potential collisions. Real fix is we provide tools for the tests to get CIDRs for UDNs that dont conflict with CDN, provider network. Signed-off-by: Martin Kennelly <[email protected]>
The EgressIP controller can deadlock when handling concurrent pod/EgressIP events that require locking multiple nodes in different orders. This occurs when: 1. Multiple EgressIP objects span different nodes. 2. Pods scheduled on non-EgressIP nodes match EgressIP labels. 3. Concurrent events lock EgressIP names first, then nodes in inconsistent order. Example deadlock scenario: - egressip-1 (node-1) matches app-2 (scheduled on node-2) - egressip-2 (node-2) matches app-1 (scheduled on node-1) - Concurrent processing locks nodes in different orders This blocks all event processing and causes pod admission failures. Solution: Lock nodes in lexicographical order to ensure consistent lock ordering and prevent deadlocks. This also includes unit test to verify the deadlock scenario and validate the fix. Signed-off-by: Periyasamy Palanisamy <[email protected]>
PR 5373 to drop the GARP flows didnt consider that we set the default network controller and later we set the gateway obj. In-between this period, ovnkube node may receive a stop signal and we do not guard against accessing the gateway if its not yet set. OVNKube controller may have sync'd before the gateway obj is set. There is nothing to reconcile if the gateway is not set. Signed-off-by: Martin Kennelly <[email protected]>
Signed-off-by: Enrique Llorente <[email protected]>
Add choosing tunnel key options. Signed-off-by: Nadia Pinaeva <[email protected]>
Fix other review comments that were not caught before. Change transit subnet from /30 to /31 Signed-off-by: Nadia Pinaeva <[email protected]>
Signed-off-by: Patryk Diak <[email protected]>
cfa215b to
40b0078
Compare
|
PR needs rebase. 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-sigs/prow repository. |
|
@pperiyasamy: 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-sigs/prow repository. I understand the commands that are listed here. |
No description provided.