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
There is no validation, so it’s acceptable to delete a particular Vlan in case of several ports are members of this vlan.
But doing this an error appears in syslog: sonic ERR swss#orchagent: :- removeVlan: Failed to remove non-empty VLAN Vlan1002
Steps to reproduce the issue
Add a vlan config vlan add 1002
Assign members to created Vlan config vlan member add 1002 Ethernet32 config vlan member add 1002 Ethernet44
Remove created Vlan config vlan del 1002
Describe the results you received
Errors in syslog:
Jan 2 18:17:24.139406 sonic NOTICE swss#orchagent: :- removeVlanMember: Remove member Ethernet44 from VLAN Vlan1002 lid:3ea vmid:270000000002e6
Jan 2 18:17:24.139491 sonic NOTICE swss#orchagent: :- setHostIntfsStripTag: Set SAI_HOSTIF_VLAN_TAG_STRIP to host interface: Ethernet44
Jan 2 18:17:24.139535 sonic NOTICE swss#orchagent: :- removeBridgePort: Remove bridge port Ethernet44 from default 1Q bridge
Jan 2 18:17:24.142492 sonic INFO syncd#supervisord: syncd Jan 02 18:17:24 NOTICE SAI_VLAN: mlnx_sai_vlan.c[1329]- mlnx_remove_vlan_member: Remove vlan member interface Vlan member port 12900 vlan 1002
Jan 2 18:17:24.146621 sonic INFO lldp#lldpd[28]: removal request for address of fe80::268a:7ff:fe7e:4f80%41, but no knowledge of it
Jan 2 18:17:24.147346 r-ethernet-sw230 INFO kernel: [ 1227.099847] device Bridge left promiscuous mode
Jan 2 18:17:24.148819 sonic INFO lldp#supervisord: lldpd 2020-01-02T18:17:24 [INFO/netlink] removal request for address of fe80::268a:7ff:fe7e:4f80%41, but no knowledge of it
Jan 2 18:17:24.166604 sonic ERR swss#orchagent: :- removeVlan: Failed to remove non-empty VLAN Vlan1002
Jan 2 18:17:24.172260 sonic ERR swss#orchagent: :- removeVlan: Failed to remove non-empty VLAN Vlan1002
Jan 2 18:17:24.172339 sonic NOTICE swss#orchagent: :- removeVlanMember: Remove member Ethernet32 from VLAN Vlan1002 lid:3ea vmid:270000000002e4
Jan 2 18:17:24.172392 sonic NOTICE swss#orchagent: :- setHostIntfsStripTag: Set SAI_HOSTIF_VLAN_TAG_STRIP to host interface: Ethernet32
Jan 2 18:17:24.172435 sonic NOTICE swss#orchagent: :- removeBridgePort: Remove bridge port Ethernet32 from default 1Q bridge
Jan 2 18:17:24.172476 sonic NOTICE swss#orchagent: :- removeVlan: Remove VLAN Vlan1002 vid:1002
Jan 2 18:17:24.172566 sonic INFO syncd#supervisord: syncd Jan 02 18:17:24 NOTICE SAI_UTILS: mlnx_sai_utils.c[2336]- set_dispatch_attrib_handler: Set ADMIN_STATE, key:bridge port idx 1, val:false
Jan 2 18:17:24.174353 sonic INFO syncd#supervisord: syncd Jan 02 18:17:24 NOTICE SAI_SWITCH: mlnx_sai_switch.c[3741]- event_thread_func: Port 12900 changed state to down
Jan 2 18:17:24.175330 r-ethernet-sw230 WARNING kernel: [ 1227.127513] sx_netdev_handle_pude_event: Called for logical port - 12900 status DOWN
Jan 2 18:17:24.175948 sonic INFO syncd#supervisord: syncd Jan 02 18:17:24 NOTICE SAI_UTILS: mlnx_sai_utils.c[2336]- set_dispatch_attrib_handler: Set VLAN_TAG, key:host interface 11, val:STRIP
Jan 2 18:17:24.176039 sonic INFO syncd#supervisord: syncd Jan 02 18:17:24 NOTICE SAI_BRIDGE: mlnx_sai_bridge.c[2984]- mlnx_remove_bridge_port: Remove bridge port idx 1
Jan 2 18:17:24.177587 sonic INFO syncd#supervisord: syncd Jan 02 18:17:24 NOTICE SAI_VLAN: mlnx_sai_vlan.c[1329]- mlnx_remove_vlan_member: Remove vlan member interface Vlan member port 12500 vlan 1002
Jan 2 18:17:24.190275 sonic INFO syncd#supervisord: syncd Jan 02 18:17:24 NOTICE SAI_UTILS: mlnx_sai_utils.c[2336]- set_dispatch_attrib_handler: Set ADMIN_STATE, key:bridge port idx 0, val:false
Jan 2 18:17:24.194779 sonic INFO syncd#supervisord: syncd Jan 02 18:17:24 NOTICE SAI_SWITCH: mlnx_sai_switch.c[3741]- event_thread_func: Port 12500 changed state to down
Jan 2 18:17:24.195526 r-ethernet-sw230 WARNING kernel: [ 1227.148093] sx_netdev_handle_pude_event: Called for logical port - 12500 status DOWN
Jan 2 18:17:24.196301 sonic INFO syncd#supervisord: syncd Jan 02 18:17:24 NOTICE SAI_UTILS: mlnx_sai_utils.c[2336]- set_dispatch_attrib_handler: Set VLAN_TAG, key:host interface 8, val:STRIP
Jan 2 18:17:24.196301 sonic INFO syncd#supervisord: syncd Jan 02 18:17:24 NOTICE SAI_BRIDGE: mlnx_sai_bridge.c[2984]- mlnx_remove_bridge_port: Remove bridge port idx 0
Jan 2 18:17:24.196846 sonic INFO syncd#supervisord: syncd Jan 02 18:17:24 NOTICE SAI_VLAN: mlnx_sai_vlan.c[923]- mlnx_remove_vlan: Remove vlan 1002
Jan 2 18:17:24.200513 sonic NOTICE swss#orchagent: :- doTask: Get port state change notification id:10000000001f4 status:2
Jan 2 18:17:24.200513 sonic NOTICE swss#orchagent: :- updatePortOperStatus: Port Ethernet44 oper state set from up to down
Jan 2 18:17:24.201674 sonic NOTICE swss#orchagent: :- setHostIntfsOperStatus: Set operation status DOWN to host interface Ethernet44
Jan 2 18:17:24.202342 sonic NOTICE swss#orchagent: :- doTask: Get port state change notification id:10000000001d3 status:2
Jan 2 18:17:24.202342 sonic NOTICE swss#orchagent: :- updatePortOperStatus: Port Ethernet32 oper state set from up to down
Jan 2 18:17:24.202917 sonic INFO syncd#supervisord: syncd Jan 02 18:17:24 NOTICE SAI_UTILS: mlnx_sai_utils.c[2336]- set_dispatch_attrib_handler: Set OPER_STATUS, key:host interface 11, val:false
Jan 2 18:17:24.203257 sonic NOTICE swss#orchagent: :- setHostIntfsOperStatus: Set operation status DOWN to host interface Ethernet32
Jan 2 18:17:24.204649 sonic INFO syncd#supervisord: syncd Jan 02 18:17:24 NOTICE SAI_UTILS: mlnx_sai_utils.c[2336]- set_dispatch_attrib_handler: Set OPER_STATUS, key:host interface 8, val:false
Jan 2 18:17:25.163338 r-ethernet-sw230 INFO kernel: [ 1228.113221] Bridge: port 3(Ethernet44) entered disabled state
Jan 2 18:17:25.163370 r-ethernet-sw230 INFO kernel: [ 1228.113440] Bridge: port 2(Ethernet32) entered disabled state
Describe the results you expected
In case of deleting a particular Vlan is eligible there should not be any errors in syslog.
In case of deleting a particular Vlan is not eligible there should not be a validation in config vlan del command if deleted Vlan is assigned to ports.
Why I did it
Update FRR 7.2.1 head. The following is a list of new commits.
5ae667a1f Merge pull request #9335 from FRRouting/mergify/bp/stable/7.2/pr-9214
eb679e8a1 zebra: bugfix of error quit of zebra, due to no nexthop ACTIVE
80d2eaa98 Merge pull request #8886 from FRRouting/mergify/bp/stable/7.2/pr-8876
1eeab2c1e lib: remove pure attribute from functions that modify memory
eb00dc4ec Merge pull request #6944 from LabNConsulting/working/lb/7.2/valgrind-supp-libyang
b9d6d05bf bgpd: suppress new libyang_1.0 related loss reports
8c26a71eb Merge pull request #6562 from ton31337/fix/configuration_for_labeled_unicast_in_place_7.2
386a1719c bgpd: Make sure network/aggregate-address commands lay down under labeled safi
b01c8bf28 Merge pull request #6526 from ton31337/fix/set_ipv6_ll_if_global_zero_7.2
c382833e8 bgpd: Use IPv6 LL address as nexthop if global was set to ::/LL
99509b835 Merge pull request #6395 from opensourcerouting/7.2/init-config-perms
7eef8f7b1 build: use configfile mode in init script
4cbe07705 Merge pull request #6360 from opensourcerouting/7.2/fix-warnings
84bb11785 nhrpd: clean up SA warning
aac726476 nhrpd: be more careful with linked lists
3a4b6d654 debian: Fix spelling error
756c67c6c Merge pull request #6284 from opensourcerouting/7.2/gcc-10
65a116a64 Merge pull request #6354 from ton31337/fix/communities_bgpd_crash_7.2
f7a00fd67 bgpd: Check to ensure community attributes exist before freeing them
a960f99c2 vrrpd: fix build on Fedora Rawhide
d4caff99f babeld: GCC complaining about no return in non-void function
a014c27ae babeld: fix build on Fedora Rawhide
79ff55b5b bgpd: remove unused variable
ff343e588 pimd: Make frr able to be built by gcc 10
9a3cf1ba2 ldpd: remove multiple definitions of thread_master
a19515bfe ldpd: fix another linking issue with GCC-10
b4c8de38c tests: fix build with GCC 10
4f27e8c85 ldpd: Fix linking error on Fedora Rawhide with GCC 10
How I did it
Update FRR 7.2 pointer and create a tag frr-7.2.1-s4.
Description
There is no validation, so it’s acceptable to delete a particular Vlan in case of several ports are members of this vlan.
But doing this an error appears in syslog:
sonic ERR swss#orchagent: :- removeVlan: Failed to remove non-empty VLAN Vlan1002
Steps to reproduce the issue
Add a vlan
config vlan add 1002
Assign members to created Vlan
config vlan member add 1002 Ethernet32 config vlan member add 1002 Ethernet44
Remove created Vlan
config vlan del 1002
Describe the results you received
Errors in syslog:
Describe the results you expected
In case of deleting a particular Vlan is eligible there should not be any errors in syslog.
In case of deleting a particular Vlan is not eligible there should not be a validation in config vlan del command if deleted Vlan is assigned to ports.
Output of show version
sonic_dump_r-ethernet-sw230_20200102_181730.tar.gz
The text was updated successfully, but these errors were encountered: