Skip to Content.
Sympa Menu

perfsonar-user - [perfsonar-user] maddash - Errors when generating configuration for the first time

Subject: perfSONAR User Q&A and Other Discussion

List archive

[perfsonar-user] maddash - Errors when generating configuration for the first time


Chronological Thread 
  • From: Søren Elleby Sørensen <>
  • To:
  • Subject: [perfsonar-user] maddash - Errors when generating configuration for the first time
  • Date: Sun, 12 Nov 2017 01:30:33 +0100
  • Ironport-phdr: 9a23:De3vwRSh2ssms86ZCvDsaddDntpsv+yvbD5Q0YIujvd0So/mwa6yZB2N2/xhgRfzUJnB7Loc0qyN4vCmATRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSijewZbB/IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4qF2QxHqlSgHLSY08GDXhMJ+j6xVvQyvqABkzoHOfI2YLuBzcr/Bcd4YQ2dKQ8ZfVzZGAoO5d4YBEvIZPfxGoIn7v1QAoh++BQ2yC+z0yj5HnmL4xbUg0+s/FwHGxxIvH9QTu3nTt9X6KrwSXPurzKjHyzXPde5Z2TTk5YXObxsvr/aMXbdqfsrQz0kiDxjFjlKLqYzjITyVyv4BvHWc7+plU++klm0pqxlprzSxx8oglovEi4cbyl3H7ip13IM4KNKkREJnfNKpFYdfuz2BOIZzR84uXX9ktSIixrACpZK3ZjYGxIomyhLFZfGLbZKE7gz/WOuTJzpzmWhrd6ilhxmo9Eit0u38Wdew0FZNtidFl8PDtnEJ1xDK68iHVudx8l6u2DqRyQze7vtIIU8zlarcJJ4hxqA/moAPvkTEGy/6gET2jKmIeUU44uWk9eXqbqnkq5KZOY95iRrxPrgrl8GwHeg0LhUCUm2H9uigz7Lu+Ej0TKtUgvAyiqXZtYrVJcUfpq63GQ9V1YMj5g6kDzi4y9QVhmcHLV1DeB6dkofpOEnCIOrkAvenn1SsjDBryujePrL/GJXNIGPDkLDnfbln8U5Q0RczzctB6JJOEbwBJPPzWlTttNzDEBM1KQ20w+D7CNpjzIMeX3yAArOHPK/Ir1CH+/8vcKGwY9oNtSzzMP8j7uSrkGQ0g3cce7Wkx50adCr+E/h7cGuDZn+5uUcbHGE9kw46Qeb7v2YSSzNVfHu0F/Yn6yoTFpKgS4vAENP+yIed1Tu2S8UFLltNDUqBRC/l

Hi,

I recently switched from storing measurement-data on each node, to a centralized toolkit (4.0) archive box.

The JSON source has been published using a web-server, and my toolkit (4.0) measurement nodes are able to pick it up, execute some tests, and write something in my centralized archive. At least the archive is growing, so something seems to be working :)

Now I'm a bit stuck on "auto-generating" a maddash.yaml file for the first time.

output from "/var/log/maddash/meshconfig-guiagent.log":

ERROR> GUIAgent.pm:258 perfSONAR_PS::MeshConfig::GUIAgent::__generate_maddash_config - Problem generating maddash configuration: Died at /usr/share/perl5/vendor_perl/YAML/Loader.pm line 674, <$IN> line 1.

ERROR> GUIAgent.pm:219 perfSONAR_PS::MeshConfig::GUIAgent::__configure_guis - Problem generating maddash configuration: Problem generating maddash configuration: Died at /usr/share/perl5/vendor_perl/YAML/Loader.pm line 674, <$IN> line 1.

The two lines above are repeated in the log file.

I'm not sure where to start troubleshooting, as my Perl-and-YAML-fu is rather weak.

File permissions for maddash.yaml should be in order.
The 'maddash" user and group have been granted read/write to the file:

-rw-rw-r-- 1 maddash maddash    73 Nov 12 00:00 maddash.yaml

The current contents of the maddash.yaml file:

<database: /var/lib/maddash/

serverHost: "localhost"

http:
        port: 8881


The current contents from the /etc/perfsonar/meshconfig-guiagent.conf file:

<mesh>
        configuration_url       https://data0-psa01.sosnet.dom/sosi-ent-mesh-central-ma.json
        validate_certificate    1
        ca_certificate_file     /etc/pki/tls/certs/ca-bundle.crt
</mesh>

The archive box is able to download the file, and certificates etc are in order.
At least "curl" is not complaining, when trying to download the file using https.

Changing the configuration_url to http:// instead of https:// dosen't make any difference either.

JSON validation, using the /etc/perfsonar/bin/validate_json program does not present any errors with the configuration.

Can anyone point me in the right direction?

I apologize for spelling and grammar-errors, as English is not my native language.

Thank you.

Sincerely,

Søren



Archive powered by MHonArc 2.6.19.

Top of Page