[chassisd]: Replay saved module admin down state on boot in chassisd - #867
Open
gupurush wants to merge 3 commits into
Open
[chassisd]: Replay saved module admin down state on boot in chassisd#867gupurush wants to merge 3 commits into
gupurush wants to merge 3 commits into
Conversation
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Signed-off-by: gupurush <gupurush@gmail.com>
gupurush
force-pushed
the
chassisd-fc-shut-reboot-persistence
branch
from
August 5, 2026 06:54
9822011 to
6de909a
Compare
Collaborator
|
/azp run |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Collaborator
|
Hi, there are workflow run(s) waiting for approval, you may be first-time contributor. I will notify maintainers to help approve once PR is approved. Thanks! ---Powered by SONiC BuildBot
|
Collaborator
|
/azp run |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Signed-off-by: gupurush <gupurush@gmail.com>
gupurush
force-pushed
the
chassisd-fc-shut-reboot-persistence
branch
from
August 5, 2026 17:09
7bbdf88 to
60aaa7d
Compare
Collaborator
|
/azp run |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Collaborator
|
/azp run |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
gupurush
force-pushed
the
chassisd-fc-shut-reboot-persistence
branch
from
August 5, 2026 17:52
e548bc4 to
e3a5594
Compare
Collaborator
|
/azp run |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Signed-off-by: gupurush <gupurush@gmail.com>
gupurush
force-pushed
the
chassisd-fc-shut-reboot-persistence
branch
from
August 5, 2026 17:53
e3a5594 to
ab48be4
Compare
Collaborator
|
/azp run |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
|
@ymd-arista please help review |
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.
Issue: #868
Summary
set_initial_module_admin_state()to replay persistedadmin_status: downfrom CONFIG_DB at chassisd startup on modular chassis supervisors (8808 RP).set_admin_state(MODULE_ADMIN_DOWN)so hardware shutdown is applied after reboot without a new config event.Motivation and Context
After reboot, a module can remain
admin_status: downin CONFIG_DB while oper stays Online because chassisd never replays the hardware shutdown. Z rails stay powered until a new shutdown config event is applied. This change replays the saved admin-down state once at supervisor boot, after config_manager starts and before the main loop.How Has This Been Tested?