Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inconsistent kernel route entry versus the bgp route entry #4792

Closed
lguohan opened this issue Jun 17, 2020 · 1 comment
Closed

inconsistent kernel route entry versus the bgp route entry #4792

lguohan opened this issue Jun 17, 2020 · 1 comment
Assignees
Labels

Comments

@lguohan
Copy link
Collaborator

lguohan commented Jun 17, 2020

Description

Steps to reproduce the issue:
1.
2.
3.

Describe the results you received:

In some kvm test run, the kernel route entry is in consistent bgp route entry.

https://sonic-jenkins.westus2.cloudapp.azure.com/job/common/job/sonic-mgmt-testing/job/sonic-mgmt-pr/11/artifact/sonic-mgmt/tests/logs/1vlan/bgp/test_bgp_fact.log/*view*/

In above log, there is no 7 routes in the kernel, but bgp shows 6400 routes.

INFO     common.plugins.sanity_check.checks:checks.py:179 cmd='ip route | wc -l', output:
[
    "7"
]

INFO     common.plugins.sanity_check.checks:checks.py:179 cmd='show ip bgp summary', output:
[
    "", 
    "IPv4 Unicast Summary:", 
    "BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0", 
    "BGP table version 2", 
    "RIB entries 12807, using 2301 KiB of memory", 
    "Peers 4, using 82 KiB of memory", 
    "Peer groups 6, using 384 bytes of memory", 
    "", 
    "Neighbor        V         AS MsgRcvd MsgSent   TblVer  InQ OutQ  Up/Down State/PfxRcd\tNeighborName", 
    "10.0.0.57       4      64600    9779     179        0    0    0 00:00:43         6400\tARISTA01T1", 
    "10.0.0.59       4      64600    3441     187        0    0    0 00:09:11         6400\tARISTA02T1", 
    "10.0.0.61       4      64600    3475     187        0    0    0 00:09:11         6400\tARISTA03T1", 
    "10.0.0.63       4      64600    3438     187        0    0    0 00:09:11         6400\tARISTA04T1", 
    "", 
    "Total number of neighbors 4"

This is mostly likely a sonic image issue, but I do not know how to repro.

But I do see multiple instances such error in recent kvm test results.

Describe the results you expected:

Additional information you deem important:

**Output of `show version`:**

```
(paste your output here)
```

**Attach debug file `sudo generate_dump`:**

```
(paste your output here)
```
@lguohan lguohan transferred this issue from sonic-net/sonic-mgmt Jun 17, 2020
@lguohan lguohan pinned this issue Jun 25, 2020
@lguohan
Copy link
Collaborator Author

lguohan commented Jul 23, 2020

duplicated as #5026

@lguohan lguohan closed this as completed Jul 23, 2020
@lguohan lguohan unpinned this issue Jul 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant