Skip to content
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 /proc/sys/user/max_user_namespaces needs to be set to non-zero #19

Closed
hugobritobh opened this issue May 11, 2023 · 3 comments
Closed
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation wontfix This will not be worked on

Comments

@hugobritobh
Copy link
Contributor

hugobritobh commented May 11, 2023

EKS 1.26
Image: Jammy

I did a quick test and got the following error (folder ***) :

time="2023-05-11T12:27:57Z" level=warning msg="/proc/sys/ *** /max_ *** _namespaces needs to be set to non-zero."
error: failed to list workers: Unavailable: connection error: desc = "transport: error while dialing: dial unix /run/ *** /0/buildkit/buildkitd.sock: connect: no such file or directory"

@clemlesne
Copy link
Owner

clemlesne commented May 11, 2023

I need more details from you:

  • Your values.yaml config file
  • Full logs
  • Custom configuration of the Kubernetes Node, if any

Note, seems related to:

Possible resolution:

The issue with this configuration seems to be known for AWS Linux image, Bottlerocket.

It seems required to change the configuration of the node by setting user.max_user_namespaces configuration to a larger level.

Can you try to apply this config?

@clemlesne clemlesne self-assigned this May 11, 2023
@clemlesne clemlesne added the bug Something isn't working label May 11, 2023
@hugobritobh
Copy link
Contributor Author

With this config it worked fine

@clemlesne clemlesne added documentation Improvements or additions to documentation wontfix This will not be worked on labels May 11, 2023
@clemlesne
Copy link
Owner

clemlesne commented May 11, 2023

I added details in the doc, see: b62a83d.

@clemlesne clemlesne changed the title Version 5.2.1 Error /proc/sys/user/max_user_namespaces needs to be set to non-zero May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants