Skip to Content.
Sympa Menu

perfsonar-user - [perfsonar-user] opensearch issue

Subject: perfSONAR User Q&A and Other Discussion

List archive

[perfsonar-user] opensearch issue


Chronological Thread 
  • From: Eric Simich <>
  • To:
  • Subject: [perfsonar-user] opensearch issue
  • Date: Mon, 7 Aug 2023 08:33:55 -0700

Support,

I'm running into an issue after installing the Perfsonar toolkit. I installed the toolkit per the bundle install instructions. Wherein, the opensearch service fails to load. But the toolkit webUI indicates the service is running. The toolkit webUI indicates pscheduler is not running, but systemctl shows the service is running. See attached screenshot. Maddash is also running, but I cannot access the webUI - 404 not found.

I'd like to get this perfsonar toolkit node running, but it has not been able to operate as a turn-key solution after installing the packages and following the guide.

pson01:~$ sudo systemctl list-units --state failed
  UNIT                  LOAD   ACTIVE SUB    DESCRIPTION                          
● opensearch.service    loaded failed failed OpenSearch            

● opensearch.service - OpenSearch
     Loaded: loaded (/lib/systemd/system/opensearch.service; enabled; vendor preset: enabled)
     Active: failed (Result: timeout) since Sun 2023-07-23 07:32:46 UTC; 2 weeks 1 days ago
       Docs: https://opensearch.org/
   Main PID: 825 (code=killed, signal=KILL)

pscheduler-scheduler.service - pScheduler server - scheduler
     Loaded: loaded (/lib/systemd/system/pscheduler-scheduler.service; enabled; vendor preset: enabled)
     Active: active (running) since Mon 2023-08-07 15:00:07 UTC; 27min ago
    Process: 516494 ExecStartPre=/bin/mkdir -p /var/run/pscheduler-server/scheduler (code=exited, status=0/SUCCESS)
    Process: 516505 ExecStartPre=/bin/chown pscheduler:pscheduler /var/run/pscheduler-server/scheduler (code=exited, status=0/SUCCESS)
    Process: 516507 ExecStartPre=/bin/chmod 755 /var/run/pscheduler-server/scheduler (code=exited, status=0/SUCCESS)
    Process: 516508 ExecStartPre=/bin/mkdir -p /var/run/pscheduler-server/scheduler/tmp (code=exited, status=0/SUCCESS)
    Process: 516509 ExecStartPre=/bin/chmod 700 /var/run/pscheduler-server/scheduler/tmp (code=exited, status=0/SUCCESS)
    Process: 516510 ExecStartPre=/bin/chown pscheduler:pscheduler /var/run/pscheduler-server/scheduler/tmp (code=exited, status=0/SUCCESS)
    Process: 516511 ExecStartPre=/bin/sh -c if [ -r /etc/pscheduler/daemons/scheduler.conf ]; then opts=$(sed -e 's/#.*$//' /etc/pscheduler/daemons/scheduler.conf); echo OPTIONS=$opts > /var/run/pscheduler->
   Main PID: 516519 (python3)
      Tasks: 1 (limit: 4662)
     Memory: 21.3M
     CGroup: /system.slice/pscheduler-scheduler.service
             └─516519 python3 /usr/lib/pscheduler/daemons/scheduler --dsn @/etc/pscheduler/database/database-dsn --pid-file /var/run/pscheduler-server/scheduler/pid

Aug 07 15:00:07 hq-pson01 systemd[1]: Starting pScheduler server - scheduler...
Aug 07 15:00:07 hq-pson01 systemd[1]: Started pScheduler server - scheduler.
Aug 07 15:00:07 hq-pson01 python3[516519]: scheduler INFO     Started

Jul 23 07:31:06 hq-pson01 systemd-entrypoint[825]: WARNING: Please consider reporting this to the maintainers of org.opensearch.bootstrap.OpenSearch
Jul 23 07:31:06 hq-pson01 systemd-entrypoint[825]: WARNING: System::setSecurityManager will be removed in a future release
Jul 23 07:31:13 hq-pson01 systemd-entrypoint[825]: WARNING: A terminally deprecated method in java.lang.System has been called
Jul 23 07:31:13 hq-pson01 systemd-entrypoint[825]: WARNING: System::setSecurityManager has been called by org.opensearch.bootstrap.Security (file:/usr/share/opensearch/lib/opensearch-2.6.0.jar)
Jul 23 07:31:13 hq-pson01 systemd-entrypoint[825]: WARNING: Please consider reporting this to the maintainers of org.opensearch.bootstrap.Security
Jul 23 07:31:13 hq-pson01 systemd-entrypoint[825]: WARNING: System::setSecurityManager will be removed in a future release
Jul 23 07:32:00 hq-pson01 systemd[1]: opensearch.service: start operation timed out. Terminating.
Jul 23 07:32:46 hq-pson01 systemd[1]: opensearch.service: Main process exited, code=killed, status=9/KILL
Jul 23 07:32:46 hq-pson01 systemd[1]: opensearch.service: Failed with result 'timeout'.
Jul 23 07:32:46 hq-pson01 systemd[1]: Failed to start OpenSearch.

