Bug 1464250
| Summary: | [3.5] Connections to services are not allowed when network policy enabled | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Veer Muchandi <veer> |
| Component: | Networking | Assignee: | Dan Winship <danw> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Meng Bo <bmeng> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.5.0 | CC: | aloughla, aos-bugs, bbennett, danw |
| Target Milestone: | --- | Keywords: | Reopened, UpcomingRelease |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-06-29 19:54:51 UTC | 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
Veer Muchandi
2017-06-22 19:39:06 UTC
This is fixed in 3.6 by https://github.com/openshift/origin/pull/14466 We aren't back-porting the fix because network policy is in tech preview in 3.5 (and there are some hairy technical problems that make it risky). (In reply to Ben Bennett from comment #1) > This is fixed in 3.6 by https://github.com/openshift/origin/pull/14466 The documented limitation in 3.5 is that service IPs did not work if they were only allowed by a NetworkPolicy whose spec.podSelector was non-empty. That's not the case here. This bug may end up also being fixed by the same change but it's not the known bug that that change was fixing. OK, we can reproduce the bug on 3.5, but it works fine in 3.6. (In 3.5, the packets make it from the php pod to the mysql pod, but the response packets get dropped, presumably due to conntrack not working the way we wanted it to. Anyway, the conntrack-related rules are totally redone in 3.6, and we have regression tests that should cover this case now too.) |