Skip to Content.
Sympa Menu

perfsonar-user - [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

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


Chronological Thread 
  • From: "Whitworth, Luke" <>
  • To: "" <>
  • Subject: [perfsonar-user] Throughput job not being scheduled - BAD REQUEST: At /schema: 1 is not one of [2]
  • Date: Thu, 9 Jul 2020 15:22:12 +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=N3RA+HHRbv5Aui7B4eRh64AcQSZokyM6alf5J/yBNeM=; b=iuHMdZZaQZCWt6i55yL9bbfWYjmsrWn4QqIZxDOJE1mNwtt2vktprLoBLIr6UZstmw/McQ9mLQLPnJhTcKkzy7Ct4tEKyHEmilkt7qrhRqIkpGZNJcUw5VQXhBDaneP/Rqf19/2VSyTNGenT6cfz04eUYMMqYBg8HZL0sbZvcQH1RzeHj1KVZxZA3L6MipjWMTf+S+rjx6uiI/Lq9YoNZRmtns8vr26aAViCaOrUTutdIfffvd3nwucq+PwFIsigZq9wRRW/jFD/nvOXiu7VMi8P+6Fy+tnnb+afr2sUAOSwbXXvXW/teK9TIz2kZ8dWlC2HLERPM+US7LoZws2U5w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kZ69b4pdp32DWzAjoe8a97Ug5LpdcOnKsvKe8iPwCpJYIbH9kfRLcj1mWDhtHLrSIImbVl6vpJIgbta9WmjjuhT9Pcel82pHHUAq2vZh/GCdeXxjo73yuj3vJG5HyRiz44/GKuf2EOiL1RTmd0r0PIZUn/yp2nvV5D00QX3jf9xuU8iKF93jp2k5jzHP3QwdWXW1EVL8nmCcXgxf9ruBreByestmrhSe51U6YfdrbCns23WpDDvge2b6dFLkKM8WBrzQJ4dfLDCBFtfYPEXQaj5QGbX3PheWezQD7T0YCGjK7BXqJTK0O0Bs2xh0kjM3AYV/gSyJBFSZyxA2UiZhaA==

Hi all,

 

I’ve got a bit of a frustrating error popping up with throughput jobs not being added into the schedule by psconfig:

 

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 psconfig definition is:

 

{

    "_meta":{

        "display-name""Latency"

    },

    

    "archives": {

        "esmond_archive": {

            "archiver""esmond",

            "data": {

                "measurement-agent""{% scheduled_by_address %}",

                "url""https://xxx.ac.uk/esmond/perfsonar/archive/"

            }

        }

    },

    

    "addresses": {

        "testpoint-1.ac.uk": { "address""testpoint-1.ac.uk" },

        "testpoint-2.ac.uk": { "address""testpoint-2.ac.uk" },

        "testpoint-3.ac.uk": { "address""testpoint-3.ac.uk" }

    },

    

    "groups": {

        "dists": {

            "type""mesh",

            "addresses": [

                { "name""testpoint-1.ac.uk" },

                { "name""testpoint-2.ac.uk" },

                { "name""testpoint-3.ac.uk" }

            ]

        }

    },

    

    "tests": {

        "test_throughput": {

            "type""throughput",

            "spec": {

                "source""{% address[0] %}",

                "dest""{% address[1] %}",

                "duration""PT30S",

                "tcp-bandwidth"550000000,

                "omit""PT5S",

                "ip-version"4

            }

        },

        "test_latencybg": {

            "type""latencybg",

            "spec": {

                "source""{% address[0] %}",

                "dest""{% address[1] %}",

                "packet-interval"0.1,

                "bucket-width"0.001,

                "packet-count"600,

                "ip-version"4,

                "schema"2

            }

        },

        "test_trace": {

            "type""trace",

            "spec": {

                "source""{% address[0] %}",

                "dest""{% address[1] %}",

                "ip-version"4

            }

        }

    },

    

    "schedules": {

        "schedule_PT4H": {

            "repeat""PT4H",

            "sliprand"true,

            "slip""PT4H"

        },

        "schedule_PT10M": {

            "repeat""PT10M",

            "sliprand"true,

            "slip""PT10M"

        }

    },

    

    "tasks": {

        "task_throughput": {

            "group""dists",

            "test""test_throughput",

            "schedule""schedule_PT4H",

            "archives": [ "esmond_archive" ],

            "_meta": {

                "display-name""Throughput Tests"

            }

        },

        "task_latencybg": {

            "group""dists",

            "test""test_latencybg",

            "archives": [ "esmond_archive" ],

            "_meta": {

                "display-name""Loss Tests"

            }

        },

        "task_trace": {

            "group""dists",

            "test""test_trace",

            "schedule""schedule_PT10M",

            "archives": [ "esmond_archive" ],

            "_meta": {

                "display-name""Traceroute Tests"

            }

        }

    }

}

 

I was getting the same error with tests created via psconfig web admin too.

 

Am I missing something obvious?

 

Cheers,

 

Luke

 

Luke Whitworth
Network Specialist
Information Services
Building 63 (IT) G46, Cranfield University, Cranfield, Bedfordshire MK43 0AL
E:
T: +44 (0) 1234 75 4007
W: www.cranfield.ac.uk

 

This email and any attachments to it may be confidential and are intended only for the named addressee. If you are not the named addressee, please accept our apology, notify the sender immediately and then delete the email. We request that you do not disclose, use, copy or distribute any information within it.

 

Any opinions expressed are not necessarily the corporate view of Cranfield University. This email is not intended to be contractually binding unless specifically stated and the sender is an authorised University signatory.

 

Whilst we have taken steps to ensure that this email and all attachments are free from any virus, we advise that, in keeping with good computing practice, the recipient should ensure they are actually virus free.

 




Archive powered by MHonArc 2.6.19.

Top of Page