Fix for #23205 [Smartswitch] Issues caused due to introduction of the chassisd/sonic-utiltiies changes for consecutive admin state changes#3984
Merged
vvolam merged 3 commits intosonic-net:masterfrom Aug 4, 2025
Conversation
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
@vvolam @gpunathilell @oleksandrivantsiv Please take a look |
gpunathilell
reviewed
Aug 1, 2025
show/chassis_modules.py
Outdated
| # Use default values if any field is missing | ||
| desc = data_dict.get(CHASSIS_MODULE_INFO_DESC_FIELD, 'N/A') | ||
| slot = data_dict.get(CHASSIS_MODULE_INFO_SLOT_FIELD, 'N/A') | ||
| oper_status = data_dict.get(CHASSIS_MODULE_INFO_OPERSTATUS_FIELD, 'Unknown') |
Contributor
There was a problem hiding this comment.
MODULE_STATUS_EMPTY here as well?
51a8e78 to
abece3f
Compare
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
gpunathilell
approved these changes
Aug 1, 2025
vvolam
approved these changes
Aug 4, 2025
Collaborator
|
Cherry-pick PR to 202505: #4015 |
mssonicbld
added a commit
to mssonicbld/sonic-platform-daemons
that referenced
this pull request
Aug 7, 2025
… chassisd/sonic-utiltiies changes for consecutive admin state changes Fix for #23205 [Smartswitch] Issues caused due to introduction of the chassisd/sonic-utiltiies changes for consecutive admin state changes #### Description Fixes #23205 The corresponding sonic-utiltiies commit is: sonic-net/sonic-utilities#3984 #### Motivation and Context Some recent design changes not initializing some fields in DPU_STATE and DPU_MODULE_INFO tables. #### How Has This Been Tested? initializing the fields in DPU_STATE and DPU_MODULE_INFO tables.
mssonicbld
added a commit
to sonic-net/sonic-platform-daemons
that referenced
this pull request
Aug 7, 2025
… chassisd/sonic-utiltiies changes for consecutive admin state changes (#656) Fix for #23205 [Smartswitch] Issues caused due to introduction of the chassisd/sonic-utiltiies changes for consecutive admin state changes #### Description Fixes #23205 The corresponding sonic-utiltiies commit is: sonic-net/sonic-utilities#3984 #### Motivation and Context Some recent design changes not initializing some fields in DPU_STATE and DPU_MODULE_INFO tables. #### How Has This Been Tested? initializing the fields in DPU_STATE and DPU_MODULE_INFO tables.
YairRaviv
pushed a commit
to YairRaviv/sonic-utilities
that referenced
this pull request
Jan 12, 2026
… chassisd/sonic-utiltiies changes for consecutive admin state changes (sonic-net#3984) * Fixed for #23205 * Addressed a review comment ModuleBase.MODULE_STATUS_EMPTY * added required import
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.
Fix for #23205 [Smartswitch] Issues caused due to introduction of the chassisd/sonic-utiltiies changes for consecutive admin state changes
Description
Fixes #23205
The corresponding sonic-platform-daemon commit is: # sonic-net/sonic-platform-daemons#645
Motivation and Context
Some recent design changes not initializing some fields in DPU_STATE and DPU_MODULE_INFO tables.
How Has This Been Tested?
initializing the fields in DPU_STATE and DPU_MODULE_INFO tables