-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
determine-reboot-cause fails due to TypeError seen during during boot up #6009
Comments
This now does not seem to be an Arista platform issue. The reboo-cause determination fails on other platforms too. The error trace on Dell clearly points out at the Python3 error due to Python2 code:
|
Issue is also seen in 502. |
The The Dell S6100 error reported above is due to the Dell library is not updated to expect
@jleveque should this fix be dealt by Dell? |
Yes. The fix is here: #5960. I was waiting to merge it until after #5926 merges, but the PR has taken longer than expected to be merge-ready. It should now be ready to merge, just waiting on the vsimage test to pass, but since this is causing a regression, I can merge it now and rebase my PR on top of it. |
Thanks Joe! Particularly this new line that got added: Using some extra debug prints I found out that at the time of This happens during driver setup after reboot Hence
@jleveque should someone from Arista provide a Fix? |
@Staphylo: Can you please investigate the issue in the comment above? |
Sure Joe. The error seen above most often happens when the platform is not initialized yet but APIs are being called. |
Just confirming that adding the dependency solves the issue.
|
The path for |
@sujinmkang: Can you please open a PR to fix this? |
Description
Reboot cause determination fails and errors are seen in syslog.
The errors seem to be coming due to Python3 script is using Python2 based library from different vendors at
https://github.com/Azure/sonic-buildimage/tree/master/platform/broadcom
The Python3 jump for
determine-reboot-cause
andprocess-reboot-cause
has been made with the platform specific lib still based out in Python2.Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
The
TypeError
should not be thrown and reboot cause should be detected.Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: