show-sel doesn't show "green" status ipmi SEL log lines but clear-sel does
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hw-health-charm |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
show-sel should show non-alerting log lines so an admin can tell when a fault state has cleared.
For instance, I have a host where show-sel shows:
8 | Oct-08-2020 | 12:35:49 | Status | Power Supply | Critical | Power Supply input lost (AC/DC)
9 | Oct-08-2020 | 12:35:52 | PS Redundancy | Power Supply | Critical | Redundancy Lost
10 | Oct-08-2020 | 12:40:44 | Status | Power Supply | Warning | Power Supply input lost (AC/DC)
but clear-sel shows:
8 | Oct-08-2020 | 12:35:49 | Status | Power Supply | Power Supply input lost (AC/DC)
9 | Oct-08-2020 | 12:35:52 | PS Redundancy | Power Supply | Redundancy Lost
10 | Oct-08-2020 | 12:40:44 | Status | Power Supply | Power Supply input lost (AC/DC)
11 | Oct-08-2020 | 12:40:47 | PS Redundancy | Power Supply | Fully Redundant
It would be extremely useful for admins to be able to see the "Fully Redundant" response from show-sel so they know if it's safe to clear-sel.
Changed in charm-hw-health: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
Just had a similar case with a replaced disk:
# show-sel
ID | Date | Time | Name | Type | State | Event
3 | Dec-09-2021 | 09:17:55 | Drive 0 12 | Drive Slot | Critical | Drive Fault ; OEM Event Data2 code = 01h ; OEM Event Data3 code = 0Ch
# clear-sel
ID | Date | Time | Name | Type | Event
1 | Dec-06-2021 | 02:32:01 | SEL | Event Logging Disabled | Log Area Reset/Cleared
2 | Dec-09-2021 | 09:17:55 | Drive 0 12 | Drive Slot | Drive Presence ; OEM Event Data2 code = 01h ; OEM Event Data3 code = 0Ch
3 | Dec-09-2021 | 09:17:55 | Drive 0 12 | Drive Slot | Drive Fault ; OEM Event Data2 code = 01h ; OEM Event Data3 code = 0Ch
4 | Dec-09-2021 | 09:18:05 | Drive 0 12 | Drive Slot | Drive Presence ; OEM Event Data2 code = 01h ; OEM Event Data3 code = 0Ch