-
Bug
-
Resolution: Done
-
Major
-
4.12
-
None
-
No
-
SDN Sprint 234
-
1
-
Rejected
-
False
-
Description of problem:
Egress firewall returned error is overridden by the status update error, and never returned.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. Create egress firewall with bad cidr kind: EgressFirewall apiVersion: k8s.ovn.org/v1 metadata: name: default namespace: default spec: egress: - type: Allow to: cidrSelector: 1.2.3.345/32 2. Before fix: you should see the log "Creating *v1.EgressFirewall default/default took: 4.662942ms" 3. After fix: you should see the log "Failed to create *v1.EgressFirewall default/default, error: cannot create EgressFirewall Rule to destination 1.2.3.345/32 for namespace default: invalid CIDR address: 1.2.3.345/32" 4. These logs are mutually exclusive, check one of them is present and the other is not
Actual results:
Expected results:
Additional info:
- clones
-
OCPBUGS-10796 [4.13] Egress firewall is not retried on error
- Closed
- depends on
-
OCPBUGS-10796 [4.13] Egress firewall is not retried on error
- Closed
- links to