Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
May 7, 2020
Merged

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

merged 3 commits into from
May 7, 2020

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