kernel route table introspect shows duplicate entries

Bug #1614847 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Medium
Divakar Dharanalakota

Bug Description

Pls see attachment.

The routes are shown across multiple tables
It seems that last entry of one table and the first entry of its next table are the same.

Tags: vrouter
Revision history for this message
Vedamurthy Joshi (vedujoshi) wrote :
Revision history for this message
Kumar Harsh (hkumar) wrote :

The rt utility also shows duplicate entries .

root@nodec17:~# rt --dump 1 | grep 20.0.0.12
20.0.0.12/32 0 - 0 -
20.0.0.12/32 0 - 0 -

Changed in juniperopenstack:
assignee: Kumar Harsh (hkumar) → Divakar Dharanalakota (ddivakar)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/24348
Submitter: Divakar Dharanalakota (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/24348
Committed: http://github.org/Juniper/contrail-vrouter/commit/20072c967a073e8de661814efe572149ba8f2f6b
Submitter: Zuul
Branch: master

commit 20072c967a073e8de661814efe572149ba8f2f6b
Author: Divakar D <email address hidden>
Date: Wed Sep 21 21:52:35 2016 +0530

Dont display last displayed route in rt dump

Mtrie dump, dumps 32 routes per one iteration. "rt" utility sends last displayed
route in rt_marker in the next iteration. Vrouter searchs till rt_marker and
starts displaying the routes again from rt_marker. This results in rt_marker
being displayed in previous and as well as current iteration.

As such rt_marker_plen is not being used while searching the rt_marker. So the
usage of this is removed in Vrouter. Sandesh file is not changed so that
Agent does not have to undergo any further changes.

Change-Id: Ie6eaf39f6fe40faf88cf4175ad594fa62fb8b582
closes-bug: #1614847

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.