perfsonar-user - Re: [perfsonar-user] Opensearch/Logstash environment and 503 Service Unavailable for archiver
Subject: perfSONAR User Q&A and Other Discussion
List archive
Re: [perfsonar-user] Opensearch/Logstash environment and 503 Service Unavailable for archiver
Chronological Thread
- From: "Weed, Adam" <>
- To: "" <>
- Subject: Re: [perfsonar-user] Opensearch/Logstash environment and 503 Service Unavailable for archiver
- Date: Tue, 14 Nov 2023 16:02:50 +0000
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=more.net; dmarc=pass action=none header.from=more.net; dkim=pass header.d=more.net; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=me8enfNbOVYlevG20ur7sn/LXRRLLKfOk1stwLQe/cs=; b=A5GlgeovXznqfHMZLV2eV8WY+Le7x86iJtkTyOeHYEI3j6fgB3bV4wkgJzMHEDaQU5cpqQw0aM/BB67IDGUuIPppgGj8CmrcQGX/1T1zTx/JI8hySU+ZUswdnX/VVTPBFFqVrRTnEJIKMImB+eoGTS1v0nVqVdh8P0pf9oQ6YZ220xfyJQ0rtlTzd9yzJuyMTaShyZ4wkV8LRTIQ/zD66q9e1JsgqXYfMI7tTO6pu/3JNwWlZpxLagF+CDZ0Rb/B2WGqcWqWP88iPu7bmnu9/508jnp8oY4jjCpFIxn610JvJFPHfFJPAwMAtqOGa6GgtYNclN/i9/vq70pFKpt3Aw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GDA0+VDgkiy9QnRFMJsQDX9mzEicdemUhNLYoBUukbe1ak53Ovrhk4ygSh6vo6cQ7JRc2zQKOXNhtERVg0MVssaGlNubf/Nv2FSV0E0xO3U3HieU+TCyJOVbbWhZ+kLeDaGke6y1sGvwRhM4a95OUv1j/qxv5gp5bWC8VnQXaiBy2WMpu9QD02MEHpeMmnSWibMLCLyjQ+tkkxEB8/y5UMhxj8awZ4plIe/+3x07yPuHQHeIWPbiykkbvBjKQPmK3oa4YWQ17p2LGKSLxFbybJTlU3NKx15a1Qi7YFyXFl9Cb/+PlEC4a72N3gGdt39Q+fZq19xhY24LcLea+mOMyQ==
- Msip_labels:
I can confirm that this issue is now resolved for me with v5.0.6-1 on Ubuntu 20.04.
Adam Weed
Database Programmer/Analyst
Database Programmer/Analyst
University of Missouri System - MOREnet
| (573) 884-2562
From: Weed, Adam
Sent: Tuesday, September 19, 2023 1:14 PM
To: <>
Subject: Opensearch/Logstash environment and 503 Service Unavailable for archiver
Sent: Tuesday, September 19, 2023 1:14 PM
To: <>
Subject: Opensearch/Logstash environment and 503 Service Unavailable for archiver
I was getting 503 errors when attempting to archive, similar to other users. My installation is perfsonar-toolkit on Ubuntu 20.
The /var/log/logstash/logstash.plain log was a continuous series of the service starting, erroring, and stopping. The error was:
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."
The "opensearch_output_host" value is contained in /etc/perfsonar/logstash/logstash_sysconfig, which also contains opensearch_logstash_user and opensearch_logstash_password.
These variables are referenced in /usr/lib/perfsonar/logstash/pipeline/99-outputs.conf. If I replace the variables in 99-outputs.conf with the values in logstash_sysconfig and restart the logstash service, the error goes away and is replaced with a 401 error
when attempting to contact OpenSearch at the given address (https://localhost:9200).
If I then replace the user and password values in 99-outputs.conf with the OpenSearch login contained in /etc/perfsonar/opensearch/opensearch_login, then upon restart the logstash service works correctly and I have records displayed in the Test Results section
of the web UI.
What can I do to properly configure the environment so that the values in logstash_sysconfig and opensearch_auth are found without having to manually replace their variable references?
Any information would be greatly appreciated.
Adam Weed
Database Programmer/Analyst
Database Programmer/Analyst
University of Missouri System - MOREnet
| (573) 884-2562
- Re: [perfsonar-user] Opensearch/Logstash environment and 503 Service Unavailable for archiver, Weed, Adam, 11/14/2023
Archive powered by MHonArc 2.6.24.