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

vtysh failure result in all bgp related CLI command stuck #3358

Closed
keboliu opened this issue Aug 16, 2019 · 3 comments
Closed

vtysh failure result in all bgp related CLI command stuck #3358

keboliu opened this issue Aug 16, 2019 · 3 comments
Assignees

Comments

@keboliu
Copy link
Collaborator

keboliu commented Aug 16, 2019

Description

with the latest master image, after switch boot up can observe that all bgp related CLI command stuck like "show bgp summary". After investigated little bit further, found that it because "vtysh" can not be finished and always stuck there. At the same time, the bgp neighbors seem are all established if check from the peer.

root@mtbc-sonic-03-2700:/home/admin# show bgp summary

^C
Aborted! 
root@mtbc-sonic-03-2700:/home/admin# docker exec -it bgp bash
root@mtbc-sonic-03-2700:/# vtysh

Hello, this is FRRouting (version 7.0.1-sonic).
Copyright 1996-2005 Kunihiro Ishiguro, et al.

^C
^C

all tasks inside bgp are running:

root@mtbc-sonic-03-2700:/home/admin# docker exec -it bgp bash
root@mtbc-sonic-03-2700:/# ps -a
  PID TTY          TIME CMD
   59 pts/0    00:00:00 rsyslogd
   69 pts/0    00:00:00 python
   72 pts/0    00:00:28 zebra
   75 pts/0    00:00:00 staticd
   78 pts/0    00:00:02 bgpd
   84 pts/0    00:00:07 fpmsyncd
   96 pts/1    00:00:00 ps

Steps to reproduce the issue:
install the latest master image, there could be a chance to see this issue.

Describe the results you received:
expect bgp related CLI commands shall work.

Describe the results you expected:
bgp related CLI commands all stuck

Additional information you deem important (e.g. issue happens only occasionally):

**Output of `show version`:**

