Bug 1829442 - [OVN] 4.4 Failed to add gateway route: one of Dst.IP, Src, or Gw must not be nil
Summary: [OVN] 4.4 Failed to add gateway route: one of Dst.IP, Src, or Gw must not be nil
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.4
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.4.z
Assignee: Jacob Tanenbaum
QA Contact: Weibin Liang
URL:
Whiteboard:
Depends On: 1828988
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-29 14:29 UTC by Weibin Liang
Modified: 2020-05-26 16:50 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1828988
Environment:
Last Closed: 2020-05-26 16:50:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift ovn-kubernetes pull 157 0 None closed [release 4.4] bug 1829442: Remove errors based on passing nil elements to MarshalPodAnnotations() 2020-06-18 13:44:23 UTC
Red Hat Product Errata RHBA-2020:2180 0 None None None 2020-05-26 16:50:49 UTC

Description Weibin Liang 2020-04-29 14:29:34 UTC
+++ This bug was initially created as a clone of Bug #1828988 +++

Description of problem:
SDN-561(Multus Default route overwrite) passed on SDN but failed on OVN


Version-Release number of selected component (if applicable):
4.5.0-0.nightly-2020-04-28-084038

How reproducible:
Always

Steps to Reproduce:
1.Create NetworkAttachmentDefinition 
curl -s https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/networking/multus-cni/NetworkAttachmentDefinitions/ipam-static.yaml | sed s/ipam-name/bridge-static/g | sed s/ipam-type/bridge/g | oc create -f-

2.Create a pod 
oc create -f https://raw.githubusercontent.com/weliang1/Openshift_Networking/master/Features/multus/multus-default-route-pod.yaml

3.oc describe pod multus-default-route-pod

Warning  FailedCreatePodSandBox  58m   kubelet, ip-10-0-56-92.us-east-2.compute.internal  Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create pod network sandbox k8s_multus-default-route-pod_aff5m_f9bbe55a-be2d-425a-9530-033cf6abaedd_0(773e792c4123393bc625148235d18f4f8a1d6efafff6f5f9bca8e082961e6e13): Multus: [aff5m/multus-default-route-pod]: error adding container to network "ovn-kubernetes": delegateAdd: error invoking confAdd - "ovn-k8s-cni-overlay": error in getting result from AddNetwork: CNI request failed with status 400: '[aff5m/multus-default-route-pod] failed to configure pod interface: failed to add gateway route: one of Dst.IP, Src, or Gw must not be nil


Actual results:
Can not deploy multus pod

Expected results:
Can deploy multus pod

Additional info:
Same issue also happen in v4.4

Comment 3 Weibin Liang 2020-05-18 20:06:34 UTC
Tested and verified in 4.4.0-0.nightly-2020-05-14-234853

Comment 5 errata-xmlrpc 2020-05-26 16:50:33 UTC
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, 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/RHBA-2020:2180


Note You need to log in before you can comment on or make changes to this bug.