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
CLI command 'show interface status' returns python's traceback when it's failed to get interface_speed object (i.e. containers snmp, mgmt-framework, dhcp_relay, radv, syncd, teamd, swss are stopped for some reason)
admin@dut:~$ show interfaces status | grep up
Traceback (most recent call last):
File "/usr/bin/intfutil", line 535, in <module>
main(sys.argv[1:])
File "/usr/bin/intfutil", line 528, in main
interface_stat = IntfStatus(intf_name)
File "/usr/bin/intfutil", line 449, in __init__
self.portchannel_speed_dict = po_speed_dict(self.po_int_dict, self.appl_db)
File "/usr/bin/intfutil", line 275, in po_speed_dict
interface_speed = '{}G'.format(interface_speed[:-3])
TypeError: 'NoneType' object has no attribute '__getitem__'
Describe the results you expected
Corresponding error message by CLI command
The text was updated successfully, but these errors were encountered:
Description
CLI command 'show interface status' returns python's traceback when it's failed to get
interface_speed
object (i.e. containers snmp, mgmt-framework, dhcp_relay, radv, syncd, teamd, swss are stopped for some reason)Steps to reproduce the issue
show interfaces status
Describe the results you received
Describe the results you expected
Corresponding error message by CLI command
The text was updated successfully, but these errors were encountered: