Eclipse BlueChi is a systemd service controller intended for multi-node environments with a predefined number of nodes and with a focus on highly regulated ecosystems such as those requiring functional safety.
In order to be able to reset the failed state of all or one unit, it is necessary to extend BlueChi by the ResetFailed and ResetFailedUnit API provided in the systemd Manager API (see the freedesktop systemd documentation.
Please describe the solution you'd like
[x] bluechi-controller: Add new API method on public DBus for interface org.eclipse.bluechi.Node and delegate to bluechi-agent
[x] ResetFailed
[x] ResetFailedUnit
[x] bluechi-agent: Add new API on internal DBus and delegate to systemd bus
[x] ResetFailed
[x] ResetFailedUnit
[x] bluechictl: Add new commands for using the new API(s)
[x] bluechictl reset-failed should call ResetFailed to reset all failed units
[x] bluechictl reset-failed <unit> should call ResetFailedUnit to reset the failed status for the specified units.
This RFE resulted from https://github.com/eclipse-bluechi/bluechi/issues/931.
Please describe what you would like to see
In order to be able to reset the
failed
state of all or one unit, it is necessary to extend BlueChi by theResetFailed
andResetFailedUnit
API provided in the systemd Manager API (see the freedesktop systemd documentation.Please describe the solution you'd like
bluechi-controller
: Add new API method on public DBus for interfaceorg.eclipse.bluechi.Node
and delegate tobluechi-agent
ResetFailed
ResetFailedUnit
bluechi-agent
: Add new API on internal DBus and delegate to systemd busResetFailed
ResetFailedUnit
bluechictl
: Add new commands for using the new API(s)bluechictl reset-failed
should callResetFailed
to reset all failed unitsbluechictl reset-failed <unit>
should callResetFailedUnit
to reset the failed status for the specified units.