Skip to Content.
Sympa Menu

perfsonar-user - RE: [perfsonar-user] debugging pscheduler

Subject: perfSONAR User Q&A and Other Discussion

List archive

RE: [perfsonar-user] debugging pscheduler


Chronological Thread 
  • From: "Garnizov, Ivan" <>
  • To: "Fligor, Debbie" <>, "" <>
  • Subject: RE: [perfsonar-user] debugging pscheduler
  • Date: Wed, 3 Apr 2019 11:12:34 +0000

Dear Debbie,

 

I see your inquiry as twofold:

-          You are having an issue with pscheduler test coordination

-          There is a bug in pscheduler on activating debugging mode for api

 

Your report about the bug will be reported to the pS Development team.

On the issue with pscheduler tests coordination please share your pscheduler request and pscheduler output.

An additional assistance to us would be, if you execute the pscheduler request with --debug options.

(Example)

pscheduler task --debug <<your test request here>>

 

As a workaround for the bug, you found, I would suggest to just run the commands below with sudo:

-          Activate debug: pscheduler debug on

-          Deactivate debug: pscheduler debug off

 

Regards,

Ivan Garnizov

 

GEANT WP6T3: pS development team

GEANT WP7T1: pS deployments GN Operations

GEANT WP9T2: Software governance in GEANT

 

From: [mailto:] On Behalf Of Fligor, Debbie
Sent: Tuesday, April 2, 2019 11:05 PM
To:
Cc: Fligor, Debbie <>
Subject: [perfsonar-user] debugging pscheduler

 

I’ve been trying to work out why my two new perfsonar boxes can’t run througput tests with each other. My main clue is this in the logfile (both systems show the same error):

Apr  2 15:22:15 res-dtn journal: pscheduler-api INFO     Denied 2620:0:e01:8001::10 POST https://res-dtn.techservices.illinois.edu/pscheduler/tasks/b20f8a9a-502b-4070-8625-daf960bebc1e
Apr  2 15:22:16 res-dtn journal: pscheduler-api INFO     Denied 2620:0:e01:8001::10 POST https://res-dtn.techservices.illinois.edu/pscheduler/tasks



So I turned on debugging for the api in one of them, hoping to get more details about what was failing, with this command:


 pscheduler debug on api

which I found on this page:

http://docs.perfsonar.net/troubleshooting_overview.html


and got this in the log file:

Apr  2 15:58:14 res-dtn journal: pscheduler-api ERROR    Exception: IOError: [Errno 2] No such file or directory: '/run/pscheduler-server/pscheduler-api-debug'
Apr  2 15:58:14 res-dtn journal: pscheduler-api ERROR    Traceback (most recent call last):
Apr  2 15:58:14 res-dtn journal: pscheduler-api ERROR      File "/usr/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
Apr  2 15:58:14 res-dtn journal: pscheduler-api ERROR        rv = self.dispatch_request()
Apr  2 15:58:14 res-dtn journal: pscheduler-api ERROR      File "/usr/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
Apr  2 15:58:14 res-dtn journal: pscheduler-api ERROR        return self.view_functions[rule.endpoint](**req.view_args)
Apr  2 15:58:14 res-dtn journal: pscheduler-api ERROR      File "./pschedulerapiserver/debug.py", line 77, in debug
Apr  2 15:58:14 res-dtn journal: pscheduler-api ERROR    IOError: [Errno 2] No such file or directory: '/run/pscheduler-server/pscheduler-api-debug'

Should I be able to turn on API debugging with that command, or did I need other settings?


--
-debbie
Debbie Fligor, n9dn       Lead Network Engineer @ Univ. of Il
email:         














Archive powered by MHonArc 2.6.19.

Top of Page