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
The cli commands to check the system-health are all failing on 100G linecard.
Error callstack below
admin@str2-7804-lc7-1:~$ sudo show system-health detail Failed to set system led due to - KeyError('status')
Traceback (most recent call last):
File "/usr/local/bin/show", line 8, in <module>
sys.exit(cli())
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/show/system_health.py", line 103, in detail
led = chassis.get_status_led()
File "/usr/lib/python3/dist-packages/arista/utils/sonic_platform/chassis.py", line 148, in get_status_led
return self._inventory.getLed('status').getColor()
File "/usr/lib/python3/dist-packages/arista/core/metainventory.py", line 60, in callback
return callbackItem(*args)
File "/usr/lib/python3/dist-packages/arista/core/metainventory.py", line 56, in callbackItem
raise KeyError(*args)
KeyError: 'status'
admin@str2-7804-lc7-1:~$ sudo show system-health summary
Failed to set system led due to - KeyError('status')
Traceback (most recent call last):
File "/usr/local/bin/show", line 8, in <module>
sys.exit(cli())
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/show/system_health.py", line 43, in summary
led = chassis.get_status_led()
File "/usr/lib/python3/dist-packages/arista/utils/sonic_platform/chassis.py", line 148, in get_status_led
return self._inventory.getLed('status').getColor()
File "/usr/lib/python3/dist-packages/arista/core/metainventory.py", line 60, in callback
return callbackItem(*args)
File "/usr/lib/python3/dist-packages/arista/core/metainventory.py", line 56, in callbackItem
raise KeyError(*args)
KeyError: 'status'
The text was updated successfully, but these errors were encountered:
There are 2 issues related to system-health failure on linecards.
The one you reported where we do not populate the status led.
I have a fix populating it internally that I'll make publicly available this or next week.
Another change will be required to make the linecard status led working properly.
The cli commands to check the system-health are all failing on 100G linecard.
Error callstack below
The text was updated successfully, but these errors were encountered: