Opensearch service fails to come up on perfsonar-toolkit installation
diogoideguchi opened this issue · 0 comments
diogoideguchi commented
After installing perfsonar-toolkit on Rocky Linux 8.8, the following error is presented in the main screen (in a red box):
Error loading test listing; measurement archive unreachable:
https://myserver.example.com/esmond/perfsonar/archive/
If I try to access the URL above an error 500 is presented.
I'm repeatedly seeing the following errors on /var/log/opensearch/opensearch.log:
[2023-12-26T04:16:06,172][ERROR][o.o.s.a.BackendRegistry ] [myserver.example.com] Not yet initialized (you may need to run securityadmin)
[2023-12-26T04:16:07,112][ERROR][o.o.s.c.ConfigurationLoaderSecurity7] [myserver.example.com] Failure no such index [.opendistro_security] retrieving configuration for [INTERNALUSERS, ACTIONGROUPS, CONFIG, ROLES, ROLESMAPPING, TENANTS, NODESDN, WHITELIST, ALLOWLIST, AUDIT] (index=.opendistro_security)
[2023-12-26T04:16:07,113][ERROR][o.o.s.c.ConfigurationLoaderSecurity7] [myserver.example.com] Failure no such index [.opendistro_security] retrieving configuration for [INTERNALUSERS, ACTIONGROUPS, CONFIG, ROLES, ROLESMAPPING, TENANTS, NODESDN, WHITELIST, ALLOWLIST, AUDIT] (index=.opendistro_security)
[2023-12-26T04:16:07,113][ERROR][o.o.s.c.ConfigurationLoaderSecurity7] [myserver.example.com] Failure no such index [.opendistro_security] retrieving configuration for [INTERNALUSERS, ACTIONGROUPS, CONFIG, ROLES, ROLESMAPPING, TENANTS, NODESDN, WHITELIST, ALLOWLIST, AUDIT] (index=.opendistro_security)
And the following message in pscheduler-archive logs:
archiver[17673]: archiver WARNING < /head>< body>
archiver[17673]: archiver WARNING < h1>Unauthorized< /h1>
archiver[17673]: archiver WARNING < p >This server could not verify that you
archiver[17673]: archiver WARNING are authorized to access the document
archiver[17673]: archiver WARNING requested. Either you supplied the wrong
archiver[17673]: archiver WARNING credentials (e.g., bad password), or your
archiver[17673]: archiver WARNING browser doesn't understand how to supply
archiver[17673]: archiver WARNING the credentials required.</p>
archiver[17673]: archiver WARNING </body></html>
What would be the reason for those errors? Is the archiver not able to use Opensearch? Is there any file where I should configure the auth tokens for the archiver to use Opensearch?
Thanks in advance.