Repository navigation
[doc] Align BMC graceful shutdown HLD with implementation - #2594
Open
william8545 wants to merge 1 commit into
Open
william8545 wants to merge 1 commit into
william8545 wants to merge 1 commit into
Conversation
Collaborator
|
/azp run |
|
No pipelines are associated with this pull request. |
oleksandrivantsiv
previously approved these changes
Oct 9, 2026
william8545
force-pushed
the
bmc-graceful-shutdown-hld-align
branch
from
October 9, 2026 23:08
96dd5a7 to
6ff62cb
Compare
Collaborator
|
/azp run |
|
No pipelines are associated with this pull request. |
Contributor
|
@william8545 @oleksandrivantsiv can you update all the gracefull restart PR's here in the PR description ? |
Contributor
@judyjoseph, we have it in #2500 |
## Summary Align the BMC graceful shutdown/restart HLD merged in sonic-net#2500 with the implementation. Only the existing HLD is changed; its section structure and main flows are retained. ## Differences from the merged HLD | Area | Updated design | | --- | --- | | Eligibility | Use existing BMC/switch-host identity. Remove the `bmc_pairing` opt-in and old/mixed-image compatibility promise. | | Provisioning | Deployment owns credentials, gNMI authorization and CACL. BMC client paths use optional `BMC_GNOI\|certs`; host server paths use existing `GNMI\|certs`. No image-side DB seeding. | | Timing | Default BMC timeout 120 s, explicit 0 preserved, no CLI upper bound. Host timeout defaults to 60 s without DPU fallback; watchdog 180 s; restart pause 10 s. | | Host safeguards | Document watchdog readback, the skipped platform pre-reboot hook and firmware auto-update handler, the checked host-partition flush, and immediate propagation of pre-check failures, including the narrow shared-path fixes. | | Operation handling | Align same-action JOIN ahead of priority displacement, preemption ownership, the startup power-on yielding to an admitted power removal, the repeated-shutdown skip after a recorded power-off, ABANDONED on daemon stop and no automatic power-call retry. Distinguish platform `ONLINE` from OS/management readiness. | The tagged HALT/RebootStatus protocol, vendor teardown branches and deployment qualification requirements remain. This PR does not claim production security approval or introduce runtime changes. ## Validation - Compared with the implementation proposed in sonic-net/sonic-platform-daemons#923, sonic-net/sonic-host-services#449, sonic-net/sonic-utilities#4906 and sonic-net/sonic-buildimage#30103. - Checked document structure, link targets and whitespace. - Documentation only: no build or device test. Signed-off-by: William Tsai <willtsai@nvidia.com>
william8545
force-pushed
the
bmc-graceful-shutdown-hld-align
branch
from
October 15, 2026 22:37
6ff62cb to
6c560ea
Compare
Collaborator
|
/azp run |
|
No pipelines are associated with this pull request. |
oleksandrivantsiv
approved these changes
Oct 17, 2026
This branch has not been deployed
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.
Summary
Align the BMC graceful shutdown/restart HLD merged in #2500 with the implementation.
Only the existing HLD is changed; its section structure and main flows are retained.
Differences from the merged HLD
bmc_pairingopt-in and old/mixed-image compatibility promise.BMC_GNOI|certs; host server paths use existingGNMI|certs. No image-side DB seeding.ONLINEfrom OS/management readiness.The tagged HALT/RebootStatus protocol, vendor teardown branches and deployment qualification requirements remain. This PR does not claim production security approval or introduce runtime changes.
Validation