openbmc / phosphor-state-manager

Apache License 2.0
11 stars 21 forks source link

Provide meahanism within obmcutil to query recovery status #26

Closed geissonator closed 2 months ago

geissonator commented 4 months ago

A common complaint of the "obmcutil recoveryon" and "obmcutil recoveryoff" options is there's no way to query whether it's on or off. You could argue that the user should just set the one they want but in a lot of cases, they've been asked to look at a system and they just want to know what its recovery state is.

This issue is to track a new "obmcutil recoverystatus" option.

As some power users enable/disable specific parts of recovery, it's probably best to show the status of each individual piece of disabling and enabling "recovery".