[ClusterLabs] Q: starting systemd resources

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Fri Feb 5 02:24:45 EST 2021


Hi!

While analyzing cluster problems I noticed this:
Normal resources executed via OCF RAs create two log entries by pacemaker-execd: One when starting the resource and another when the resource completed starting.
However for systemd units I only get a start message. Is that intentional? Does that mean systemd starts are asynchronous in general (i.e.: The process returns before start in complete)?
(Still I get a completed message from pacemaker-controld)

Example:
Feb 04 15:41:25 h19 pacemaker-execd[7793]:  notice: executing - rsc:prm_virtlockd action:start call_id:95
Feb 04 15:41:27 h19 pacemaker-execd[7793]:  notice: executing - rsc:prm_libvirtd action:start call_id:97

So one could guess that lirtlockd and libvirtd are staring concurrently, but the did not because of this sequence:
Feb 04 15:41:27 h19 pacemaker-controld[7796]:  notice: Result of start operation for prm_virtlockd on h19: ok
Feb 04 15:41:27 h19 pacemaker-execd[7793]:  notice: executing - rsc:prm_libvirtd action:start call_id:97

Regards,
Ulrich




More information about the Users mailing list