-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
ECK: Init container - install-plugins CrashLoopBackoff #55443
Comments
Edit: transfered it back to the Elasticsearch repo. Sorry for the confusion. I initially misread the first post. |
Pinging @elastic/es-core-infra (:Core/Infra/Plugins) |
Maybe we should change the title - the TL/DR on this is to change "install plugins" so it doesn't error if the same plugin version is already installed. |
I have create the following workaround for now:
|
What is also strange is the following:
|
This issue looks like a duplicate of The plan for that issue is to add a flag like I'm going to close this issue in favor of the other one, but please let me know if this is not in fact a duplicate. |
It's actually a duplicate of #61385 |
thanks for that, I was about to ask |
@an-tex Thanks for the correction! That was the link I meant to paste, rather than saying that this issue is a duplicate of itself. |
While solved in general, is not yet available for Operator, see elastic/cloud-on-k8s#5145 |
Elasticsearch version (
bin/elasticsearch --version
): 7.6.2Plugins installed: [repository-azure, repository-s3]
JVM version (
java -version
):OS version (
uname -a
if on a Unix-like system): CentOS 7.7 - Linux 5-21-282-887-1-2338c741 5.6.2-1.el7.elrepo.x86_64 #1 SMP Thu Apr 2 10:55:54 EDT 2020 x86_64 x86_64 x86_64 GNU/LinuxDescription of the problem including expected versus actual behavior:
On our DEV Cluster we do have an issue with the init container "install-plugins". It appears when resuming the cluster. As the DEV-Cluster runs in the cloud, we suspend the nodes between 9pm and 6am. Since adding the init container to the ECK deployment, however the elastic pod stuck in
Init:CrashLoopBackOff
. From the logs I can see the following:Logs of the init container - install-plugins:
Steps to reproduce:
Please include a minimal but complete recreation of the problem, including
(e.g.) index creation, mappings, settings, query etc. The easier you make for
us to reproduce it, the more likely that somebody will take the time to look at it.
What I would expect:
Maybe it would be better, if the install command checks and if the same version is already installed, and if so ends with a INFO message saying already installed, instead of an error. Otherwise, we need to build a condition that checks if the plugin is already installed before running the install command.
The text was updated successfully, but these errors were encountered: