[ClusterLabs] Coming in Pacemaker 3.0.1: improvements for systemd resources

Chris Lumens clumens at redhat.com
Fri May 2 19:17:11 UTC 2025


>These are OpenStack control nodes, and their mysql is managed by 
>galera for high availability. So the standalone mysql service will 
>never be active here. I verified for several services (like nova-api, 
>nova-conductor etc.) that simply removing mysql from the "Wants" 
>statement fixed the issue for me.

> During research I stumbled upon this
>report (https://bugs.clusterlabs.org/show_bug.cgi?id=5404) which also
>mentioned the approach to talk to systemd via dbus.

Yeah, this is the upstream issue that should be fixed by the improvement
I mentioned.

>Is it reasonable to assume that the new pacemaker version will fix 
>what I described above? For now I'm thinking about using a drop-in 
>file to remove mysql from the "Wants" statement for all affected 
>units.

Hm, without testing, I'm not really sure.  This isn't something we tried
when working on the new dbus integration.

However, my guess from looking at the code is that we should now be
handling this properly.  Pacemaker will wait for systemd to give it a
signal telling it that starting the unit finished, along with the
result.

The Wants will fail, but that shouldn't be fatal.  They'll either fail
quickly, or it'll take them a while to time out.  But, that shouldn't
matter as far as pacemaker is concerned.  We'll wait to hear back from
systemd instead of giving up due to some internal timeout.

- Chris



More information about the Users mailing list