-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
show interfaces transceiver eeprom failing after sonic-buildimage commit 27a6641 #33
Comments
I'm able to replicate the issue on the latest master image. I'll update this issue once a fix is available. |
For more insight, the issue is related to our recent transition to |
The root cause of this issue was addressed in sonic-utilities: sonic-net/sonic-utilities#1950 |
sonic-utilities submodule has been updated as of sonic-buildimage commit b96533 to include the fix so this issue should now be resolved. |
We do see failure in Arista devices when run test_snmp_phy_entity
When dive deeper we've found that after sonic-buildimage commit 27a664 'hardware_rev' disappeared from STATE_DB, and trying to execute command
show interfaces transceiver eeprom
returns errorFile "/usr/local/bin/sfpshow", line 423, in get_eeprom self.output += self.convert_interface_sfp_info_to_cli_output_string( File "/usr/local/bin/sfpshow", line 395, in convert_interface_sfp_info_to_cli_output_string sfp_info_output = self.convert_sfp_info_to_output_string(sfp_info_dict) File "/usr/local/bin/sfpshow", line 287, in convert_sfp_info_to_output_string output += '{}{}: {}\n'.format(indent, QSFP_DATA_MAP[key], sfp_info_dict[key]) KeyError: 'hardware_rev'
Platform info:
Platform: x86_64-arista_7170_64c HwSKU: Arista-7170-64C ASIC: barefoot
The text was updated successfully, but these errors were encountered: