Bug 2034201
| Summary: | [OVN] Use a single conntrack zone for implementing ACLs (instead of a zone per port) | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux Fast Datapath | Reporter: | Dumitru Ceara <dceara> |
| Component: | OVN | Assignee: | Dumitru Ceara <dceara> |
| Status: | ASSIGNED --- | QA Contact: | Ehsan Elahi <eelahi> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | FDP 21.K | CC: | ctrautma, jiji, kforde, nusiddiq |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Dumitru Ceara
2021-12-20 11:45:52 UTC
An initial PoC shows that we need more than just blindly switching to a single CT zone for a logical switch. Such an attempt can be found here: https://github.com/dceara/ovn/commit/e3bed9f9f4eb4d34b7d4e8444816069d5abefc1b And fails tests: https://github.com/dceara/ovn/runs/4581680878?check_suite_focus=true#step:13:4224 The problem with this is that the current logical flow (and openflow) pipeline will cause every packet that's part of a single connection to go through connection tracking twice in the LS zone. This also includes committing the connection twice and also breaks scenarios when stateful ACLs are used together with load balancers. A real implementation will probably need to avoid this conntrack duplication (ingress and egress logical switch pipelines) and always commit just once, in the egress pipeline. This is however quite an intrusive change. |