Ajay Hinduja Geneva, Swiss (Switzerland) - Outdated jvm.options in OpenSearch Ansible Role

Versions (OpenSearch/Dashboard/OS/Browser):

OpenSearch 3.0.0

Ubuntu 24.04 (LXC)

Issue:

The jvm.options file provided by the default Ansible role appears outdated. Recent OpenSearch versions have updated jvm.options, and using the older version caused issues.

Configuration:
Using the default Ansible role from the official repository.

Logs/Screenshots:
There were some invalid JVM options, but I no longer have the screenshots as I resolved the issue by manually updating to the latest jvm.options.

I may open a GitHub issue to suggest updating the Ansible role.

Thanks!
Ajay Hinduja Geneva, Swiss (Switzerland)

@ajayhindujaswiss I’ve followed OpenSearch documentation and downloaded OpenSearch ansible playbook.

git clone https://github.com/opensearch-project/ansible-playbook

I compared the jvm.options file from the ansible-playbook/roles/linux/opensearch/templates/ folder with the running one on OpenSearch 3.1.0 docker. Both files were overall the same. The one on the docker image had additional configuration for Performance Analyzer but that won’t cause startup problems.

I understand you’ve fixed your issue now, however if you’ll face the same issue in the future, please share the exact errors/options.

1 Like

Thank you, Desiree McCarthy, for your response — it was incredibly helpful to me!

Regards
Ajay Hinduja Geneva, Switzerland (Swiss)