Default gw/dns routes point to drop nh for sub-interface vrf

Bug #1661133 reported by amit surana
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
High
Manish Singh
R3.0.3.x
Fix Committed
High
Manish Singh
R3.1
Fix Committed
High
Manish Singh
R3.2
Fix Committed
High
Manish Singh
Trunk
Fix Committed
High
Manish Singh

Bug Description

Created 512 VLAN sub-interfaces, as children of same parent vmi. It is seen that for some of the VLANs, the route for gw/dns IP points to drop nh. Seen for ~15 vrf/vlans out of 512.

root@csol2-node16:/var/tmp# vif --get 165
Vrouter Interface Table

Flags: P=Policy, X=Cross Connect, S=Service Chain, Mr=Receive Mirror
       Mt=Transmit Mirror, Tc=Transmit Checksum Offload, L3=Layer 3, L2=Layer 2
       D=DHCP, Vp=Vhost Physical, Pr=Promiscuous, Vnt=Native Vlan Tagged
       Mnp=No MAC Proxy, Dpdk=DPDK PMD Interface, Rfl=Receive Filtering Offload, Mon=Interface is Monitored
       Uuf=Unknown Unicast Flood, Vof=VLAN insert/strip offload, Df=Drop New Flows, Proxy=MAC Requests Proxied Always

vif0/165 OS: NULL Vlan(o/i)(,S): 23/23 Bridge Index: 0 Parent:vif0/9
            Type:Virtual(Vlan) HWaddr:00:00:5e:00:01:00 IPaddr:0
            Vrf:519 Flags:PL3L2D MTU:1514 QOS:-1 Ref:5
            RX packets:16036 bytes:759233 errors:0
            TX packets:2376 bytes:131654 errors:0

root@csol2-node16:/var/tmp# rt --dump 519 | grep 30.0.15
30.0.15.0/32 24 TF - 1 -
30.0.15.1/32 24 TF - 1 -
30.0.15.2/32 24 TF - 1 -
30.0.15.3/32 32 P - 1659 0:16:3e:5f:8e:ac(237052)
30.0.15.4/32 24 TF - 1 -

Tags: vrouter
Changed in juniperopenstack:
assignee: Hari Prasad Killi (haripk) → Manish Singh (manishs)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/28691
Submitter: Manish Singh (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2

Review in progress for https://review.opencontrail.org/28954
Submitter: Manish Singh (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/28954
Committed: http://github.org/Juniper/contrail-controller/commit/6a2390e93a874df02442a15575da65e32a240c67
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 6a2390e93a874df02442a15575da65e32a240c67
Author: Manish <email address hidden>
Date: Tue Feb 21 11:22:25 2017 +0530

Route notification to ksync missed.

Problem: If VRF notification is not yet
received and route is notified then it does not reach ksync. In absence of ksync
entry for this route, it is not installed in vrouter. Vrf can be notified later
though.

Solution: Ksync will walk routes in vrf whenever vrf ksync entry is
added to look for all missed routes.

Closes-bug: #1661133

Change-Id: I1ad66ba35319c15913ae19a8f14b4d4ca785dbcf

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.1

Review in progress for https://review.opencontrail.org/29068
Submitter: Manish Singh (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/29068
Committed: http://github.org/Juniper/contrail-controller/commit/d8770d6bdf4d88f13059808ec8c1d310a7428025
Submitter: Zuul (<email address hidden>)
Branch: R3.1

commit d8770d6bdf4d88f13059808ec8c1d310a7428025
Author: Manish <email address hidden>
Date: Tue Feb 21 11:22:25 2017 +0530

Route notification to ksync missed.

Problem: If VRF notification is not yet
received and route is notified then it does not reach ksync. In absence of ksync
entry for this route, it is not installed in vrouter. Vrf can be notified later
though.

Solution: Ksync will walk routes in vrf whenever vrf ksync entry is
added to look for all missed routes.

Closes-bug: #1661133

Change-Id: I1ad66ba35319c15913ae19a8f14b4d4ca785dbcf
(cherry picked from commit 6a2390e93a874df02442a15575da65e32a240c67)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0.3.x

Review in progress for https://review.opencontrail.org/29095
Submitter: Manish Singh (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/29216
Submitter: Hari Prasad Killi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/29216
Committed: http://github.org/Juniper/contrail-controller/commit/b732b06b1c855f3fd5f6fb115474e0b4ad231c26
Submitter: Zuul (<email address hidden>)
Branch: R3.0

commit b732b06b1c855f3fd5f6fb115474e0b4ad231c26
Author: Manish <email address hidden>
Date: Tue Feb 21 11:22:25 2017 +0530

Route notification to ksync missed.

Problem: If VRF notification is not yet
received and route is notified then it does not reach ksync. In absence of ksync
entry for this route, it is not installed in vrouter. Vrf can be notified later
though.

Solution: Ksync will walk routes in vrf whenever vrf ksync entry is
added to look for all missed routes.

Closes-bug: #1661133

Change-Id: I1ad66ba35319c15913ae19a8f14b4d4ca785dbcf
(cherry picked from commit 6a2390e93a874df02442a15575da65e32a240c67)
(cherry picked from commit d8770d6bdf4d88f13059808ec8c1d310a7428025)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/29095
Committed: http://github.org/Juniper/contrail-controller/commit/4ae31b9c3cca6554a2ab7583f211c1fdec1e218b
Submitter: Zuul (<email address hidden>)
Branch: R3.0.3.x

commit 4ae31b9c3cca6554a2ab7583f211c1fdec1e218b
Author: Manish <email address hidden>
Date: Tue Feb 21 11:22:25 2017 +0530

Route notification to ksync missed.

Problem: If VRF notification is not yet
received and route is notified then it does not reach ksync. In absence of ksync
entry for this route, it is not installed in vrouter. Vrf can be notified later
though.

Solution: Ksync will walk routes in vrf whenever vrf ksync entry is
added to look for all missed routes.

Closes-bug: #1661133

Change-Id: I1ad66ba35319c15913ae19a8f14b4d4ca785dbcf
(cherry picked from commit 6a2390e93a874df02442a15575da65e32a240c67)
(cherry picked from commit d8770d6bdf4d88f13059808ec8c1d310a7428025)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/28691
Committed: http://github.org/Juniper/contrail-controller/commit/619db91970e0bdd5ff22d31b4ea5f10b7a7a9117
Submitter: Zuul (<email address hidden>)
Branch: master

commit 619db91970e0bdd5ff22d31b4ea5f10b7a7a9117
Author: Manish <email address hidden>
Date: Sun Feb 12 15:26:48 2017 +0530

Route notification to ksync missed.

Problem:
If VRF notification is not yet received and route is notified then it does not
reach ksync. In absence of ksync entry for this route, it is not installed in
vrouter. Vrf can be notified later though.

Solution:
Ksync will walk routes in vrf whenever vrf ksync entry is added to look for all
missed routes.

Change-Id: I1ad66ba35319c15913ae19a8f14b4d4ca785dbcf
Closes-bug: #1661133

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.