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

portchannel ip is lost after reboot, but config reload works fine #4015

Open
banagiri opened this issue Jan 13, 2020 · 4 comments
Open

portchannel ip is lost after reboot, but config reload works fine #4015

banagiri opened this issue Jan 13, 2020 · 4 comments

Comments

@banagiri
Copy link
Contributor

Description

when device is rebooted having IP on portchannel, the IP address is not recovered.
An explicit config reload or write config_db.json to DB gets the IP address.

Steps to reproduce the issue:

  1. create portchannel
  2. add ip address
  3. config save
  4. relaod
  5. check the "show ip interface" output or dump redis DB

Describe the results you received:
Portchannel ip is missing after reboot

Describe the results you expected:
Portchannel has to retain IP after reboot

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

Note: this is not same as #3150 or #3043
Output of show version:

SONiC Software Version: SONiC.201911.0-dirty-20200110.174709
Distribution: Debian 9.11
Build commit: b2234a68
@prsunny
Copy link
Contributor

prsunny commented Jan 17, 2020

Can you check if this is fixed by sonic-net/sonic-swss#1159

@banagiri
Copy link
Contributor Author

++ @antony-rheneus
@prsunny ,
the issue tells about config reload, load minigraph and docker restart, which we have also observed that portchannel would be staying in system even after cleaning startup config.

Here, the issue raised is related to system reboot.

@xinliu-seattle
Copy link
Contributor

@banagiri , can you please share platform information, configDB.json, show version to help us understand this issue better. thanks.

@banagiri
Copy link
Contributor Author

@xinliu-seattle
the issue was easily reproduced with the commit id

Distribution: Debian 9.11
Build commit: b2234a68

to reproduce, just we need to configure portchannel through cli commands, once the portchannel is up and fine, save config and reboot.

the portchannel in "show interfaces portchannel" shows as down, and no members will be active

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

3 participants