perfsonar / psconfig

Configures perfSONAR tests from a central source in an extensible way.
Apache License 2.0
4 stars 2 forks source link

psconfig - pscheduler assist and comments in /etc/hosts file #137

Closed laeti-tia closed 2 weeks ago

laeti-tia commented 2 months ago

It seems that having this content in /etc/hosts is creating a problem with either psconfig or pscheduler:

#127.0.0.1 something

We see this in the logs:

2024-09-26 13:31:58 INFO pid=1553038 prog=_run_start line=104 guid=7ffca6a4-615c-4787-b98b-a34f38e30389 pscheduler_assist_url=https://localhost/pscheduler match_addresses=["avignon-snd-021", "193.55.202.4", "#127.0.0.1", "[avignon-snd-021.noc.perfsonar.renater.fr](http://avignon-snd-021.noc.perfsonar.renater.fr/)", "[avignon-snd-021.perfsonar.noc.renater.fr](http://avignon-snd-021.perfsonar.noc.renater.fr/)"] msg=Auto-detected match addresses
2024-09-26 13:32:03 ERROR pid=1553038 prog=_run_start line=135 guid=7ffca6a4-615c-4787-b98b-a34f38e30389 pscheduler_assist_url=https://localhost/pscheduler msg=Problem initializing task_manager: build_err_msg() got an unexpected keyword argument 'http_resonse'

and no tasks are scheduled.

When removing the commented line from /etc/hosts the logs don't show the ERROR anymore and psconfig is processing the file properly and scheduling tasks.

Seen on a 5.1.2 testpoint host.