perfsonar-user - Re: [perfsonar-user] pscheduler-ticker.service constantly in 'activating' mode
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: Antoine Delvaux <>
- To: Prannoy Sablok <>
- Cc:
- Subject: Re: [perfsonar-user] pscheduler-ticker.service constantly in 'activating' mode
- Date: Thu, 29 Jul 2021 16:18:31 +0100
Hi Prannoy,
Can you please tell us which version of perfSONAR that is and what is the OS running on this system?
Thanks,
Antoine.
Le 29 juil. 2021 à 06:58, Prannoy Sablok <> a écrit :Hi all,<image001.jpg>--I have been trying to run a pscheduler task on a server but it keeps throwing the following error -~$ pscheduler task throughput dtn.singaren.net.sgCould not find test throughput on serverThis occurs with all pscheduler tasks. I checked service status and there seems to be a problem with the ticker service, as below -~$ systemctl status pscheduler-ticker.service● pscheduler-ticker.service - pScheduler server - tickerLoaded: loaded (/lib/systemd/system/pscheduler-ticker.service; enabled; vendor preset: enabled)Active: activating (auto-restart) (Result: exit-code) since Thu 2021-07-29 00:43:44 CDT; 679ms agoProcess: 27223 ExecStopPost=/bin/rm -rf /var/run/pscheduler-server/ticker (code=exited, status=0/SUCCESS)Process: 27187 ExecStart=/usr/lib/pscheduler/daemons/ticker --daemon --pid-file /var/run/pscheduler-server/ticker/pid --dsn @/etProcess: 27178 ExecStartPre=/bin/sh -c if [ -r /etc/pscheduler/daemons/ticker.conf ]; then opts=$(sed -e 's/#.*$//' /etc/pscheduProcess: 27177 ExecStartPre=/bin/mv /var/run/pscheduler-server/ticker/pid.build /var/run/pscheduler-server/ticker/pid (code=exitProcess: 27176 ExecStartPre=/bin/chown pscheduler:pscheduler /var/run/pscheduler-server/ticker/pid.build (code=exited, status=0/Process: 27175 ExecStartPre=/usr/bin/touch -f /var/run/pscheduler-server/ticker/pid.build (code=exited, status=0/SUCCESS)Process: 27174 ExecStartPre=/bin/rm -f /var/run/pscheduler-server/ticker/pid.build (code=exited, status=0/SUCCESS)Process: 27173 ExecStartPre=/bin/chown pscheduler:pscheduler /var/run/pscheduler-server/ticker/tmp (code=exited, status=0/SUCCESProcess: 27172 ExecStartPre=/bin/chmod 700 /var/run/pscheduler-server/ticker/tmp (code=exited, status=0/SUCCESS)Process: 27171 ExecStartPre=/bin/mkdir -p /var/run/pscheduler-server/ticker/tmp (code=exited, status=0/SUCCESS)Process: 27170 ExecStartPre=/bin/chmod 755 /var/run/pscheduler-server/ticker (code=exited, status=0/SUCCESS)Process: 27166 ExecStartPre=/bin/chown pscheduler:pscheduler /var/run/pscheduler-server/ticker (code=exited, status=0/SUCCESS)Process: 27158 ExecStartPre=/bin/mkdir -p /var/run/pscheduler-server/ticker (code=exited, status=0/SUCCESS)Main PID: 27187 (code=exited, status=1/FAILURE)Upon further inspecting the pscheduler.log I found the following -$ tail -n 20 pscheduler.logJul 28 13:02:39 dtn098 safe_run/ticker ERROR Traceback (most recent call last):Jul 28 13:02:39 dtn098 safe_run/ticker ERROR File "/usr/lib/python3/dist-packages/pscheduler/saferun.py", line 76, in safe_runJul 28 13:02:39 dtn098 safe_run/ticker ERROR function()Jul 28 13:02:39 dtn098 safe_run/ticker ERROR File "/usr/lib/pscheduler/daemons/ticker", line 170, in <lambda>Jul 28 13:02:39 dtn098 safe_run/ticker ERROR pscheduler.safe_run(lambda: main_program())Jul 28 13:02:39 dtn098 safe_run/ticker ERROR File "/usr/lib/pscheduler/daemons/ticker", line 132, in main_programJul 28 13:02:39 dtn098 safe_run/ticker ERROR cursor.execute("SELECT cold_boot()")Jul 28 13:02:39 dtn098 safe_run/ticker ERROR psycopg2.InternalError: AttributeError: module 'jsonschema' has no attribute 'Draft7Validator'Jul 28 13:02:39 dtn098 safe_run/ticker ERROR CONTEXT: Traceback (most recent call last):Jul 28 13:02:39 dtn098 safe_run/ticker ERROR PL/Python function "json_validate", line 17, in <module>Jul 28 13:02:39 dtn098 safe_run/ticker ERROR "required": [ "" ]Jul 28 13:02:39 dtn098 safe_run/ticker ERROR PL/Python function "json_validate", line 1411, in json_validateJul 28 13:02:39 dtn098 safe_run/ticker ERROR PL/Python function "json_validate"Jul 28 13:02:39 dtn098 safe_run/ticker ERROR PL/pgSQL function test_boot() line 35 at assignmentJul 28 13:02:39 dtn098 safe_run/ticker ERROR SQL statement "SELECT test_boot()"Jul 28 13:02:39 dtn098 safe_run/ticker ERROR PL/pgSQL function warm_boot() line 4 at PERFORMJul 28 13:02:39 dtn098 safe_run/ticker ERROR SQL statement "SELECT warm_boot()"Jul 28 13:02:39 dtn098 safe_run/ticker ERROR PL/pgSQL function cold_boot() line 4 at PERFORMJul 28 13:02:39 dtn098 safe_run/ticker ERROR Waiting 0.25 seconds before restartingJul 28 13:02:39 dtn098 safe_run/ticker ERROR Restarting: ['/usr/lib/pscheduler/daemons/ticker', '--daemon', '--pid-file', '/var/run/pscheduler-server/ticker/pid', '--dsn', '@/etc/pscheduler/database/database-dsn']It seems like there's an issue with a python dependency. Would the best way to fix this be to upgrade the jsonschema module with "pip install --upgrade jsonschema" or something else?Kind Regards,Prannoy SABLOK
Technical Specialist
Singapore Advanced Research and Education Network (SingAREN)
M +65 87492366| E
www.singaren.net.sg
To unsubscribe from this list: https://lists.internet2.edu/sympa/signoff/perfsonar-user
- [perfsonar-user] pscheduler-ticker.service constantly in 'activating' mode, Prannoy Sablok, 07/29/2021
- Re: [perfsonar-user] pscheduler-ticker.service constantly in 'activating' mode, Antoine Delvaux, 07/29/2021
- Re: [perfsonar-user] pscheduler-ticker.service constantly in 'activating' mode, Prannoy Sablok, 07/30/2021
- Re: [perfsonar-user] pscheduler-ticker.service constantly in 'activating' mode, Antoine Delvaux, 07/30/2021
- Re: [perfsonar-user] pscheduler-ticker.service constantly in 'activating' mode, Prannoy Sablok, 07/30/2021
- Re: [perfsonar-user] pscheduler-ticker.service constantly in 'activating' mode, Antoine Delvaux, 07/29/2021
Archive powered by MHonArc 2.6.24.