Home
last modified time | relevance | path

Searched hist:"3 b7b5619a0337eeb582191d07bbd6fefd124f604" (Results 1 – 1 of 1) sorted by relevance

/openbmc/phosphor-state-manager/
H A Dobmcutil3b7b5619a0337eeb582191d07bbd6fefd124f604 Thu May 14 10:45:29 CDT 2020 Andrew Geissler <geissonator@yahoo.com> boot-block: add option to query blocking errors

Being able to easily see if any blocking errors are present in the
system is a useful feature. A future commit will use this new interface
to tell the user if any blocking errors are present when they request a
boot of the system.

See the following design for more details:
https://github.com/openbmc/docs/blob/master/designs/fail-boot-on-hw-error.md

Tested:
- Verify blocking errors are printed
root@witherspoon:~# obmcutil bootblock
Blocking Error: /xyz/openbmc_project/logging/entry/19
Blocking Error: /xyz/openbmc_project/logging/entry/20

- Verify after resolving them, they are not printed
root@witherspoon:~# busctl set-property xyz.openbmc_project.Logging /xyz/openbmc_project/logging/entry/19 xyz.openbmc_project.Logging.Entry Resolved b 1
root@witherspoon:~# busctl set-property xyz.openbmc_project.Logging /xyz/openbmc_project/logging/entry/20 xyz.openbmc_project.Logging.Entry Resolved b 1
root@witherspoon:~# obmcutil bootblock
No blocking errors present

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I25e9a398a914372a4f051ad2034f2945c776901e