Skip to Content.
Sympa Menu

perfsonar-user - RE: [perfsonar-user] dynamic mesh build_json error

Subject: perfSONAR User Q&A and Other Discussion

List archive

RE: [perfsonar-user] dynamic mesh build_json error


Chronological Thread 
  • From: "Garnizov, Ivan (RRZE)" <>
  • To: Ryan Hitch <>, "" <>
  • Subject: RE: [perfsonar-user] dynamic mesh build_json error
  • Date: Thu, 11 Feb 2016 09:04:04 +0000
  • Accept-language: en-GB, de-DE, en-US

Hi Ryan,

 

Have you followed this instruction as well: http://docs.perfsonar.net/multi_mesh_autoconfig.html

 

"In this case, how do we tag our agent downloading the file so that it matches this class? Normally we would do it in the host directive but by definition our requesting agent does not have one of those. Instead we have to add a local_host block to the clients agent configuration file:"

 

 

 

Best regards,

Ivan

 

-----Original Message-----
From: [mailto:] On Behalf Of Ryan Hitch
Sent: Mittwoch, 10. Februar 2016 22:34
To:
Subject: [perfsonar-user] dynamic mesh build_json error

 

I am getting the following error when I try to generate a mesh json (PerfSonar 3.5 with latest updates):

 

My config is based off of the sample meshconfig here: http://docs.perfsonar.net/multi_mesh_autoconfig.html

 

[user@maddash-222 etc]# /opt/perfsonar_ps/mesh_config/bin/build_json -o /var/www/html/dynamicmesh.json dynamicmesh.conf

2016/02/10 19:54:23 (22589) ERROR> Utils.pm:80 perfSONAR_PS::MeshConfig::Utils::load_mesh - Invalid mesh configuration: Unknown attribute: netmask at /opt/perfsonar_ps/mesh_config/bin/../lib/perfSONAR_PS/MeshConfig/Config/Base.pm line 172.

Resulting mesh is invalid: Invalid mesh configuration: Unknown attribute: netmask at /opt/perfsonar_ps/mesh_config/bin/../lib/perfSONAR_PS/MeshConfig/Config/Base.pm line 172.

 

Any help would be greatly appreciated.

 

Best,

Ryan

 

###############################

# dynamicmesh.conf

###############################

description       Dynamic Mesh

include http://172.16.0.222/dynamic_host_list.json

<host_class>

    name      owamp_agents

    <data_source>

        type     current_mesh

    </data_source>

    <match>

       <filter>

           type   tag

           netmask   owamp

       </filter>

    </match>

</host_class>

<group owamp_group>

  type              mesh

  member          host_class::owamp_agents

</group>

<test_spec owamp_test>

  type              perfsonarbuoy/owamp

  packet_interval   1    # send one packet per second

  sample_count      600  # ever 600 packets

  force_bidirectional 1

</test_spec>

<test>

  description       OWAMP Tests

  group             owamp_group

  test_spec         owamp_test

</test>

 

###############################

# dynamic_host_list.json (just testing with two hosts right now) ############################### {

   "organizations" : [

      {

         "sites" : [

            {

               "hosts" : [

                  {

                     "addresses" : [

                        {

                           "address" : "172.16.0.10",

                           "tags" : [

                              "owamp"

                           ]

                        }

                     ],

                     "measurement_archives" : [

                        {

                           "read_url" : "http://172.16.0.222/esmond/perfsonar/archive",

                           "write_url" : "http://172.16.0.222/esmond/perfsonar/archive",

                           "type" : "perfsonarbuoy/owamp"

                        }

                     ],

                     "tags" : []

                  }

               ],

               "tags" : []

            }

               "hosts" : [

                  {

                     "addresses" : [

                        {

                           "address" : "172.16.20.10",

                           "tags" : [

                              "owamp"

                           ]

                        }

                     ],

                     "measurement_archives" : [

                        {

                           "read_url" : "http://172.16.0.222/esmond/perfsonar/archive",

                           "write_url" : "http://172.16.0.222/esmond/perfsonar/archive",

                           "type" : "perfsonarbuoy/owamp"

                        }

                     ],

                     "tags" : []

                  }

               ],

               "tags" : []

            }

         ],

         "description" : "Test Organization",

         "tags" : []

      }

   ]

 

}

 




Archive powered by MHonArc 2.6.16.

Top of Page