```
root@mtbc-sonic-03-2700:/home/admin# show version

SONiC Software Version: SONiC.HEAD.60-99b0b349
Distribution: Debian 9.9
Kernel: 4.9.0-9-2-amd64
Build commit: 99b0b349
Build date: Wed Aug 14 08:29:23 UTC 2019
Built by: johnar@jenkins-worker-3

Platform: x86_64-mlnx_msn2700-r0
HwSKU: ACS-MSN2700
ASIC: mellanox
Serial Number: MT1533X04568
Uptime: 08:24:00 up 35 min,  2 users,  load average: 3.15, 3.20, 3.29

Docker images:
REPOSITORY                 TAG                 IMAGE ID            SIZE
docker-syncd-mlnx          HEAD.60-99b0b349    b8c3d8732800        369MB
docker-syncd-mlnx          latest              b8c3d8732800        369MB
docker-lldp-sv2            HEAD.60-99b0b349    69f6de70b961        298MB
docker-lldp-sv2            latest              69f6de70b961        298MB
docker-router-advertiser   HEAD.60-99b0b349    27cd8a6f2ea0        281MB
docker-router-advertiser   latest              27cd8a6f2ea0        281MB
docker-dhcp-relay          HEAD.60-99b0b349    96e1f59b6c09        289MB
docker-dhcp-relay          latest              96e1f59b6c09        289MB
docker-database            HEAD.60-99b0b349    5c280cb48068        281MB
docker-database            latest              5c280cb48068        281MB
docker-teamd               HEAD.60-99b0b349    6a2953bb2249        302MB
docker-teamd               latest              6a2953bb2249        302MB
docker-snmp-sv2            HEAD.60-99b0b349    d2a27b71de9e        312MB
docker-snmp-sv2            latest              d2a27b71de9e        312MB
docker-orchagent           HEAD.60-99b0b349    e85db1cc59bf        321MB
docker-orchagent           latest              e85db1cc59bf        321MB
docker-fpm-frr             HEAD.60-99b0b349    30e04664a793        319MB
docker-fpm-frr             latest              30e04664a793        319MB
docker-sonic-telemetry     HEAD.60-99b0b349    997f96a67066        304MB
docker-sonic-telemetry     latest              997f96a67066        304MB
docker-platform-monitor    HEAD.60-99b0b349    ad00733567fa        560MB
docker-platform-monitor    latest              ad00733567fa        560MB

syslog.zip


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

    ```
    (paste your output here)
    ```
@pavel-shirshov
Copy link
Contributor

Probably fix is here:
#3604

@keboliu
Copy link
Collaborator Author

keboliu commented Oct 16, 2019

Probably fix is here:
#3604

Thank you for the notification, will test after PR merged.

@pavel-shirshov
Copy link
Contributor

@keboliu I've merged the PR. Please test it when you have time. Thanks

mssonicbld added a commit that referenced this issue Jun 25, 2024
…atically (#19333)

#### Why I did it
src/sonic-utilities
```
* 0e6a55ef - (HEAD -> master, origin/master, origin/HEAD) [fast-reboot] Backup database after syncd/swss stopped (#3342) (20 hours ago) [Stepan Blyshchak]
* c51758df - fix: fix show bgp summary output typo (#3375) (25 hours ago) [Chenyang Wang]
* cf7bfa29 - Add the definition of `log` in `script decode-syseeprom` (#3383) (4 days ago) [Yutong Zhang]
* 9d206af7 - [chassis][mutli-asic][lldp] "show lldp table/neighbors" displays error message in output on multi-asis linecard. (#3358) (5 days ago) [Marty Y. Lok]
* 515265a5 - Update TRANSCEIVER_FIRMWARE_INFO table for all targets in sfputil (#3370) (6 days ago) [mihirpat1]
* 3df762f1 - [config] no op if Golden Config is invalid (#3367) (7 days ago) [jingwenxie]
* 8f715acf - [config]Support single file reload for multiasic (#3349) (7 days ago) [jingwenxie]
* 31f5fa8e - Improve load_mingraph to wait eth0 restart before exit (#3365) (7 days ago) [Hua Liu]
```
#### How I did it
#### How to verify it
#### Description for the changelog
arun1355492 pushed a commit to arun1355492/sonic-buildimage that referenced this issue Jul 26, 2024
…atically (sonic-net#19333)

#### Why I did it
src/sonic-utilities
```
* 0e6a55ef - (HEAD -> master, origin/master, origin/HEAD) [fast-reboot] Backup database after syncd/swss stopped (sonic-net#3342) (20 hours ago) [Stepan Blyshchak]
* c51758df - fix: fix show bgp summary output typo (sonic-net#3375) (25 hours ago) [Chenyang Wang]
* cf7bfa29 - Add the definition of `log` in `script decode-syseeprom` (sonic-net#3383) (4 days ago) [Yutong Zhang]
* 9d206af7 - [chassis][mutli-asic][lldp] "show lldp table/neighbors" displays error message in output on multi-asis linecard. (sonic-net#3358) (5 days ago) [Marty Y. Lok]
* 515265a5 - Update TRANSCEIVER_FIRMWARE_INFO table for all targets in sfputil (sonic-net#3370) (6 days ago) [mihirpat1]
* 3df762f1 - [config] no op if Golden Config is invalid (sonic-net#3367) (7 days ago) [jingwenxie]
* 8f715acf - [config]Support single file reload for multiasic (sonic-net#3349) (7 days ago) [jingwenxie]
* 31f5fa8e - Improve load_mingraph to wait eth0 restart before exit (sonic-net#3365) (7 days ago) [Hua Liu]
```
#### How I did it
#### How to verify it
#### Description for the changelog
liushilongbuaa pushed a commit to liushilongbuaa/sonic-buildimage that referenced this issue Aug 1, 2024
…atically (sonic-net#19333)

#### Why I did it
src/sonic-utilities
```
* 0e6a55ef - (HEAD -> master, origin/master, origin/HEAD) [fast-reboot] Backup database after syncd/swss stopped (sonic-net#3342) (20 hours ago) [Stepan Blyshchak]
* c51758df - fix: fix show bgp summary output typo (sonic-net#3375) (25 hours ago) [Chenyang Wang]
* cf7bfa29 - Add the definition of `log` in `script decode-syseeprom` (sonic-net#3383) (4 days ago) [Yutong Zhang]
* 9d206af7 - [chassis][mutli-asic][lldp] "show lldp table/neighbors" displays error message in output on multi-asis linecard. (sonic-net#3358) (5 days ago) [Marty Y. Lok]
* 515265a5 - Update TRANSCEIVER_FIRMWARE_INFO table for all targets in sfputil (sonic-net#3370) (6 days ago) [mihirpat1]
* 3df762f1 - [config] no op if Golden Config is invalid (sonic-net#3367) (7 days ago) [jingwenxie]
* 8f715acf - [config]Support single file reload for multiasic (sonic-net#3349) (7 days ago) [jingwenxie]
* 31f5fa8e - Improve load_mingraph to wait eth0 restart before exit (sonic-net#3365) (7 days ago) [Hua Liu]
```
#### How I did it
#### How to verify it
#### Description for the changelog
mssonicbld added a commit that referenced this issue Aug 3, 2024
…atically (#19806)

#### Why I did it
src/sonic-utilities
```
* cee3e8e0 - (HEAD -> 202405, origin/202405) Enable show ip bgp on sup and -n all for show ip bgp network (#3417) (4 hours ago) [Changrong Wu]
* 26f5d757 - Add the definition of `log` in `script decode-syseeprom` (#3383) (4 hours ago) [Yutong Zhang]
* af18c89c - Improve load_mingraph to wait eth0 restart before exit (#3365) (4 hours ago) [Hua Liu]
* 73e12564 - [chassis][mutli-asic][lldp] "show lldp table/neighbors" displays error message in output on multi-asis linecard. (#3358) (4 hours ago) [Marty Y. Lok]
* 69dab7ac - [pbh]: Fix show PBH counters when cache is partial (#3356) (4 hours ago) [Nazarii Hnydyn]
* ae20defd - [fast-reboot] Backup database after syncd/swss stopped (#3342) (4 hours ago) [Stepan Blyshchak]
* a9876ee6 - Add Checkpoint and Rollback for Multi ASIC. (#3299) (4 hours ago) [Xincun Li]
* 7643ac3c - [DPB]Fixing return code of breakout command on failure (#3357) (4 hours ago) [Sudharsan Dhamal Gopalarathnam]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants