Check why the sanlock.service reports no pid.
Also check the logs of the broker and agent  located  at 
/var/log/ovirt-hosted-engine-ha

You might have to increase the verbosity of the broker and agent.

Best Regards,
Strahil NikolovOn Oct 17, 2019 08:00, [email protected] wrote:
>
> Strahil, 
> this is what i see for each service 
> all services are active and running except for ovirt-ha-agent which says 
> "activating", even though the rest of the services are Active/running they 
> still show a few errors warnings. 
>
> -------------------------------------------------------------------------------------------------------
>  
> ● sanlock.service - Shared Storage Lease Manager 
>    Loaded: loaded (/usr/lib/systemd/system/sanlock.service; disabled; vendor 
> preset: disabled) 
>    Active: active (running) since Thu 2019-10-17 00:47:20 EDT; 2min 1s ago 
>   Process: 16495 ExecStart=/usr/sbin/sanlock daemon (code=exited, 
> status=0/SUCCESS) 
> Main PID: 2023 
>     Tasks: 10 
>    CGroup: /system.slice/sanlock.service 
>            └─2023 /usr/sbin/sanlock daemon 
>
> Oct 17 00:47:20 host1.example.com systemd[1]: Starting Shared Storage Lease 
> Manager... 
> Oct 17 00:47:20 host1.example.com systemd[1]: Started Shared Storage Lease 
> Manager. 
> Oct 17 00:47:20 host1.example.com sanlock[16496]: 2019-10-17 00:47:20 33920 
> [16496]: lockfile setlk error /var/run/sanlock/sanlock.pid: Resource 
> temporarily unavailable 
> ● supervdsmd.service - Auxiliary vdsm service for running helper functions as 
> root 
>    Loaded: loaded (/usr/lib/systemd/system/supervdsmd.service; static; vendor 
> preset: enabled) 
>    Active: active (running) since Thu 2019-10-17 00:43:06 EDT; 6min ago 
> Main PID: 15277 (supervdsmd) 
>     Tasks: 5 
>    CGroup: /system.slice/supervdsmd.service 
>            └─15277 /usr/bin/python2 /usr/share/vdsm/supervdsmd --sockfile 
> /var/run/vdsm/svdsm.sock 
>
> Oct 17 00:43:06 host1.example.com systemd[1]: Started Auxiliary vdsm service 
> for running helper functions as root. 
> Oct 17 00:43:07 host1.example.com supervdsmd[15277]: failed to load module 
> nvdimm: libbd_nvdimm.so.2: cannot open shared object file: No such file or 
> directory 
> ● vdsmd.service - Virtual Desktop Server Manager 
>    Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled; vendor 
> preset: enabled) 
>    Active: active (running) since Thu 2019-10-17 00:47:27 EDT; 1min 54s ago 
>   Process: 16402 ExecStopPost=/usr/libexec/vdsm/vdsmd_init_common.sh 
> --post-stop (code=exited, status=0/SUCCESS) 
>   Process: 16499 ExecStartPre=/usr/libexec/vdsm/vdsmd_init_common.sh 
> --pre-start (code=exited, status=0/SUCCESS) 
> Main PID: 16572 (vdsmd) 
>     Tasks: 38 
>    CGroup: /system.slice/vdsmd.service 
>            └─16572 /usr/bin/python2 /usr/share/vdsm/vdsmd 
>
> Oct 17 00:47:28 host1.example.com vdsm[16572]: WARN MOM not available. 
> Oct 17 00:47:28 host1.example.com vdsm[16572]: WARN MOM not available, KSM 
> stats will be missing. 
> Oct 17 00:47:28 host1.example.com vdsm[16572]: ERROR failed to retrieve 
> Hosted Engine HA score '[Errno 2] No such file or directory'Is the Hosted 
> Engine setup finished? 
> Oct 17 00:47:43 host1.example.com vdsm[16572]: ERROR failed to retrieve 
> Hosted Engine HA score '[Errno 2] No such file or directory'Is the Hosted 
> Engine setup finished? 
> Oct 17 00:47:58 host1.example.com vdsm[16572]: ERROR failed to retrieve 
> Hosted Engine HA score '[Errno 2] No such file or directory'Is the Hosted 
> Engine setup finished? 
> Oct 17 00:48:13 host1.example.com vdsm[16572]: ERROR failed to retrieve 
> Hosted Engine HA score '[Errno 2] No such file or directory'Is the Hosted 
> Engine setup finished? 
> Oct 17 00:48:28 host1.example.com vdsm[16572]: ERROR failed to retrieve 
> Hosted Engine HA score '[Errno 2] No such file or directory'Is the Hosted 
> Engine setup finished? 
> Oct 17 00:48:43 host1.example.com vdsm[16572]: ERROR failed to retrieve 
> Hosted Engine HA score '[Errno 2] No such file or directory'Is the Hosted 
> Engine setup finished? 
> Oct 17 00:48:58 host1.example.com vdsm[16572]: ERROR failed to retrieve 
> Hosted Engine HA score '[Errno 2] No such file or directory'Is the Hosted 
> Engine setup finished? 
> Oct 17 00:49:13 host1.example.com vdsm[16572]: ERROR failed to retrieve 
> Hosted Engine HA score '[Errno 2] No such file or directory'Is the Hosted 
> Engine setup finished? 
> ● ovirt-ha-broker.service - oVirt Hosted Engine High Availability 
> Communications Broker 
>    Loaded: loaded (/usr/lib/systemd/system/ovirt-ha-broker.service; enabled; 
> vendor preset: disabled) 
>    Active: active (running) since Thu 2019-10-17 00:44:11 EDT; 5min ago 
> Main PID: 16379 (ovirt-ha-broker) 
>     Tasks: 2 
>    CGroup: /system.slice/ovirt-ha-broker.service 
>            └─16379 /usr/bin/python 
> /usr/share/ovirt-hosted-engine-ha/ovirt-ha-broker 
>
> Oct 17 00:44:11 host1.example.com systemd[1]: Started oVirt Hosted Engine 
> High Availability Communications Broker. 
> ● ovirt-ha-agent.service - oVirt Hosted Engine High Availability Monitoring 
> Agent 
>    Loaded: loaded (/usr/lib/systemd/system/ovirt-ha-agent.service; enabled; 
> vendor preset: disabled) 
>    Active: activating (auto-restart) (Result: exit-code) since Thu 2019-10-17 
> 00:49:13 EDT; 8s ago 
>   Process: 16925 ExecStart=/usr/share/ovirt-hosted-engine-ha/ovirt-ha-agent 
> (code=exited, status=157) 
> Main PID: 16925 (code=exited, status=157) 
>
> Oct 17 00:49:13 host1.example.com systemd[1]: Unit ovirt-ha-agent.service 
> entered failed state. 
> Oct 17 00:49:13 host1.example.com systemd[1]: ovirt-ha-agent.service failed. 
> [root@host1]# systemctl status sanlock;echo ---------;systemctl status 
> supervdsmd;echo -------------;systemctl status vdsmd;echo ---------;systemctl 
> status ovirt-ha-broker;echo ----------;systemctl status ovirt-ha-agent 
> ● sanlock.service - Shared Storage Lease Manager 
>    Loaded: loaded (/usr/lib/systemd/system/sanlock.service; disabled; vendor 
> preset: disabled) 
>    Active: active (running) since Thu 2019-10-17 00:47:20 EDT; 3min 14s ago 
>   Process: 16495 ExecStart=/usr/sbin/sanlock daemon (code=exited, 
> status=0/SUCCESS) 
> Main PID: 2023 
>     Tasks: 10 
>    CGroup: /system.slice/sanlock.service 
>            └─2023 /usr/sbin/sanlock daemon 
>
> Oct 17 00:47:20 host1.example.com systemd[1]: Starting Shared Storage Lease 
> Manager... 
> Oct 17 00:47:20 host1.example.com systemd[1]: Started Shared Storage Lease 
> Manager. 
> Oct 17 00:47:20 host1.example.com sanlock[16496]: 2019-10-17 00:47:20 33920 
> [16496]: lockfile setlk error /var/run/sanlock/sanlock.pid: Resource 
> temporarily unavailable 
> --------- 
> ● supervdsmd.service - Auxiliary vdsm service for running helper functions as 
> root 
>    Loaded: loaded (/usr/lib/systemd/system/supervdsmd.service; static; vendor 
> preset: enabled) 
>    Active: active (running) since Thu 2019-10-17 00:43:06 EDT; 7min ago 
> Main PID: 15277 (supervdsmd) 
>     Tasks: 5 
>    CGroup: /system.slice/supervdsmd.service 
>            └─15277 /usr/bin/python2 /usr/share/vdsm/supervdsmd --sockfile 
> /var/run/vdsm/svdsm.sock 
>
> Oct 17 00:43:06 host1.example.com systemd[1]: Started Auxiliary vdsm service 
> for running helper functions as root. 
> Oct 17 00:43:07 host1.example.com supervdsmd[15277]: failed to load module 
> nvdimm: libbd_nvdimm.so.2: cannot open shared object file: No such file or 
> directory 
> ------------- 
> ● vdsmd.service - Virtual Desktop Server Manager 
>    Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled; vendor 
> preset: enabled) 
>    Active: active (running) since Thu 2019-10-17 00:47:27 EDT; 3min 7s ago 
>   Process: 16402 ExecStopPost=/usr/libexec/vdsm/vdsmd_init_common.sh 
> --post-stop (code=exited, status=0/SUCCESS) 
>   Process: 16499 ExecStartPre=/usr/libexec/vdsm/vdsmd_init_common.sh 
> --pre-start (code=exited, status=0/SUCCESS) 
> Main PID: 16572 (vdsmd) 
>     Tasks: 38 
>    CGroup: /system.slice/vdsmd.service 
>            └─16572 /usr/bin/python2 /usr/share/vdsm/vdsmd 
>
> Oct 17 00:48:13 host1.example.com vdsm[16572]: ERROR failed to retrieve 
> Hosted Engine HA score '[Errno 2] No such file or directory'Is the Hosted 
> Engine setup finished? 
> Oct 17 00:48:28 host1.example.com vdsm[16572]: ERROR failed to retrieve 
> Hosted Engine HA score '[Errno 2] No such file or directory'Is the Hosted 
> Engine setup finished? 
> Oct 17 00:48:43 host1.example.com vdsm[16572]: ERROR failed to retrieve 
> Hosted Engine HA score '[Errno 2] No such file or directory'Is the Hosted 
> Engine setup finished? 
> Oct 17 00:48:58 host1.example.com vdsm[16572]: ERROR failed to retrieve 
> Hosted Engine HA score '[Errno 2] No such file or directory'Is the Hosted 
> Engine setup finished? 
> Oct 17 00:49:13 host1.example.com vdsm[16572]: ERROR failed to retrieve 
> Hosted Engine HA score '[Errno 2] No such file or directory'Is the Hosted 
> Engine setup finished? 
> Oct 17 00:49:28 host1.example.com vdsm[16572]: ERROR failed to retrieve 
> Hosted Engine HA score '[Errno 2] No such file or directory'Is the Hosted 
> Engine setup finished? 
> Oct 17 00:49:43 host1.example.com vdsm[16572]: ERROR failed to retrieve 
> Hosted Engine HA score '[Errno 2] No such file or directory'Is the Hosted 
> Engine setup finished? 
> Oct 17 00:49:58 host1.example.com vdsm[16572]: ERROR failed to retrieve 
> Hosted Engine HA score '[Errno 2] No such file or directory'Is the Hosted 
> Engine setup finished? 
> Oct 17 00:50:13 host1.example.com vdsm[16572]: ERROR failed to retrieve 
> Hosted Engine HA score '[Errno 2] No such file or directory'Is the Hosted 
> Engine setup finished? 
> Oct 17 00:50:28 host1.example.com vdsm[16572]: ERROR failed to retrieve 
> Hosted Engine HA score '[Errno 2] No such file or directory'Is the Hosted 
> Engine setup finished? 
> --------- 
> ● ovirt-ha-broker.service - oVirt Hosted Engine High Availability 
> Communications Broker 
>    Loaded: loaded (/usr/lib/systemd/system/ovirt-ha-broker.service; enabled; 
> vendor preset: disabled) 
>    Active: active (running) since Thu 2019-10-17 00:44:11 EDT; 6min ago 
> Main PID: 16379 (ovirt-ha-broker) 
>     Tasks: 2 
>    CGroup: /system.slice/ovirt-ha-broker.service 
>            └─16379 /usr/bin/python 
> /usr/share/ovirt-hosted-engine-ha/ovirt-ha-broker 
>
> Oct 17 00:44:11 host1.example.com systemd[1]: Started oVirt Hosted Engine 
> High Availability Communications Broker. 
> ---------- 
> ● ovirt-ha-agent.service - oVirt Hosted Engine High Availability Monitoring 
> Agent 
>    Loaded: loaded (/usr/lib/systemd/system/ovirt-ha-agent.service; enabled; 
> vendor preset: disabled) 
>    Active: activating (auto-restart) (Result: exit-code) since Thu 2019-10-17 
> 00:50:27 EDT; 7s ago 
>   Process: 17107 ExecStart=/usr/share/ovirt-hosted-engine-ha/ovirt-ha-agent 
> (code=exited, status=157) 
> Main PID: 17107 (code=exited, status=157) 
>
> Oct 17 00:50:27 host1.example.com systemd[1]: Unit ovirt-ha-agent.service 
> entered failed state. 
> Oct 17 00:50:27 host1.example.com systemd[1]: ovirt-ha-agent.service failed. 
>
> -------------------------------------------------------------------------------------------------------
> _______________________________________________
> Users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/[email protected]/message/4P4WPUBORKISKNO6MDAH3XEX7U6OFEK4/
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/[email protected]/message/3OZZX6SUWMWGQSPKR4QVNE7VTBHBQNOQ/

Reply via email to