perfSONAR 5.1.0 not showing results in the dashboard.
Opened this issue · 2 comments
I installed the perfSONAR 5.1.0 in Alma Linux 9.4. And after installing added some tests.
The results are not displayed in the grafana interface even though the data is there. From the troubleshoot I get the following results:
[admin@pfs-test ~]$ psarchive troubleshoot
OpenSearch running ...... OK
Logstash running ...... OK
OpenSearch API (Localhost) ...... OK
Logstash Endpoint (Localhost) ...... OK
OpenSearch API (HTTPS Proxy) ...... OK
Logstash Proxy Credentials ...... OK
Logstash Endpoint (HTTPS Proxy) ...... OK
Logstash->OpenSearch Credentials ...... FAIL
Unable to load the credentials that Logstash will use to authenticate to OpenSea rch. It is possible something went wrong with the perfsonar-archive installation . More details in error below:
[Errno 13] Permission denied: '/etc/perfsonar/opensearch/auth_setup.out'
And the other issue is that the information for the Node is not saved. So I put the data in the "Home / Configuration" and they are not saved. I do not get an error, instead it says Data saved.
From the install logs I see the errors below:
Running scriptlet: perfsonar-lsregistrationdaemon-5.1.0-0.b1.5.el9. 763/799
Failed to resolve typeattributeset statement at /var/lib/selinux/targeted/tmp/modules/400/lsregistrationdaemon/cil:36
Failed to resolve AST
semodule: Failed!
Created symlink /etc/systemd/system/multi-user.target.wants/perfsonar-lsregistrationdaemon.service → /usr/lib/systemd/system/perfsonar-lsregistrationdaemon.service.
Running scriptlet: perfsonar-host-metrics-5.1.0-0.b1.5.el9.42.e0ab6 778/799
Failed to resolve typeattributeset statement at /var/lib/selinux/targeted/tmp/modules/400/perfsonar_host_metrics/cil:2
Failed to resolve AST
semodule: Failed!
Created symlink /etc/systemd/system/multi-user.target.wants/node_exporter.service → /usr/lib/systemd/system/node_exporter.service.
Created symlink /etc/systemd/system/multi-user.target.wants/perfsonar-host-exporter.service → /usr/lib/systemd/system/perfsonar-host-exporter.service.
Created symlink /etc/systemd/system/multi-user.target.wants/httpd.service → /usr/lib/systemd/system/httpd.service.
Installing : perfsonar-toolkit-web-services-5.1.0-0.b1.5.el9. 779/799
Running scriptlet: perfsonar-toolkit-web-services-5.1.0-0.b1.5.el9. 779/799
Failed to resolve typeattributeset statement at /var/lib/selinux/targeted/tmp/modules/400/perfsonar-toolkit/cil:15
Failed to resolve AST
semodule: Failed!
Attached is the full log of installation.
log.txt
I think the error reported by Johann Hugo, looks the same as the error I get:
Logstash stops every time with this error:
[ERROR][logstash.agent ] Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:pscheduler, :exception=>"Java::JavaLang::IllegalStateException", :message=>"Unable to configure plugins: Cannot evaluate ${opensearch_output_host}
. Replacement variable opensearch_output_host
is not defined in a Logstash secret store or an environment entry and there is no default value given.", :backtrace=>["org.logstash.config.ir.CompiledPipeline.(CompiledPipeline.java:120)"
So the situation is this:
I add the test from the interface but they are not shown there. From the files I see that there are test configured but they are no showing at "Tests". it seems the toolkit interface is not allowed to write to the files.
Below are the info:
there are tests:
[admin@pfs-test psconfig]$ grep tasks pscheduler.d/toolkit-webui.json
"source-format" : "mesh-config-tasks-conf",
"tasks" : {
there are some info there:
[admin@pfs-test psconfig]$ wc -l pscheduler.d/toolkit-webui.json
171 pscheduler.d/toolkit-webui.json
file permissions:
[admin@pfs-test psconfig]$ ls -l pscheduler.d/toolkit-webui.json
-rw-r--r--. 1 root root 4009 May 15 04:00 pscheduler.d/toolkit-webui.json
[admin@pfs-test psconfig]$
attached is the screen of the toolkit
Same thing is with the node information. I add the info but they are not saved. If I edit the /etc/perfsonar/lsregistrationdaemon.conf and add the data there, it is shown in the interface. The permission s for the file:
[admin@pfs-test psconfig]$ ls -la /etc/perfsonar/lsregistrationdaemon.conf
-rw-r--r--. 1 perfsonar perfsonar 4745 May 16 04:49 /etc/perfsonar/lsregistrationdaemon.conf
[admin@pfs-test psconfig]$