Bug 2170920
| Summary: | NXT_RESUME packet is dropped with error: received packet on unassociated datapath port 4294967295 | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux Fast Datapath | Reporter: | Tim Rozet <trozet> |
| Component: | openvswitch2.17 | Assignee: | Paolo Valerio <pvalerio> |
| Status: | POST --- | QA Contact: | Zhiqiang Fang <zfang> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | FDP 19.03 | CC: | ctrautma, fleitner, ihrachys, jhsiao, jiji, jishi, lorenzo.bianconi, mleitner, pvalerio, ralongi, surya, wizhao |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 2169839 | Environment: | |
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2172622 | ||
|
Description
Tim Rozet
2023-02-17 16:38:17 UTC
Paolo, is there any update on this bug or when you will start working on it? Paolo provided a patch which fixes the issue:
diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c
index c01177718..23f510ffb 100644
--- a/ofproto/ofproto-dpif-xlate.c
+++ b/ofproto/ofproto-dpif-xlate.c
@@ -1532,7 +1532,8 @@ xlate_lookup_ofproto_(const struct dpif_backer *backer,
}
ofp_port_t in_port = recirc_id_node->state.metadata.in_port;
- if (in_port != OFPP_NONE && in_port != OFPP_CONTROLLER) {
+ if (in_port != OFPP_NONE && in_port != OFPP_CONTROLLER &&
+ !uuid_is_zero(&recirc_id_node->state.xport_uuid)) {
struct uuid xport_uuid = recirc_id_node->state.xport_uuid;
xport = xport_lookup_by_uuid(xcfg, &xport_uuid);
if (xport && xport->xbridge && xport->xbridge->ofproto) {
After some tests on both ovn and ovs, the problem got reproduced in a simpler setup involving ovs only. It is observable when the packet originating from the controller toward br1 gets then sent to a patch port and then ends up recirculating before proceeding in the pipeline. Continuation and local ports don't seem to be relevant to trigger the issue. As Tim wrote in the previous comment, a quick patch got tested. (In reply to Paolo Valerio from comment #4) > After some tests on both ovn and ovs, the problem got reproduced in a > simpler setup involving > ovs only. > It is observable when the packet originating from the controller toward br1 > gets then sent > to a patch port and then ends up recirculating before proceeding in the > pipeline. > Continuation and local ports don't seem to be relevant to trigger the issue. > As Tim wrote in the previous comment, a quick patch got tested. for completeness, the patch, aimed to confirm and root cause the issue, got tested on both the ovs (affected setup) and ovn-fake-multinode (not affected setup) Lorenzo and I worked on in order to reproduce the issue. Paolo, do you mind providing a link to the posted fix? Thanks. (In reply to Tim Rozet from comment #6) > Paolo, do you mind providing a link to the posted fix? Thanks. Sure, here's the link to the proposed fix: https://patchwork.ozlabs.org/project/openvswitch/patch/168416414918.7273.15419064875718310114.stgit@rawp/ Hi Paolo, do you know if you this patch will be backported to OCP 4.12? (In reply to William Zhao from comment #8) > Hi Paolo, do you know if you this patch will be backported to OCP 4.12? Hi William, can't say for sure here as it depends on upstream. If backporting there works out, we will provide the updated downstream for ocp 4.12. Any update on this BZ or ETA on when it will land? The next version is under test. I'll post a new revision soon. |