[action] [PR:595] Fix health check for SSD vendors: add a parser for ATP, and add a generic health ID for other brands#598
Merged
mssonicbld merged 1 commit intosonic-net:202505from Sep 18, 2025
Conversation
…eric health ID for other brands #### Description Fix health check for SSD vendors: add a parser for ATP, and add a generic health ID for other brands. Each vendor stores health information in different SMART attributes. ATP stores it in attribute ID 248, we add a parser for it. We also have SSDs use Attribute ID 231 and it is commonly used, so add it in the generic parser. Skip obtaining vendor SSD info for ATP and Virtium NVMe SSD because they are handle by parse_generic_ssd_info and parse_vendor_ssd_info will overwrite data with N/A. Add unit test cases for ATP SATA/NVMe SSD. #### Motivation and Context `show platform ssdhealth` shows N/A health for some qualified SSDs. #### Back port request - [x] 202412 - [x] 202505 #### How Has This Been Tested? We have tested the code change on DUTs with different SSDs including all the qualified SSDs that show N/A in health and also on the ones that worked fine before.
Collaborator
Author
|
Original PR: #595 |
Collaborator
Author
|
/azp run |
2 tasks
|
Azure Pipelines successfully started running 1 pipeline(s). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fix health check for SSD vendors: add a parser for ATP, and add a generic health ID for other brands.
Each vendor stores health information in different SMART attributes.
ATP stores it in attribute ID 248, we add a parser for it.
We also have SSDs use Attribute ID 231 and it is commonly used, so add it in the generic parser.
Skip obtaining vendor SSD info for ATP and Virtium NVMe SSD because they are handle by parse_generic_ssd_info and parse_vendor_ssd_info will overwrite data with N/A.
Add unit test cases for ATP SATA/NVMe SSD.
Motivation and Context
show platform ssdhealthshows N/A health for some qualified SSDs.Back port request
How Has This Been Tested?
We have tested the code change on DUTs with different SSDs including all the qualified SSDs that show N/A in health and also on the ones that worked fine before.