You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
The config portchannel member add command doesn't check whether added interface is a vlan member.
Although such added port has not been added to portchannel, but if running configuration is saved it will lead to system crashes during next system rebooting.
Steps to reproduce the issue
Add a vlan # config vlan add 2
Add a vlan member # config vlan member add 2 Ethernet0
Create a portchannel interface and add a trunk port from previous step to this portchannel # config portchannel add PortChannel0001 # config portchannel member add PortChannel0001 Ethernet0
Save config & reboot
Describe the results you received
after rebooting docker containers crashes:
Jan 31 14:06:15.884601 r-ethernet-sw230 INFO swss.sh[4327]: No longer waiting on container 'swss'
Jan 31 14:06:15.917034 r-ethernet-sw230 NOTICE root: Stopping swss service...
Jan 31 14:06:15.925050 r-ethernet-sw230 NOTICE root: Locking /tmp/swss-syncd-lock from swss service
Jan 31 14:06:15.935367 r-ethernet-sw230 NOTICE root: Locked /tmp/swss-syncd-lock (10) from swss service
Jan 31 14:06:16.476376 r-ethernet-sw230 NOTICE root: Warm boot flag: swss false.
Jan 31 14:06:16.574305 r-ethernet-sw230 INFO swss.sh[8081]: swss
Jan 31 14:06:16.583619 r-ethernet-sw230 NOTICE root: Stopped swss service...
Jan 31 14:06:16.592959 r-ethernet-sw230 NOTICE root: Clearing FAST_REBOOT flag...
Jan 31 14:06:16.877283 r-ethernet-sw230 NOTICE root: Unlocking /tmp/swss-syncd-lock (10) from swss service
Jan 31 14:06:16.891342 r-ethernet-sw230 INFO systemd[1]: Stopping syncd service...
Jan 31 14:06:16.902501 r-ethernet-sw230 NOTICE root: Stopping syncd service...
Jan 31 14:06:16.911261 r-ethernet-sw230 NOTICE root: Locking /tmp/swss-syncd-lock from syncd service
Jan 31 14:06:16.924477 r-ethernet-sw230 NOTICE root: Locked /tmp/swss-syncd-lock (10) from syncd service
Jan 31 14:06:17.490516 r-ethernet-sw230 NOTICE root: Warm boot flag: syncd false.
Jan 31 14:06:17.499564 r-ethernet-sw230 NOTICE root: Stopping pmon service ahead of syncd...
Jan 31 14:06:17.513570 r-ethernet-sw230 INFO systemd[1]: Stopping Platform monitor container..
Describe the results you expected
An attempt to add a trunk interface to portchannel interface should be rejected and these missguided settings must not be saved in running configuration.
There should be cli/syslog warning in case of assigning a vlan member port to a portchannel interface.
Additional information you deem important (e.g. issue happens only occasionally)
Description
The
config portchannel member add
command doesn't check whether added interface is a vlan member.Although such added port has not been added to portchannel, but if running configuration is saved it will lead to system crashes during next system rebooting.
Steps to reproduce the issue
# config vlan add 2
# config vlan member add 2 Ethernet0
# config portchannel add PortChannel0001
# config portchannel member add PortChannel0001 Ethernet0
Describe the results you received
after rebooting docker containers crashes:
Describe the results you expected
Additional information you deem important (e.g. issue happens only occasionally)
Output of
show version
sonic_dump_r-ethernet-sw230_20200131_140708.tar.gz
The text was updated successfully, but these errors were encountered: