Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Perfsonar (automatically) upgraded to 5.0 but testing data not archived

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Perfsonar (automatically) upgraded to 5.0 but testing data not archived


Chronological Thread 
  • From: Mark Feit <>
  • To: Tao Zhang <>, "" <>
  • Subject: Re: [perfsonar-user] Perfsonar (automatically) upgraded to 5.0 but testing data not archived
  • Date: Fri, 21 Apr 2023 20:52:01 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=internet2.edu; dmarc=pass action=none header.from=internet2.edu; dkim=pass header.d=internet2.edu; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=MRbHC+BZ5spUlLa/1JQCFZeRHnhlbbH9PFtkmejBNM0=; b=gnPBYBU7Tbr1ELFwAYrq4QywZL/wo5VMyh5Hmx4ZpEDkKG91Pd7rIRBUWn/PjRfMGR2SEsubjPDRwuMNG4++vZdrEHFUXMIa9JLdtEATZAIlBQ+RFg21MI24/h24xJh4sFnChkouSTH9KHIrflo4dx7zaXSOq+RieFG+C9ZYQdziQEH3FhYVt2D+Tu85f2pzYAdE+Iv4v4+ZUhwSAmotVCL4XLt6m125y1XXiNIp0WGjY+nwmwF0njxHbe5IwgCg1jBEg1yOOcV7r7f7Gjxw/jKcDUUvPP/7MB49F/1N7sY4jLIMkyuq7Ub3/7+J1CEwhGSPRjzJkAuwRyqTpEY30A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eOzFuuvY4x3YzQgOZKxQabR5XLXdQuwT+im5mS5mQzwlq2WTwcbmMRiZFMAMWVKK61WFxtQX8CLKz+KYpuvlVUa4V6VjTWmPSgA8Cl0CqYRgjyvszQ20vvY83ibzMrn/RFg6LcmZDpooW3wgyk5OdTFRFhlgpeuEZosctMWzLH8KX0TjVl+doKTAep1jZiN2d4FK3PcS3PjWYkYXZlIGCejzOjx7W089h3c1ziEkp1gJF+J8ri159/tzv0Q56z4VSJsliTN+I5i5YBPKBgdkagW2HKwnglBaZV0JbnGIQY6l3HT45fNPvAVPluFEIukdW/B6+/54LuilMsWMzLUqSg==
  • Msip_labels:

Tao Zhang writes:

 

All our perfSONAR boxes have been upgraded to 5.0, however, the archive shows empty. 

I checked the pscheduler log. The log filled with something like this:

Apr 21 12:27:31 lat-sask1pfs1 journal: archiver WARNING  120686191: Failed to archive https://lat-sask1pfs1.network.canarie.ca/pscheduler/tasks/b4843fdf-6d63-4a72-a29e-770134ccf853/runs/b7ed7962-377d-4842-90da-952c3e3670ea to esmond: Archiver permanently abandoned registering test after 1 attempt(s): 405: Invalid JSON returned

Apr 21 12:27:34 lat-sask1pfs1 journal: archiver WARNING  <title>503 Service Unavailable</title>

 

5.0 replaced Esmond with LogStash and OpenSearch.  There is a backward-compatibility layer for Esmond, but it is read-only.  If your tasks are archiving to the local system, they will need to use the HTTP archiver and post it to LogStash instead.  These two sections of the documentation should get you there:

 

 

 

Apr 21 12:27:30 lat-sask1pfs1 journal: runner ERROR      File "/usr/libexec/pscheduler/classes/tool/traceroute/run", line 239, in <module>

Apr 21 12:27:30 lat-sask1pfs1 journal: runner ERROR        run_timeout += send_wait * hops

Apr 21 12:27:30 lat-sask1pfs1 journal: runner ERROR    TypeError: unsupported operand type(s) for +=: 'datetime.timedelta' and 'str'

 

This is a bug in pScheduler that appears to have been introduced in the last release.  I’ve already corrected it and added it to the pipeline for the next bugfix release, which should happen sometime during the week of May 1.

 

Based on what I could pull out of the API on your system, these are the tasks that are failing:

 

2023-04-21T14:27:24-06:00 - 2023-04-21T14:30:32-06:00 (Failed)

trace --dest lat-gp-mn.nbren.ca --length 40 --probe-type udp --source lat-sask1pfs1.network.canarie.ca --source-node lat-sask1pfs1.network.canarie.ca --hops 30 --wait PT30S --sendwait PT5S (Run with tool 'traceroute')

https://lat-sask1pfs1.network.canarie.ca/pscheduler/tasks/1aa55201-d3dd-49b4-bda6-99524115462e/runs/0c7a63c4-70bc-4eeb-8181-dfcb4195d148

 

As a stopgap, removing the ‘sendwait’ option from your trace tasks won’t trip the faulty code.  Note that this will alter the character of the measurement.

 

--Mark

 




Archive powered by MHonArc 2.6.24.

Top of Page