I am installing Opensearch 2.11.1 on AKS (Kubernetes) with a pretty custom setup and everything seems to be working relatively okay (small fires I am slowly putting out), except custom log files.
In my opensearch.yml file, I have set: path.logs: /usr/share/persistent_file_share/opensearch/logs/node1
And in the STDOUT/STDERR I see this (I removed the custom cluster name): For complete error details, refer to the log at /usr/share/persistent_file_share/opensearch/logs/node1/opensearch-cluster.log
Here is the interesting bit:
the Kubernetes mount is /usr/share/persistent_file_share
the directory opensearch/logs/node1 is being created (!)
there is no log file generated
Since the sub-directory is being created, both the path.logs setting and the rights on the mount must be correct.
Why is it not generating / writing the log file?
This is probably a really silly question. Be gentle.
Seriously though, I do get a lot in STDOUT and STDERR, so surely there should be details in the log file. That there is no log file is definitely an issue.