Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Throughput job not being scheduled - BAD REQUEST: At /schema: 1 is not one of [2]

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Throughput job not being scheduled - BAD REQUEST: At /schema: 1 is not one of [2]


Chronological Thread 
  • From: "Whitworth, Luke" <>
  • To: Mark Feit <>, "" <>
  • Subject: Re: [perfsonar-user] Throughput job not being scheduled - BAD REQUEST: At /schema: 1 is not one of [2]
  • Date: Thu, 9 Jul 2020 16:25:15 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cranfield.ac.uk; dmarc=pass action=none header.from=cranfield.ac.uk; dkim=pass header.d=cranfield.ac.uk; 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-SenderADCheck; bh=kbd1GNN1PGvYytV4FpE4dhUeyPSGHHssoUZkZVwbPzU=; b=dduWxV01LYR8O5ZBAd5lMOqIc7Pxf17cOtEp/uhkT5A6QuWWQ7VF4nXCb8Mr+HaliWOuf500f/7lxAii9nzJV0BT+e0VHAZaISXe1Wq2SvV6Hy62CgHg3yZXKqSVkYnGlAScJnRhAsnCAqitTHRXaoS5jmNzq7tMUuRSzmtV76zloWkVWteXT1yWVpx3zmFWLHbbXWEFP232UMnFrxVcKj8jdXqelAJlWmX1sbO8itEPPm+LJTnhqno+6+DvbwAkcX2000VJ76hI8JAvvqmg6V1cHjTiqRrpBbIIfU86RXtgvqjMW5S07FmnTaNl7OM+lvMq8hmDG9w5ls9sR+qu+A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S2CTIxC5Ko12+mCA3UeA5pPh/SjKOX7Wsj+9SkGzU85Pi8LzUlwcYsGYLWJAynSn8s8M4Z4WQku4FRBFMVL8RBBcuzlDMbRtaKhgka9ZeUL96WcS4HRPSOVIPjA7FBl3Tggh9A1WhfpnJSYMCjTTvXajhAE8B2RG9UCBe/YbArH30IXEJAqkqb0exokCafcc2geSs0BlWXHA/mKmOtjzMmBtk7q6hReaXBsdgOXJp5WER6bjUmPrKfn/ow4UoBJkq+6VW6LKfgx3A5MNOA2anSwhJdAEPXp2XJrcK/y6N5e1JddxjAURtMtx0eJOWiDbE30meV4STat1FrJTZuTRwA==

Cheers Mark,

Thanks for that, was driving me nuts. Pretty sure though I got that variable out of a pwa generated config originally......will confirm tomorrow.

Luke


From: Mark Feit <>
Sent: Thursday, July 9, 2020 5:20:52 PM
To: Whitworth, Luke <>; <>
Subject: Re: [perfsonar-user] Throughput job not being scheduled - BAD REQUEST: At /schema: 1 is not one of [2]
 

Whitworth, Luke writes:

 

2020/07/09 16:17:19 WARN pid=1296 prog=perfSONAR_PS::PSConfig::PScheduler::Agent::_run_end line=227 guid=628dae27-076e-45b1-8352-1df84b897a76 msg=Problem determining which pscheduler to submit test to for creation, skipping test throughput(xxx.ac.uk->xxx.ac.uk): BAD REQUEST: At /schema: 1 is not one of [2]

 

The spec for test_throughput contains a bogus “tcp-bandwidth” parameter; you probably want “bandwidth.”

 

Tip:  If you’re generating the JSON by hand, the names of the parameters match the command-line interface’s switches (see “pscheduler task throughput –help”, for example).  You can also produce the JSON from the command line with “pscheduler task --export throughput --dest foo –bandwidth 1G | jq .test”.

 

The awfulness of the error message was brought to our attention a couple of months ago (see https://lists.internet2.edu/sympa/arc/perfsonar-developer/2020-04/msg00004.html).  Improvements to that have been made and will be shipped in 4.3.0.

 

--Mark

 




Archive powered by MHonArc 2.6.19.

Top of Page