perfsonar / mesh-config

Centralized configuration framework for measurement points and GUIs
Apache License 2.0
2 stars 0 forks source link

have a more clear statement on errors with unable to create a task with pscheduler #65

Closed igarny closed 7 years ago

igarny commented 7 years ago

On messages in the /var/log/perfsonar/meshconfig-agent.log like the ones below it is hard to tell, which task is the reason for the events.


2017/05/05 08:06:00 (356) WARN> perfsonar_meshconfig_agent:430 main:: - Problem determining which pscheduler to submit test to for creation, skipping test: 400 BAD REQUEST: Can't find pScheduler or BWCTL on psps-test2-mgmt.rrze.uni-erlangen.de

2017/05/05 08:06:00 (356) WARN> perfsonar_meshconfig_agent:430 main:: - Problem determining which pscheduler to submit test to for creation, skipping test: 400 BAD REQUEST: Can't find pScheduler or BWCTL on psps-test2-mgmt.rrze.uni-erlangen.de

2017/05/05 08:20:11 (2090) WARN> perfsonar_meshconfig_agent:430 main:: - Problem determining which pscheduler to submit test to for creation, skipping test: 400 BAD REQUEST: Can't find pScheduler or BWCTL on psps-test2-mgmt.rrze.uni-erlangen.de

2017/05/05 08:20:11 (2090) WARN> perfsonar_meshconfig_agent:430 main:: - Problem determining which pscheduler to submit test to for creation, skipping test: 400 BAD REQUEST: Can't find pScheduler or BWCTL on psps-test2-mgmt.rrze.uni-erlangen.de
vvidic commented 7 years ago

I'll send a pull request for this one.

vvidic commented 7 years ago

Please review the pull request in perl-shared. The log lines show now look like this:

2017/05/17 12:06:02 (3155) WARN> perfsonar_meshconfig_agent:430 main:: - Problem adding test throughput(ps-deb-2.es.net->pstest.geant.carnet.hr), continuing with rest of config: 422 UNPROCESSABLE ENTITY: Unable to complete request: Couldn't find a tool in common among the participants.