Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.1 branch on Ubuntu22 misses /etc/perfsonar/psconfig/pscheduler-agent.json #39

Closed
igarny opened this issue Apr 4, 2024 · 1 comment

Comments

@igarny
Copy link

igarny commented Apr 4, 2024

Hi guys,

The container using supervisord is failing on adding pSconfig mesh configuration with message: Unable to find any agents installed on this host

I see the psconfig-pscheduler-agent.service is not running, although had been configured within supervisord

>>>:~$ docker exect -t ps2 psconfig remote add http://ps-sn-central.qalab.geant.net/psmall.json
Unable to find any agents installed on this host



>>>:~$ dexect ps2 ps ax
    PID TTY      STAT   TIME COMMAND
      1 ?        Ss     0:00 /bin/sh -c /usr/bin/supervisord -c /etc/supervisord.conf
      6 ?        S      0:19 /usr/bin/python3 /usr/bin/supervisord -c /etc/supervisord.conf
      7 ?        S      0:00 /usr/bin/python3 /usr/bin/pidproxy /var/run/apache2/apache2.pid /bin/bash -c /usr/sbin/apache2ctl -DFORE
      9 ?        S      0:05 /usr/bin/python3 /usr/lib/perfsonar/host_metrics/perfsonar_host_exporter
     10 ?        S      0:25 lsregistrationdaemon.pl
     11 ?        Ss     0:00 /usr/sbin/owampd -c /etc/owamp-server -R /var/run
     12 ?        S      0:03 /usr/lib/postgresql/14/bin/postgres -D /var/lib/postgresql/14/main -c config_file=/etc/postgresql/14/mai
     18 ?        Sl     0:00 rsyslogd -n
     20 ?        Ss     0:00 /usr/sbin/twampd -c /etc/twamp-server -R /var/run
     23 ?        S      0:00 /bin/sh /usr/sbin/apache2ctl -DFOREGROUND -k start
     25 ?        S      0:02 /usr/sbin/apache2 -DFOREGROUND -k start
     26 ?        S      0:00 /usr/sbin/apache2 -DFOREGROUND -k start
     27 ?        Sl     0:07 pscheduler-api    -DFOREGROUND -k start
     28 ?        Sl     0:11 pscheduler-api    -DFOREGROUND -k start
     29 ?        Sl     0:07 pscheduler-api    -DFOREGROUND -k start
     30 ?        Sl     0:07 pscheduler-api    -DFOREGROUND -k start
     31 ?        Sl     0:07 pscheduler-api    -DFOREGROUND -k start
     32 ?        Sl     0:07 pscheduler-api    -DFOREGROUND -k start
     33 ?        Sl     0:08 pscheduler-api    -DFOREGROUND -k start
     34 ?        Sl     0:10 pscheduler-api    -DFOREGROUND -k start
     35 ?        Sl     0:07 pscheduler-api    -DFOREGROUND -k start
     36 ?        Sl     0:07 pscheduler-api    -DFOREGROUND -k start
     37 ?        Sl     0:04 /usr/sbin/apache2 -DFOREGROUND -k start
     38 ?        Sl     0:08 /usr/sbin/apache2 -DFOREGROUND -k start
    461 ?        Ss     0:00 postgres: 14/main: checkpointer
    462 ?        Ss     0:00 postgres: 14/main: background writer
    463 ?        Ss     0:00 postgres: 14/main: walwriter
    464 ?        Ss     0:00 postgres: 14/main: autovacuum launcher
    465 ?        Ss     0:02 postgres: 14/main: stats collector
    466 ?        Ss     0:00 postgres: 14/main: logical replication launcher
   5176 pts/0    Rs+    0:00 ps ax

IMO the problem is that there isn't even an empty configuration file for psConfig

dexect ps2 ls -l /etc/perfsonar/psconfig/pscheduler-agent.json
ls: cannot access '/etc/perfsonar/psconfig/pscheduler-agent.json': No such file or directory

@igarny
Copy link
Author

igarny commented Apr 5, 2024

I see it is there

@igarny igarny closed this as completed Apr 5, 2024
@github-project-automation github-project-automation bot moved this from Ready to Done in perfSONAR Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant