<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Am 23.05.24 um 16:10 schrieb Mark
Konnov:<br>
</div>
<blockquote type="cite"
cite="mid:CAGA0V3ixSVvS-L-PpbAcmKoGLC39GGAP8fAjH3r-=UwKb0nWoQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi all.
<div><br>
</div>
<div>I'm trying to set up pacemaker on a node and encountered
the following error log:</div>
<div><br>
</div>
<div> ruby: No such file or directory -- /usr/lib/pcsd/ssl.rb
(LoadError)</div>
<div><br>
</div>
<div>After some investigation and <a
href="https://github.com/ClusterLabs/pcs/issues/812"
moz-do-not-send="true">contacting</a> 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:</div>
<div> </div>
<div> /lib/svc/method/svc-pcs: line 33: kill: (9901) - No
such process<br>
</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>Environment:</div>
<div> vanilla oi-20240426<br>
</div>
<div><br>
</div>
<div>Steps to reproduce:</div>
<div> # useradd -d /export/home/hacluster -m hacluster</div>
<div> # passwd hacluster</div>
<div> # pkg install
<a class="moz-txt-link-abbreviated" href="mailto:pkg:/application/cluster/pcs@0.10.1-2023.0.0.2">pkg:/application/cluster/pcs@0.10.1-2023.0.0.2</a></div>
<div>
<div> # vim /usr/lib/pcsd/env</div>
<div> export PCSD_DEBUG=false</div>
export RACK_ENV=production<br>
export PCSD_BIND_ADDR=<IP address to bind></div>
<div><br>
</div>
<div> # svcadm enable svc:/application/pcs:default</div>
<div><br>
</div>
<div>What am I doing wrong ?</div>
<div><br>
</div>
<div>
<div><span class="gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr"><font size="2" face="monospace, monospace"
color="#666666">Mark Konnov</font></div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
oi-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oi-dev@openindiana.org">oi-dev@openindiana.org</a>
<a class="moz-txt-link-freetext" href="https://openindiana.org/mailman/listinfo/oi-dev">https://openindiana.org/mailman/listinfo/oi-dev</a>
</pre>
</blockquote>
Hi Mark,<br>
<br>
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.<br>
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.<br>
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<br>
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.<br>
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.<br>
<br>
Andreas<br>
</body>
</html>