Bug 1829442

Summary: [OVN] 4.4 Failed to add gateway route: one of Dst.IP, Src, or Gw must not be nil
Product: OpenShift Container Platform Reporter: Weibin Liang <weliang>
Component: NetworkingAssignee: Jacob Tanenbaum <jtanenba>
Networking sub component: ovn-kubernetes QA Contact: Weibin Liang <weliang>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: unspecified CC: aconstan, anusaxen, bbennett, huirwang, rbrattai, zzhao
Version: 4.4   
Target Milestone: ---   
Target Release: 4.4.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1828988 Environment:
Last Closed: 2020-05-26 16:50:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1828988    
Bug Blocks:    

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