-
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
"show platform ssdhealth" command fails on certain platforms #9407
Comments
@Blueve, @dflynn-Nokia fyi |
I'll look into this. |
My change parses the output of the smartctl command. sudo smartctl --all /dev/sda Note that the Arista box may not have /dev/sda as the primary SSD block device. Thanks. |
@sujinmkang , fyi |
@neethajohn the ssd drive on x86_64-arista_7050_qx32s falls into the generic device but it seems the command doesn't work. I will check with vendor. |
@dflynn-Nokia , there seems to be an issue with the cmd on that specific platform which got uncovered as part of your change. You can ignore this issue. we are following up with the vendor |
My PR #229 in sonic-platform-common did add the following bit of code snippet I suspect this is the problem for platforms that do not support the smartctl command? |
@sujinmkang can this issue be closed now? |
@neethajohn, can we close this with the resolution above, which is to not run the SSD test if the platform does not have SSD ? |
Description
platform_tests.cli.test_show_platform.test_show_platform_ssdhealth failing on x86_64-arista_7050_qx32s because of "show platform ssdhealth" command failure.
This seems related to changes made in sonic-net/sonic-platform-common#229
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
"show platform ssdhealth" should return proper output
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: