-
Notifications
You must be signed in to change notification settings - Fork 308
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
New BuildX Instance fails to execute, with cgroup errors. #5363
Comments
@donovat thanks for raising this issue and helping to make Rancher Desktop better. I can confirm that we are able to repro in Linux on openSUSE Tumbleweed with the provided steps and the following Dockerfile
|
These look to be related: |
I believe I was discussing with @Nino-K about something similar, there was something wrong with the last |
If you notice, the buildx instance that works |
Hi, I am running rancher-desktop on a Mac M1 and I am trying to build a compose file that includes:
When running
I have tried factory reset but that did not resolve the problem. I have also verified that rancher-desktop does not show any errors in the diagnostics page. If I switch do docker desktop it works fine and I can build without any problems. In docker desktop I can see that version v0.12.1 of buildkit is being used, which works fine. |
reverting because of rancher-sandbox/rancher-desktop#5363
From this issue:
Is a workaround. |
I believe this has been fixed by #5400. |
Hi @jandubois - when will the fix be in the main branch? |
The fix is in the main branch already. It will be in the 1.10 release. Here is a maybe better workaround, so you don't need to modify your rdctl shell sudo sed -E -i 's/#(rc_cgroup_mode).*/\1="unified"/' /etc/rc.conf You need to reboot Rancher Desktop after running the command above. It will remain active until you do a factory-reset. |
We have discovered a number of regressions associated with this change, including:
This fix was also not sufficient to fix For that reason we are reverting Rancher Desktop 1.10 back to cgroup v1 and will try to find a better fix. If none of the regressions above matter to you, than this still allows you to switch Rancher Desktop to cgroup v2 locally. Just remember that a factory reset will undo the change. |
Signed-off-by: Jan Dubois <[email protected]>
Skip test until #5363 has been fixed
This is just a workaround until rancher-sandbox#5363 has been fixed. For that reason the hack has been duplicated into each file instead of abstracting it away in the helpers. Signed-off-by: Jan Dubois <[email protected]>
I'm runing rancher desktop version 1.10.0, with dockerd (moby) container engine, on an up to date M1 Ventura 13.6, and still getting the error mentioned in the original post.
I'm using an older "node:14.17.0-alpine3.10" image, and the error is thrown at "RUN apk --no-cache add git==2.25.5-r0 bash=5.0.0-r0" |
This should be fixed as of #5647 because we hacked up the Closing this and moving it to the Verify column for that reason; this should be available in the next release of Rancher Desktop. |
Actual Behavior
A newly created buildx instance, then fails with cgroup errors when trying to perform the build.
Steps to Reproduce
Result
See Error above.
Expected Behavior
If we switch back to the default buildx instance...
Additional Information
Rancher Desktop Version
24.0.2-rd
Rancher Desktop K8s Version
1.9.1
Which container engine are you using?
moby (docker cli)
What operating system are you using?
macOS
Operating System / Build Version
Apple M1 Max - 64GB - macOS - 13.4.1 Ventura
What CPU architecture are you using?
arm64 (Apple Silicon)
Linux only: what package format did you use to install Rancher Desktop?
AppImage
The text was updated successfully, but these errors were encountered: