Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Failing to send results to remote open search with User/Pass Auth

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Failing to send results to remote open search with User/Pass Auth


Chronological Thread 
  • From: Andrew Lake <>
  • To: "" <>, "Strelka, Justin" <>
  • Subject: Re: [perfsonar-user] Failing to send results to remote open search with User/Pass Auth
  • Date: Thu, 18 Apr 2024 13:00:59 -0400

Hi,

I think your original email with the error "tee: /etc/perfsonar/logstash/proxy_auth.json: No such file or directory” pointed to the primary issue. I’ve run into that before when something went wrong with initial install that prevented "/etc/perfsonar/logstash” from being created before the command ran. We cleaned-up a bunch of that process in the 5.1.0 scripts (for which beta was just announced). I think the following should get things corrected in the meantime though:

mkdir /etc/perfsonar/logstash/
/usr/lib/perfsonar/archive/perfsonar-scripts/pselastic_secure_pre.sh
systemctl restart opensearch
systemctl restart logstash
/usr/lib/perfsonar/archive/perfsonar-scripts/pselastic_secure_pos.sh

Thanks,
Andy



On April 17, 2024 at 3:54:31 PM, Strelka, Justin () wrote:

Hello All,

 

Wanted to bump this again. Has anybody successfully sent data to a remote OpenSearch archive with User/Pass Auth instead of Auth by IP? If so, were there any tricks to getting it to work?

 

Thanks,

Justin

 

From: <> on behalf of "Strelka, Justin" <>
Date: Tuesday, March 12, 2024 at 4:05 PM
To: <>
Subject: [perfsonar-user] Failing to send results to remote open search with User/Pass Auth

CAUTION: This email originated from outside of NREL. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Hello,

 

I recently set up a new host and am having issues pushing data to a remote Opensearch instance from a test point with User/Pass auth. I can push data successfully by IP auth so I know its not firewall, etc.

 

During my install of perfsonar-core package I noticed the perfsonar user may have failed during creation due to the missing proxy_auth.json file. Output from dnf install perfsonar-core below:

 

Adding password for user perfsonar

tee: /etc/perfsonar/logstash/proxy_auth.json: No such file or directory

[Creating pscheduler users]

[Creating pscheduler_logstash user]

[Creating pscheduler_reader user]

[Creating pscheduler_writer user]

[DONE]

 

When I look inside the /etc/opensearch/opensearch-security/internal_users.yml file I do not see the perfsonar user created anywhere. However, the file /etc/perfsonar/opensearch/logstash_login file does indeed exist with perfsonar:XXXXXXXXXX

 

This is the second host and second install I attempted on newly stood up hosts both with the same outcome and missing /etc/perfsonar/logstash/proxy_auth.json file. The first host I installed perfsonar-archive and re-tried on brand new host with perfsonar-core both with the same issue.

 

Any guidance or confirmation of potential bug in install script for 5.0.8 would be appreciated.

 

Thanks,

Justin

--
To unsubscribe from this list: https://lists.internet2.edu/sympa/signoff/perfsonar-user



Archive powered by MHonArc 2.6.24.

Top of Page