Skip to content

Enhancement: show reboot-cause history -v #25420

@lotus-nexthop

Description

@lotus-nexthop

Is it platform specific

generic

Importance or Severity

Medium

Description of the enhancement

Output more detailed reboot-cause telemetry, this can be hidden behind a -v flag

Current Behavior

admin@gold228:~$ show reboot-cause history
Name                 Cause                                                                                     Time                             User    Comment
-------------------  ----------------------------------------------------------------------------------------  -------------------------------  ------  ------------------------------------------------------------------
2026_02_10_18_40_16  reboot                                                                                    Tue Feb 10 06:38:38 PM UTC 2026  admin   N/A
2026_02_10_16_33_04  Power Loss (Both PSUs lost input power, time: 2026-02-10 16:30:44 UTC, src: switch_card)  N/A                              N/A     Unknown (First boot of SONiC version main.Nexthop.27161-64ed31738)

Proposed Behavior

A structured way defined by a schema on showing more verbose output.
For example, there is a desire to write a vendor agnostic test which asserts a cold reboot triggers a power cycle.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions