You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a fresh install of the toolkit 5.1.2 on Ubuntu 22.04 setting up a scheduled test via the UI results in only outbound results to the test host being archived in the grafana interface.
This seems to be a result of the logstash archive config
The file /etc/perfsonar/psconfig/archives.d/http_logstash.json lists the url as "http://localhost/logstash". This is a configuration that is included along with scheduled test registration on the remote host. This appears to cause the inbound tests results to be posted to the remote hosts logstash (ie. localhost for it). This attempt fails either due to credential errors or record missmatch errors.
There are two plaes in the code that look like they are intend to specify the correct host-based logstash url . For some reason this code isn't been executed properly.
$ grep -r :11283 *
toolkit/perfsonar-toolkit/archive/http_logstash.json: "_url": "http://localhost:11283",
toolkit/perfsonar-toolkit/unibuild-packaging/rpm/perfsonar-toolkit.spec: sed -i "s|http://localhost:11283|https://{% scheduled_by_address %}/logstash|g" /etc/perfsonar/psconfig/archives.d/http_logstash.json
toolkit/perfsonar-toolkit/unibuild-packaging/deb/perfsonar-toolkit-archive-utils.postinst: sed -i "s|:11283|/logstash|g" /etc/perfsonar/psconfig/archives.d/http_logstash.json
Based on the above, this may only be an error with the deb versions. However, I suspect it was an error prior to 5.1.2 rpm release and that's how my Alama9 auto-upgraded install may have inherited it.
The text was updated successfully, but these errors were encountered:
Fixesperfsonar#486
The archive url should be the hostname of the node that schedules the test.
Update the sed re-write two match the same as on RPM builds using the
template parameter {% scheduled_by_address %} and the public /logstash
path rather than the default localhost and port.
After a fresh install of the toolkit 5.1.2 on Ubuntu 22.04 setting up a scheduled test via the UI results in only outbound results to the test host being archived in the grafana interface.
This seems to be a result of the logstash archive config
The file
/etc/perfsonar/psconfig/archives.d/http_logstash.json
lists the url as "http://localhost/logstash". This is a configuration that is included along with scheduled test registration on the remote host. This appears to cause the inbound tests results to be posted to the remote hosts logstash (ie. localhost for it). This attempt fails either due to credential errors or record missmatch errors.There are two plaes in the code that look like they are intend to specify the correct host-based logstash url . For some reason this code isn't been executed properly.
Based on the above, this may only be an error with the deb versions. However, I suspect it was an error prior to 5.1.2 rpm release and that's how my Alama9 auto-upgraded install may have inherited it.
The text was updated successfully, but these errors were encountered: