Re: [oi-dev] pcs problems

2024-05-23 Thread Mark Konnov
Thanks Andreas and Marcel,

I should have contacted you earlier...

> I propose to declare the pcs package EOLed in OI and remove it in few
weeks

I think that would be the best idea so no one would be that misguided as me
because the only reason I kept trying is that this package _is_ in the repo.
Ok guys, thanks for help in anyway.

> BTW, the application/cluster/pcs package is needed by
metapackages/hacluster and metapackages/hacluster-remote packages.

As long hacluster depends on pcs then obviously hacluster (at least in the
current implementation) must be EOLed too.

Anyways, thank you guys!

On Thu, May 23, 2024 at 8:37 PM Marcel Telka  wrote:

> On Thu, May 23, 2024 at 06:19:55PM +0200, Andreas Wacknitz via oi-dev
> wrote:
> > 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.
>
> +1
>
> I propose to declare the pcs package EOLed in OI and remove it in few
> weeks, unless somebody interested in it does the needed maintenance
> work.
>
> BTW, the application/cluster/pcs package is needed by
> metapackages/hacluster and metapackages/hacluster-remote packages.
>
> --
> +---+
> | Marcel Telka   e-mail:   mar...@telka.sk  |
> |homepage: http://telka.sk/ |
> +---+
>
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
>


-- 
Mark Konnov
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] pcs problems

2024-05-23 Thread Marcel Telka
On Thu, May 23, 2024 at 06:19:55PM +0200, Andreas Wacknitz via oi-dev wrote:
> 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.

+1

I propose to declare the pcs package EOLed in OI and remove it in few
weeks, unless somebody interested in it does the needed maintenance
work.

BTW, the application/cluster/pcs package is needed by
metapackages/hacluster and metapackages/hacluster-remote packages.

-- 
+---+
| Marcel Telka   e-mail:   mar...@telka.sk  |
|homepage: http://telka.sk/ |
+---+

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] pcs problems

2024-05-23 Thread Andreas Wacknitz via oi-dev

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
 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@0.10.1-2023.0.0.2
    # vim /usr/lib/pcsd/env
        export PCSD_DEBUG=false
        export RACK_ENV=production
        export PCSD_BIND_ADDR=

    # svcadm enable svc:/application/pcs:default

What am I doing wrong ?

--
Mark Konnov

___
oi-dev mailing list
oi-dev@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
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


[oi-dev] pcs problems

2024-05-23 Thread 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
 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@0.10.1-2023.0.0.2
# vim /usr/lib/pcsd/env
export PCSD_DEBUG=false
export RACK_ENV=production
export PCSD_BIND_ADDR=

# svcadm enable svc:/application/pcs:default

What am I doing wrong ?

-- 
Mark Konnov
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev