Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] perfSONAR User Q&A and Other Discussion

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] perfSONAR User Q&A and Other Discussion


Chronological Thread 
  • From: Mark Feit <>
  • To: "Ahuja, Satish (Exchange)" <>, Satish Ahuja <>, "" <>
  • Cc: Conan F Moore <>
  • Subject: Re: [perfsonar-user] perfSONAR User Q&A and Other Discussion
  • Date: Mon, 13 Feb 2023 18:32:09 +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=hYTIosrrf/B7wMzLMLddrVuUPHcuiIm5iMQirV/sS+8=; b=kUSpAg0dVRs9fNwbKb3NWUijGh4yyNrIeZOUo4dQAJ0Z4zI7bevQ6Bpqc0LmLaeGhqeA7D7W6qHOWAVjjJOfNOUI8CBuRsywdXXseYQFF1RX8hrl3khJDsfUQhWWKd+p2v6ujPrSLYc0wwXc/++pT/HwwapbrNpNgz0xQubQEyY/PYMzRphBcmrBR/VNHqMqwkmKtwYIB99dS8Wu0h7xhXvMkn6sq8FD719B3OHwJbsScqPV2unnXtanVKbtMdcFfY4i24nk5CWVJDbD1+jyDHGrIAzhlXt4Q5uidoxFv+mv8xcr9nlfXcUqzzBgOUzQfJDzw/sK2XA6fwMyQO13IQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Zm9gYPO7TonzjPnfO1V+MqnkC2v3kvIguVQ9QKzgyEYn428iVWw0fqeovxE81vCNhEl93Pd5vNcWqGlqcr3GueBmgySIyaAC4O/z3Og8wQPzu51SCyMRB5EzW0PhkDHrV3dCcSD5j4s+5UK/DJSpp9gQIqEUPHEaZ8Wv0k0PXcqsrhVQAXW+fQRhpGuVoUN4vMkGslK9a+kmJblIFJHdGawIyN6QIlLOFqw6uErmQ4HDlxIvGndxHQrTwU4rZ3qs5lheQoRk6JD4b7pht4Qjx4REJn2KpgRa/VaClgTagj6hwxGco4hstnPXc7kwxJeR0EoIQcqoG20fOil+bkYaog==

Ahuja, Satish (Exchange) writes:

 

I referred the doc and configured configuration-file named skeleton.json and followed other steps as mentioned. I have attached the json file below. Please let me know if I’m missing something here.

 

There are two problems, one is yours, one is ours:

 

Yours is that the structure of the “groups” section of the config is invalid:

 

     "groups": {

        "example_group_mesh": {

            "type": "mesh",

            "addresses": [

           {"neo-comp-devperf1": "10.224.21.11" },  <-- Invalid Format

           {"neo-comp-devperf2": "10.224.21.12" }   <-- Invalid Format

            ]

        }

    },

 

The addresses array is a list of objects containing a name element, like this:

 

     "groups": {

        "example_group_mesh": {

            "type": "mesh",

            "addresses": [

           { "name": "neo-comp-devperf1" },  <-- Valid Format

           { "name": "neo-comp-devperf2" }   <-- Valid Format

            ]

        }

    },

 

Fixing that will yield a pSConfig file that validates properly.  The structure in the skeleton.json we ship and the documentation (see https://docs.perfsonar.net/psconfig_templates_intro.html#psconfig-templates-intro-example-groups) is correct.

 

 

Ours is that pSConfig doesn’t do proper validation of that part of the input.  The program is forging ahead as if it were valid and gets tripped up by making that assumption.   I’ve written an issue against it (see https://github.com/perfsonar/psconfig/issues/99) and we’ll get it fixed in the current code and the upcoming rewrite.

 

--Mark

 

 

 




Archive powered by MHonArc 2.6.24.

Top of Page