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.
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.