Allowed address pair mac address update on webui doesnt populate route

Bug #1547677 reported by Ranjini Rajendran
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
Medium
Naveen N
R2.20.x
Fix Committed
Medium
Naveen N
R2.21.x
Fix Committed
Medium
Naveen N
R2.22.x
Fix Committed
Medium
Naveen N
R3.0
Fix Committed
Medium
Naveen N
Trunk
Fix Committed
Medium
Naveen N

Bug Description

Build 2.21.1-23

AAP with VIP and MAC already exists in config. Later when AAP MAC is updated for this same VIP, Interface has the all relevant configs in Agent introspect but unicast route table has missing route entry for this VIP.

An explicit delete and add of the same VIP/MAC as AAP resolves the issue.

Tags: vrouter
Changed in juniperopenstack:
milestone: r3.0-fcs → none
Revision history for this message
Naveen N (naveenn) wrote :

If mac of allowed-address pair is changed, then if the new mac is lesser than older mac
unicast route was not being published. This is because agent maintains list of
allowed-address pair keyed by IP + mac and its sorted by that, if the mac changes the deleted
IP + mac combination could be later in the list and hence IP route would get added by new
AAP entry and immediately deleted by old IP + mac combination

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

Review in progress for https://review.opencontrail.org/17537
Submitter: Naveen N (<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/17539
Submitter: Naveen N (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/17537
Committed: http://github.org/Juniper/contrail-controller/commit/bddef887973799f20ae0cc04621ec3858ed1d3b0
Submitter: Zuul
Branch: master

commit bddef887973799f20ae0cc04621ec3858ed1d3b0
Author: Naveen N <email address hidden>
Date: Mon Feb 22 14:36:21 2016 +0530

* Delete allowed-address pair entries before adding new ones
If mac address for a IP is update, layer3 route was getting deleted
if the new mac was lesser than older mac. Delete allowed-address-pair
first then add the new entries to avoid this scenario.
Closes-bug:#1547677

Change-Id: I8d6f1da1ac9dc774a13d33fdf7bd133e39717740

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

Reviewed: https://review.opencontrail.org/17539
Committed: http://github.org/Juniper/contrail-controller/commit/9e92a718dddfa802c39acbb369f0057bc5bbebdd
Submitter: Zuul
Branch: R3.0

commit 9e92a718dddfa802c39acbb369f0057bc5bbebdd
Author: Naveen N <email address hidden>
Date: Mon Feb 22 14:36:21 2016 +0530

* Delete allowed-address pair entries before adding new ones
If mac address for a IP is update, layer3 route was getting deleted
if the new mac was lesser than older mac. Delete allowed-address-pair
first then add the new entries to avoid this scenario.
Closes-bug:#1547677

Change-Id: I8d6f1da1ac9dc774a13d33fdf7bd133e39717740

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

Review in progress for https://review.opencontrail.org/18051
Submitter: Naveen N (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/18052
Submitter: Naveen N (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/18053
Submitter: Naveen N (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/18051
Committed: http://github.org/Juniper/contrail-controller/commit/aa15b3b0369ba9ff218a459edc34669e6a4dead9
Submitter: Zuul
Branch: R2.20

commit aa15b3b0369ba9ff218a459edc34669e6a4dead9
Author: Naveen N <email address hidden>
Date: Mon Feb 22 14:36:21 2016 +0530

* Delete allowed-address pair entries before adding new ones
If mac address for a IP is update, layer3 route was getting deleted
if the new mac was lesser than older mac. Delete allowed-address-pair
first then add the new entries to avoid this scenario.
Closes-bug:#1547677

Change-Id: I8d6f1da1ac9dc774a13d33fdf7bd133e39717740

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

Reviewed: https://review.opencontrail.org/18052
Committed: http://github.org/Juniper/contrail-controller/commit/e14ddc04ac14beeb41c0e69f41fcd0b50827f4ea
Submitter: Zuul
Branch: R2.21.x

commit e14ddc04ac14beeb41c0e69f41fcd0b50827f4ea
Author: Naveen N <email address hidden>
Date: Mon Feb 22 14:36:21 2016 +0530

* Delete allowed-address pair entries before adding new ones
If mac address for a IP is update, layer3 route was getting deleted
if the new mac was lesser than older mac. Delete allowed-address-pair
first then add the new entries to avoid this scenario.
Closes-bug:#1547677

Change-Id: I8d6f1da1ac9dc774a13d33fdf7bd133e39717740

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

Reviewed: https://review.opencontrail.org/18053
Committed: http://github.org/Juniper/contrail-controller/commit/81d03e0c3e4c46f2074a0a9ce97a376332a33e97
Submitter: Zuul
Branch: R2.20.x

commit 81d03e0c3e4c46f2074a0a9ce97a376332a33e97
Author: Naveen N <email address hidden>
Date: Mon Feb 22 14:36:21 2016 +0530

* Delete allowed-address pair entries before adding new ones
If mac address for a IP is update, layer3 route was getting deleted
if the new mac was lesser than older mac. Delete allowed-address-pair
first then add the new entries to avoid this scenario.
Closes-bug:#1547677

Change-Id: I8d6f1da1ac9dc774a13d33fdf7bd133e39717740

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

Review in progress for https://review.opencontrail.org/18675
Submitter: Naveen N (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/18675
Committed: http://github.org/Juniper/contrail-controller/commit/462702ef98a5ec15a5ae8205d9188492b7c8155f
Submitter: Zuul
Branch: R2.22.x

commit 462702ef98a5ec15a5ae8205d9188492b7c8155f
Author: Naveen N <email address hidden>
Date: Mon Feb 22 14:36:21 2016 +0530

* Delete allowed-address pair entries before adding new ones
If mac address for a IP is update, layer3 route was getting deleted
if the new mac was lesser than older mac. Delete allowed-address-pair
first then add the new entries to avoid this scenario.
Closes-bug:#1547677

Change-Id: I8d6f1da1ac9dc774a13d33fdf7bd133e39717740

information type: Proprietary → Public
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.