[oi-dev] pcs problems

Andreas Wacknitz A.Wacknitz at gmx.de
Thu May 23 16:19:55 UTC 2024


Am 23.05.24 um 16:10 schrieb Mark Konnov:
> Hi all.
>
> I'm trying to set up pacemaker on a node and encountered the following
> error log:
>
>     ruby: No such file or directory -- /usr/lib/pcsd/ssl.rb (LoadError)
>
> After some investigation and contacting
> <https://github.com/ClusterLabs/pcs/issues/812> the pacemaker guys, I
> tried to launch the pcsd without of "-- /usr/lib/pcsd/ssl.rb" param
> (edited /lib/svc/method/svc-pcs) and I see another error message:
>     /lib/svc/method/svc-pcs: line 33: kill: (9901) - No such process
>
> So for some reason the pidfile is created but when pcsd tried to
> launch "stop" method the according process doesn't shows up as existing.
>
> Environment:
>     vanilla oi-20240426
>
> Steps to reproduce:
>     # useradd -d /export/home/hacluster -m hacluster
>     # passwd hacluster
>     # pkg install pkg:/application/cluster/pcs at 0.10.1-2023.0.0.2
>     # vim /usr/lib/pcsd/env
>         export PCSD_DEBUG=false
>         export RACK_ENV=production
>         export PCSD_BIND_ADDR=<IP address to bind>
>
>     # svcadm enable svc:/application/pcs:default
>
> What am I doing wrong ?
>
> --
> Mark Konnov
>
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
Hi Mark,

You didn't do anything wrong. Alas our pcs package is broken. The
missing file ssl.rb is only a minor problem. At the moment the package
uses ruby 2.3 which is 32 bit.
Pcs tries to dynamically load 32 bit libraries we don't provide anymore
because we try to get rid of 32 bit. This can only be detected by using pcs.
So I tried to update the package to the latest 0.10.x version (0.10.18)
which supports pacemaker 2.0 while switching to ruby 3.2 and 64 bit but
got stuck by the fact that
systemd is hard coded into its configure script. Obviously we cannot
(and will not) provide systemd. So this needs to be removed from the
sources.
The fact that nobody detected the problem before showed me that we don't
have pcs users and thus I am not sure whether the needed work is worth
to spend.

Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20240523/9ddaa4c8/attachment.html>


More information about the oi-dev mailing list