On a L2 VN, adding a AAP entry on a port does not add it to L2 table

Bug #1715561 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.2
Fix Committed
High
Madhusudan Bhat
R4.0
Fix Committed
High
Madhusudan Bhat
R4.1
Fix Committed
High
Madhusudan Bhat
Trunk
Fix Committed
High
Madhusudan Bhat

Bug Description

R4.0.1.0 Build 69

Create a VN and set it to be in L2 only mode.

Boot a VM in that VN.

root@nodei31:~# neutron port-list | grep 10.1.1.
| fb1d07ab-76e6-4481-9d41-d3d0fc081fef | fb1d07ab-76e6-4481-9d41-d3d0fc081fef | 02:fb:1d:07:ab:76 | {"subnet_id": "40b5add0-0a9a-40ce-8a6b-9e897822d0b8", "ip_address": "10.1.1.3"} |
root@nodei31:~#

Using Contrail UI, add an Allowed address pair entry 10.1.1.10, 00:01:02:03:04:05 to this port.

It is seen that the bridge table is not having this AAP MAC (both in agent/vrouter)

root@nodei31:~# rt --dump 2 --family bridge
Flags: L=Label Valid, Df=DHCP flood, Mm=Mac Moved, L2c=L2 Evpn Control Word, N=New Entry, Ec=EvpnControlProcessing
vRouter bridge table 0/2
Index DestMac Flags Label/VNID Nexthop Stats
5104 2:fb:1d:7:ab:76 - 13 0
31264 0:0:5e:0:1:0 Df - 3 0
112924 ff:ff:ff:ff:ff:ff LDf 4 16 242
242248 0:25:90:e7:7f:ac Df - 3 0
root@nodei31:~#

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

Review in progress for https://review.opencontrail.org/36288
Submitter: Madhusudan Bhat (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/36413
Submitter: Madhusudan Bhat (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/36413
Committed: http://github.com/Juniper/contrail-controller/commit/9b33c4e1b4a62c9d323b3cd39b96ae6f52e1fba9
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit 9b33c4e1b4a62c9d323b3cd39b96ae6f52e1fba9
Author: bmadhu <email address hidden>
Date: Thu Oct 5 18:55:44 2017 +0530

Fix for AAP entry not getting added to L2 table in L2 mode VN:
In L2 mode VN,since L3 forwarding is disabled, VMI will not be in
IPactive state, hence AAP add op was wrongly re computed to DEL op.

Change-Id: Ib1375a5a751855a1beb1aa32a6ef4ed2605b1fdf
Closes-Bug: 1715561

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

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

commit a49b11569a59ff21593fb16de15a3fbb708ad967
Author: bmadhu <email address hidden>
Date: Thu Oct 5 18:55:44 2017 +0530

Fix for AAP entry not getting added to L2 table in L2 mode VN:
In L2 mode VN,since L3 forwarding is disabled, VMI will not be in
IPactive state, hence AAP add op was wrongly re computed to DEL op.

Change-Id: Ib1375a5a751855a1beb1aa32a6ef4ed2605b1fdf
Closes-Bug: 1715561

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

Review in progress for https://review.opencontrail.org/36515
Submitter: Madhusudan Bhat (<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/36906
Submitter: Madhusudan Bhat (<email address hidden>)

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

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

commit ce5e089eec40450646587d4de198ecfa7f4e986d
Author: bmadhu <email address hidden>
Date: Fri Oct 27 17:15:53 2017 +0530

Fix for AAP entry not getting added to L2 table in L2 mode VN:
Adding L2 route properly when L3 forwarding is false in case of L2 mode only.

Change-Id: I82b3589294ecb350425b53cc45e73672f31fb818
Closes-Bug: 1715561

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

Review in progress for https://review.opencontrail.org/38455
Submitter: Madhusudan Bhat (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/38455
Committed: http://github.com/Juniper/contrail-controller/commit/d4e39f20d9e97ac541c2275ba8311b6fa91b6bd1
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit d4e39f20d9e97ac541c2275ba8311b6fa91b6bd1
Author: bmadhu <email address hidden>
Date: Tue Dec 19 14:24:05 2017 +0530

Fix for AAP entry not getting added to L2 table in L2 mode VN:
Adding L2 route properly when L3 forwarding is false in case of L2 mode only.

Change-Id: I5224cb7e7f3e5759ab82647ee5bd20f1b7027626
Closes-Bug: 1715561

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.