Bug 1964319
| Summary: | Network policy "deny all" interpreted as "allow all" in description page | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Joel Takvorian <jtakvori> |
| Component: | Management Console | Assignee: | Joel Takvorian <jtakvori> |
| Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.7 | CC: | aos-bugs, jhadvig, jokerman, spadgett, yapei |
| Target Milestone: | --- | ||
| Target Release: | 4.8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-07-27 23:10:05 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
Joel Takvorian
2021-05-25 08:15:32 UTC
Bug is fixed via https://github.com/openshift/console/pull/9032 (for bug https://bugzilla.redhat.com/show_bug.cgi?id=1962569 ) 1. Create two NetworkPolicies, one denies all ingress the other denies all egress
deny all ingress
....
spec:
policyTypes:
- Ingress
deny all egress
....
spec:
policyTypes:
- Egress
2. Check NetworkPolicy details page -> Ingress rules table
For deny all ingress networkpolicy, it shows `All incoming traffic is denied to Pods in yapei`
For deny all egress networkpolicy, it shows `All outgoing traffic is denied from Pods in yapei`
the text is showing correct meaning
Verified on 4.8.0-0.nightly-2021-05-26-021757
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:2438 |