-
Notifications
You must be signed in to change notification settings - Fork 2.1k
[BUG] 3.0.0 fails to start on Debian due to boostrap checks #18273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Does opensearch.service need to be updated? |
andon-lengyel could you also help us with the version of s |
I think the issue is this. |
@RajatGupta02 That can't be my issue because I'm trying to upgrade a cluster from 2.x to 3.x.
Two work-around worked for me:
|
the new |
Did the workaround mentioned before work for you? We would recommend you to try the workaround rather bypassing the |
For my test server that I setup just for this, setting |
@landon-lengyel we will evaluate the implications of adding |
We are not able to repro the issue with latest DEBIAN Ubuntu X86 running systemd version 255.
|
Which version of Debian did you use that had systemd 255? Here is a new config I created to test with a cluster. It is experiencing the same issue:
|
I can repro on Ubuntu 24.10 with systemd 256.
|
New repro with systemd 255 on Ubuntu 24.04:
|
We were able to reproduce it, and we are identifying a fix. |
I'm able to reproduce the same issue on AlmaLinux 9.5, systemd 252, using RPM package of OpenSearch 3.0.0
By adding |
@RajatGupta02 let's publish the change to include |
As of systemd 252, see output of So only In the comment, |
@inntran we want to be explicit because we don't know what version of systemd would be installed on client machines. |
May I suggest we separate seccomp and mincore from others, as they are very likely to be included in system-service already, e.g. two lines of SystemCallFilter. |
yeah sure. makes sense. |
#18309 is merged, let's us know if the issue is fixed. |
My test and production environment seem to start fine with that new service file. Thank you for tackling this one so quickly! I hope to see the repos updated with it soon. |
I will circle back on this GH issue once I have information: if there's a plan to release a patch version for 3.0. |
Not sure if its related, but I saw a forum post on debian startup issues: https://forum.opensearch.org/t/problem-installing-opensearch-on-debian-in-lxc-unprivileged-container/24344?u=cwperks |
This seems to be due to a custom path |
Describe the bug
Hi,
I have found (both on my install, and on a clean install) that OpenSearch fails to start on Debian 12 when using version 3.0.0 and utilizing the
network.host: 0.0.0.0
optionThe
network.host: 0.0.0.0
option appears to cause a "bootstrap check" to run during start (not a whole lot of OpenSearch documentation about what this is, or how to work with it).With
network.host: 0.0.0.0
the only way I can find to actually start the service is by editing/lib/systemd/system/opensearch.service
and addingseccomp
to the line:SystemCallFilter=madvise mincore mlock mlock2 munlock get_mempolicy sched_getaffinity sched_setaffinity fcntl
Thank you for your help.
Related component
Other
To Reproduce
opensearch.yml
to include the option:network.host: 0.0.0.0
this will cause the boostrap check to run.Expected behavior
OpenSearch start successfully, or at least gives some indication of how to fix the issue. It's unclear what the issue even is to me. Am I not supposed to use
0.0.0.0
? Am I expected to addseccomp
to the SystemD option? Or is this just a bug?Additional Details
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Log:
The text was updated successfully, but these errors were encountered: