Skip to content

[process-reboot-cause] If software reboot cause is unknown add note if first boot into new image#4538

Merged
jleveque merged 3 commits intosonic-net:masterfrom
jleveque:add_sonic_install_reboot_cause
May 7, 2020
Merged

[process-reboot-cause] If software reboot cause is unknown add note if first boot into new image#4538
jleveque merged 3 commits intosonic-net:masterfrom
jleveque:add_sonic_install_reboot_cause

Conversation

@jleveque
Copy link
Contributor

@jleveque jleveque commented May 6, 2020

If no software reboot cause can be determined (i.e., REBOOT_CAUSE_FILE doesn't exist), and FIRST_BOOT_PLATFORM_FILE exists, it is very likely the device just booted up after a fresh SONiC image installation. In this case, we add a note in the reboot cause string.

@jleveque jleveque changed the title [process-reboot-cause] Add 'SONiC image installation' reboot cause [process-reboot-cause] If software reboot cause is unknown add note if first boot into new image May 7, 2020
@jleveque jleveque merged commit dfdd94d into sonic-net:master May 7, 2020
@jleveque jleveque deleted the add_sonic_install_reboot_cause branch May 7, 2020 05:48
yxieca pushed a commit that referenced this pull request May 8, 2020
rlhui pushed a commit that referenced this pull request May 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants