-
Notifications
You must be signed in to change notification settings - Fork 733
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
Version of runc CLI cause elastic-operator not to deploy properly #5325
Comments
I'm not able to reproduce, Minikube
Could you share how you setup Thanks |
Hi @barkbay , I'm not sure how skaffold and minikube use runc internally and didn't know that Minikube comes with it's own version of runc. On my system, the runc that is used during deployment phase with Skaffold and Minikube is the one that is installed with All you have to do is update your system runc the way you do it to and check that you have runc 1.1.0 installed. |
Sorry I didn't find the time to work on this one yet. I'll try to setup an environment with that version of |
I have setup an environment with the latest versions of Kubernetes,
I successfully deployed the operator and a small Elasticsearch+Kibana deployment:
The problem does not seem to come from |
Closing due to inactivity. Feel free to reopen if needed. |
This comment was marked as duplicate.
This comment was marked as duplicate.
1 similar comment
Hi @barkbay. I tried to deploy eck again multiple times. Upon ssh logging to minikube v 1.25.2 the runc version is 1.0.2. The runc version in minikube does not reflect the version of runc I have installed in my laptop (currently 1.1.1). These are specs for binaries in minikube:
You seem to be having the newer version of runc and containerd in your minikube. I could not find reason why my version of minikube has different version installed. Anyway, my issue still persists and keeping runc version in my os installation at version 1.0.2 is the only way to not run into this error: WARN[0003] Image "manager" not configured for debugging: unable to determine runtime for "" subtask=-1 task=DevLoop
|
Hello, Up, I get same issue with the version you use @barkbay :
it fails trying to set GOMAXPROCS:
|
RDMA support has been added to runc
I think that runc That being said something I missed is that the RDMA cgroup controller has been introduced in the version 4.11 of the Linux kernel. I'll double check what version of the kernel I've been using. In the meantime it would be helpful if you could run the following commands on both your host and on your K8S nodes:
|
I managed to reproduce the problem and I think I understand the root cause of the issue. I'll explain the problem and post a workaround in a bit. |
The root cause of the problem is that the RDMA cgroup controller has been introduced in version 4.11 of the Linux kernel, but the support for that new controller has only been added in Until a new version of minikube is released, you can create your own minikube docker image with a more recent version of
FROM gcr.io/k8s-minikube/kicbase:v0.0.30@sha256:02c921df998f95e849058af14de7045efc3954d90320967418a0d1f182bbc0b2
RUN curl -sSL --retry 5 --output /tmp/runc "https://github.com/opencontainers/runc/releases/download/v1.1.0/runc.amd64" \
&& mv /tmp/runc /usr/bin/runc \
&& chmod 755 /usr/bin/runc
|
I confirm that fix the issue, thank you for your time @barkbay.
|
Thanks for testing, glad it helps
Sorry, it should be fixed in the original comment I'm closing the issue as it seems to be fixed. |
Hello, I can confirm, that this workaround is working for me. I used different Dockerfile INSTRUCTION - instead of just replacing minikube runc, I updated the whole system with apt:
|
Bug Report
What I did
Tried to deploy sts elastic-operator and CRDs by skaffold using elastic operator/crds .yaml manifests (https://download.elastic.co/downloads/eck/1.9.1/crds.yaml, https://download.elastic.co/downloads/eck/1.9.1/operator.yaml) to local kubernetes cluster created by minikube.
What did you expect to see?
Successful deploy of elastic-operator and CRDs.
What did you see instead? Under which circumstances?
First minikube created local cluster with namespaces, than skaffold tried to deploy elastic resources based on manifests.
Elastic Operator pod went into
CrashLoopBackOff
state and operator's pod stdout returned logs with errors. Pod never recovers from CrashLoopBackOff.Environment
ECK version:
1.9.1
Kubernetes information:
local cluster created by Minikube version: v1.23.2
Cluster parameters it started with:
Deploy provided by Skaffold v1.35.2
Kubectl v
*Cause of bug:
New version of
runc
CLIrunc-1.1.0-1-x86_64
.*How to fix:
It's confirmed that
runc-1.0.2-2-x86_64
is working.The text was updated successfully, but these errors were encountered: