You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the command "psconfig pscheduler-stats", I receive the following error message:
[root@x /]# psconfig pscheduler-stats
Error parsing time at /usr/lib64/perl5/Time/Piece.pm line 469.
[root@x /]#
pSConfig is otherwise running normally - remotes are configured and read, tasks are parsed and added to pscheduler, and the validate command works. The error persists with all formats (text/json/prometheus) with the default pscheduler-agent-logger.conf file.
My guess is that the start or end time variables ($st and $et) in psconfig/perfsonar-psconfig/bin/psconfig_commands/pscheduler-stats is expecting a different format from the log files. Here's an example snippet from /var/log/perfsonar/psconfig-pscheduler-agent.log:
Jun 6 18:23:45 467f279af687 psconfig_pscheduler_agent: 2023/06/06 18:23:45 INFO pid=224 prog=main:: line=176 guid=45D1F602-0497-11EE-91AD-7DB2999A80A8 msg=Running agent...
Jun 6 18:23:45 467f279af687 psconfig_pscheduler_agent: 2023/06/06 18:23:45 INFO pid=224 prog=main:: line=178 guid=45D1F602-0497-11EE-91AD-7DB2999A80A8 msg=Agent completed running
Jun 6 18:23:45 467f279af687 psconfig_pscheduler_agent: 2023/06/06 18:23:45 INFO pid=224 prog=main:: line=189 guid=45D1F602-0497-11EE-91AD-7DB2999A80A8 msg=Time until next record refresh is 3600 seconds
The text was updated successfully, but these errors were encountered:
OS: CentOS 7 Docker container (host OS: Ubuntu 22.04)
pSConfig version: 5.0.1-1
pSConfig agent command: /usr/lib/perfsonar/bin/psconfig_pscheduler_agent --config=/etc/perfsonar/psconfig/pscheduler-agent.json --logger=/etc/perfsonar/psconfig/pscheduler-agent-logger.conf --pidfile=/var/run/psconfig-pscheduler-agent.pid --user=perfsonar --group=perfsonar
When running the command "psconfig pscheduler-stats", I receive the following error message:
pSConfig is otherwise running normally - remotes are configured and read, tasks are parsed and added to pscheduler, and the validate command works. The error persists with all formats (text/json/prometheus) with the default pscheduler-agent-logger.conf file.
My guess is that the start or end time variables (
$st
and$et
) in psconfig/perfsonar-psconfig/bin/psconfig_commands/pscheduler-stats is expecting a different format from the log files. Here's an example snippet from /var/log/perfsonar/psconfig-pscheduler-agent.log:The text was updated successfully, but these errors were encountered: