Improve LC reboot cause for supervisor heartbeat loss#271
Merged
judyjoseph merged 1 commit intosonic-net:masterfrom Jul 15, 2025
Merged
Improve LC reboot cause for supervisor heartbeat loss#271judyjoseph merged 1 commit intosonic-net:masterfrom
judyjoseph merged 1 commit intosonic-net:masterfrom
Conversation
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
|
Target release 202511 |
When the supervisor reboots ungracefully (e.g., kernel panic), LCs lose connection and are subsequently rebooted. This change adds 'heartbeat loss' as a software reboot cause for LCs. It also modifies the reboot cause logic to prioritize this software heartbeat loss cause over any hardware triggers that occur during the supervisor-initiated LC reboot. This ensures accurate reporting of the LC's reboot reason. Signed-off-by: Mohan Yelugoti <ymd@arista.com>
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
mlok-nokia
approved these changes
Jul 2, 2025
|
@arlakshm reminder on this, thx |
judyjoseph
approved these changes
Jul 14, 2025
Contributor
|
@ymd-arista can you add the test result of "show reboot-cause history" in LC -- to the desription of this PR
|
Contributor
Author
|
@judyjoseph : Updated description to show output of both cases. |
|
Cherry-pick PR to 202505: #291 |
liamkearney-msft
pushed a commit
to liamkearney-msft/sonic-host-services
that referenced
this pull request
Aug 6, 2025
When the supervisor reboots ungracefully (e.g., kernel panic), LCs lose connection and are subsequently rebooted. This change adds 'heartbeat loss' as a software reboot cause for LCs. It also modifies the reboot cause logic to prioritize this software heartbeat loss cause over any hardware triggers that occur during the supervisor-initiated LC reboot. This ensures accurate reporting of the LC's reboot reason. Signed-off-by: Mohan Yelugoti <ymd@arista.com> (Cherry-picked from master) Signed-off-by: Liam Kearney <liamkearney@microsoft.com>
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.
When the supervisor reboots ungracefully (e.g., kernel panic), LCs lose connection and are subsequently rebooted. This change adds 'heartbeat loss' as a software reboot cause for LCs.
It also modifies the reboot cause logic to prioritize this software heartbeat loss cause over any hardware triggers that occur during the supervisor-initiated LC reboot. This ensures accurate reporting of the LC's reboot reason.
With new changes, output is: