Skip to Content.
Sympa Menu

perfsonar-user - [perfsonar-user] Opensearch/Logstash environment and 503 Service Unavailable for archiver

Subject: perfSONAR User Q&A and Other Discussion

List archive

[perfsonar-user] Opensearch/Logstash environment and 503 Service Unavailable for archiver


Chronological Thread 
  • From: "Weed, Adam" <>
  • To: "" <>
  • Subject: [perfsonar-user] Opensearch/Logstash environment and 503 Service Unavailable for archiver
  • Date: Tue, 19 Sep 2023 18:14:27 +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=WFyEc+K7PynOyIIgAmfUnKCxNPu41QXgzBbqwX4idhw=; b=DKijAfOBOl/YzEoDbCXjsC+XirdNHkJXPXFZgO7/7C6hqLnEaPT4oqjX0tdxJWlpFFtspsOsHmLolZpyq3hODQF0hq4x2ozdcYI82gEJwgaetcJD4fB0t08m2kgnOZzeyegxYmDhTnW60C4Z/Nv+d9HSBcLa3EhoV1EF3OwmAg1vNvejMPaPVrw9RWoEKvo8Wlii4DD9ZyWxC0c6FnhcKvrf+TOHcyEEEnEmmSIKGBFdkIKUrSHE+2go1qY8t0JlX7T5RN0EIYoRkqtQlRjbZD3h9ChSMYhUi0dZpB3mUhXLyamS8wY3Tg4/0cW+uy81wki/SS/ME5DH7X81IB0YlQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RFCFTYZMAJIGQH+QKArY2R1Qv/qWHvjZuVpn5aUDLOoJtPAtddeXtHINNZ6P4t9igY5USz9E81qFvIBdGAFVOWnZ1KmkWJXo5f9oB50R5uxfw8dohNtkNnnR5EO3DQRWOzE/4fr6t3fuzlVBmU0YnjL93VmyFfjRqvmBMRdKCDfOw0dYqETFjha1q9r+1pWDO8SK3P3P9oUgVXT61Axn9GUzJn2wvGIeBIBcmtvjd6JB69Y/f4hOJqiAkJMTLD34DEVCi/ox+4wVGbCJdiCzV86sFMP//l2cOC3uyjt+RsyCBOuJu4wX/P8A/UaIaSBlb5AyWBUZPR4UfoV43B/f7Q==
  • Msip_labels:

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
University of Missouri System - MOREnet
  |  (573) 884-2562




Archive powered by MHonArc 2.6.24.

Top of Page