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
After the reboot and config reload command "show interface status" provide Traceback instead for empty interface list before them loaded. It is reproducible 1:2 times.
config int speed Ethernet80 10000
config int speed Ethernet88 10000
Configure LAG membership and save configuration:
config portchannel mem add PortChannel000 Ethernet80
config portchannel mem add PortChannel0001 Ethernet80
config save -y
Reboot the switch:
sudo reboot
Do configuration reload on the switch:
config reload -y
Describe the results you received
Traceback received:
root@sonic:/home/admin# show int status
Traceback (most recent call last):
File "/usr/local/bin/intfutil", line 521, in <module>
main()
File "/usr/local/bin/intfutil", line 513, in main
interface_stat.display_intf_status()
File "/usr/local/bin/intfutil", line 354, in display_intf_status
self.get_intf_status()
File "/usr/local/lib/python3.7/dist-packages/utilities_common/multi_asic.py", line 137, in wrapped_run_on_all_asics
func(self, *args, **kwargs)
File "/usr/local/bin/intfutil", line 435, in get_intf_status
self.portchannel_speed_dict = po_speed_dict(self.po_int_dict, self.db)
File "/usr/local/bin/intfutil", line 249, in po_speed_dict
interface_speed = '{}G'.format(interface_speed[:-3])
TypeError: 'NoneType' object is not subscriptable
Describe the results you expected
The output of the command "show interface status" should not provide Traceback
Description
After the reboot and config reload command "show interface status" provide Traceback instead for empty interface list before them loaded. It is reproducible 1:2 times.
Steps to reproduce the issue
Describe the results you received
Traceback received:
Describe the results you expected
The output of the command "show interface status" should not provide Traceback
Output of show version
Sysdump:
sonic_dump_r-qa-sw-eth-2322_20210212_105159.tar.gz
The text was updated successfully, but these errors were encountered: