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
Error during unshare(...): Operation not permitted #1580
Comments
I'm getting the same problem also. Where would I run "echo 2147483647 > /proc/sys/user/max_user_namespaces"? It sounds like this needs to be run on the nodes But even doing that doesn't seem to fix the problem. |
I suspect this is caused by Buildah running into a container runtime that's too much constrained. Could you provide the output of:
and:
Otherwise, what container runtime is used in you cluster. Some context can be found in containers/buildah#1901. A possible work-around would be to use Kaniko instead of Buildah. |
This first command return this:
and the second one returns this:
|
Thanks, that confirms Buildah with the Docker container runtime is the problem. From containers/buildah#1901, it seems a system call, that's forbidden by default with the Docker container runtime, is still necessary when the user has no The only option seems to change the Docker container runtime to use a different seccomp profile, e.g. A work-around is to use other builder strategy, like Kaniko or Spectrum, with |
@astefanutti I think we should create a "troubleshooting" page with this kind of information |
@lburgazzoli right, good idea. I've just created #1595 for it. |
Thanks Guys for responding. I'm a bit confused here. I tried to install camel-k following the operatorhub and this. and I still don't know which one helps me to create the integration. After your response I tried removing the "olm" namespace followed by the But this is what I got after looking for the integrationplatform:
|
@madmesi the |
Documentation has been provided with #1627. Let me close this. Feel free to re-open if needed. |
Description :
my Sample.java camel-k integration on kubernetes failed:
I installed camel -k with command line:
kamel install --registry=myregistry.example.com --force
I used to have this error in the (error state) pod:
Error:
after doing
echo 2147483647 > /proc/sys/user/max_user_namespaces
on all nodes error changed to:Error:
Is there something that I've missed?
Thanks in advance for helping.
The text was updated successfully, but these errors were encountered: