Bug 1997114
| Summary: | EgressFirewall may fail to be applied due to address_set missing | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Tim Rozet <trozet> |
| Component: | Networking | Assignee: | Tim Rozet <trozet> |
| Networking sub component: | ovn-kubernetes | QA Contact: | Anurag saxena <anusaxen> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | medium | ||
| Priority: | medium | CC: | zzhao |
| Version: | 4.9 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.9.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-10-18 17:48:41 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
Tim Rozet
2021-08-24 12:50:40 UTC
Reproduced this bug on 4.9.0-0.nightly-2021-08-19-180334
1. Create namespaces z1 and pod
2. Create egressfirewall
kind: EgressFirewall
apiVersion: k8s.ovn.org/v1
metadata:
name: default
spec:
egress:
- type: Allow
to:
dnsName: www.test.com
- type: Allow
to:
dnsName: yahoo.com
ports:
- protocol: TCP
port: 80
- type: Deny
to:
cidrSelector: 0.0.0.0/0
3. rsh into ovn-master
ovn-nbctl list address_set | grep name=z1_v4
_uuid : 8e9b4404-34cb-4554-9b47-f312d3b64619
addresses : []
external_ids : {name=z1}
name : z1_v4
Verified this bug on 4.9.0-0.nightly-2021-08-24-203710
with same steps with above, we cannot see name: z1_v4
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.9.0 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:3759 |