maddash-server.service - MaDDash Scheduler and REST Server
     Loaded: loaded (/lib/systemd/system/maddash-server.service; enabled; vendor preset: enabled)
     Active: active (running) since Sun 2023-07-23 07:30:45 UTC; 2 weeks 1 days ago
   Main PID: 926 (java)
      Tasks: 57 (limit: 4662)
     Memory: 280.1M
     CGroup: /system.slice/maddash-server.service
             └─926 java -jar /usr/share/maddash/maddash-server/target/maddash-server.one-jar.jar -c /etc/maddash/maddash-server/maddash.yaml -l /etc/maddash/maddash-server/log4j.properties

Jul 23 07:30:45 hq-pson01 systemd[1]: Starting MaDDash Scheduler and REST Server...
Jul 23 07:30:45 hq-pson01 systemd[1]: Started MaDDash Scheduler and REST Server.
root@hq-pson01:~# 

apache2.service - The Apache HTTP Server
     Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
     Active: active (running) since Sun 2023-07-23 07:30:46 UTC; 2 weeks 1 days ago
       Docs: https://httpd.apache.org/docs/2.4/
    Process: 324347 ExecReload=/usr/sbin/apachectl graceful (code=exited, status=0/SUCCESS)
   Main PID: 1046 (apache2)
      Tasks: 246 (limit: 4662)
     Memory: 382.3M
     CGroup: /system.slice/apache2.service
             ├─  1046 /usr/sbin/apache2 -k start
             ├─324369 /usr/sbin/apache2 -k start
             ├─324370 pscheduler-api    -k start
             ├─324371 pscheduler-api    -k start
             ├─324372 pscheduler-api    -k start
             ├─324373 pscheduler-api    -k start
             ├─324374 pscheduler-api    -k start
             ├─324375 pscheduler-api    -k start
             ├─324376 pscheduler-api    -k start
             ├─324377 pscheduler-api    -k start
             ├─324378 pscheduler-api    -k start
             ├─324379 pscheduler-api    -k start
             ├─324380 /usr/sbin/apache2 -k start
             └─324381 /usr/sbin/apache2 -k start

Aug 07 00:13:10 hq-pson01 apache2[324375]: pscheduler-api[324375] INFO     Started
Aug 07 00:13:10 hq-pson01 apache2[324375]: pscheduler-api[324375] INFO     Limits loaded from /etc/pscheduler/limits.conf
Aug 07 00:13:11 hq-pson01 apache2[324376]: pscheduler-api[324376] INFO     Started
Aug 07 00:13:11 hq-pson01 apache2[324376]: pscheduler-api[324376] INFO     Limits loaded from /etc/pscheduler/limits.conf
Aug 07 00:23:09 hq-pson01 apache2[324370]: pscheduler-api[324370] INFO     Started
Aug 07 00:23:10 hq-pson01 apache2[324370]: pscheduler-api[324370] INFO     Limits loaded from /etc/pscheduler/limits.conf
Aug 07 00:23:10 hq-pson01 apache2[324372]: pscheduler-api[324372] INFO     Started
Aug 07 00:23:11 hq-pson01 apache2[324372]: pscheduler-api[324372] INFO     Limits loaded from /etc/pscheduler/limits.conf
Aug 07 00:23:11 hq-pson01 apache2[324379]: pscheduler-api[324379] INFO     Started
Aug 07 00:23:11 hq-pson01 apache2[324379]: pscheduler-api[324379] INFO     Limits loaded from /etc/pscheduler/limits.conf

Sys info:
hq-pson01:~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.4 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.4 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

Sincerely,
Eric Simich

Attachment: Screenshot from 2023-08-07 08-29-38.png
Description: PNG image




Archive powered by MHonArc 2.6.24.

Top of Page