-
Notifications
You must be signed in to change notification settings - Fork 304
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
1.17.0 doesn't work with Mac OS Sequoia 15.2 M4 Pro #8057
Comments
Please provide more information on the individual steps and versions needed to reproduce this. Did this work with an earlier version of Rancher Desktop? Did this work with an earlier version of localstack? Does it work on a different computer? Can you include log files? |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
I'm trying Rancher Desktop for the first time. But it did work on intel mac for my friend. here is what localstack container prints
|
I am also facing a similar issue. I am also on Apple M4 Pro Silicon and on macOs 15.2. I fails on execution against the JVM on versions 21+ My Rancher Desktop environment is:
What I'm trying to do
It fails with:
Anything that runs java fails. It minimally fails with:
tried with other java image providers too, same issue:
jdk 17 works fine
|
This issue is caused by: https://bugs.openjdk.org/browse/JDK-8345296 The issue is reported here too corretto/corretto-21#85. As a workaround, I updated my build scripts to also accommodate optionally setting JAVA_TOOL_OPTIONS when trying to build on m4.
|
@clydeespeno Thank you for these links. The best description I found of the issue is
(copied from https://forum.parallels.com/threads/parallels-desktop-for-mac-computers-with-apple-silicon-m4-chips.365676/page-8#post-936357) We could maybe figure out a workaround for QEMU (by falling back to a generic aarch64 CPU when running on M4, but that will disable any special hardware support from the M4 CPU). But there is nothing we can do for VZ emulation. So I think the best you can do for now is to use the workaround to disable SVE in the Java option, and hope that either Oracle or Apple will provide a fix for this. The way I read the various threads it sounds like Apple only exposed the SVE bit to the host in macOS 15.2, so maybe they will hide it again in 15.3 if the hardware doesn't actually implement SVE support. There doesn't seem to be anything we can reasonably do about this in Rancher Desktop, so I will close this issue. |
Ok finally got it working with x86 image of localstack instead of arm64 image (which was causing the issue) Thank you @jandubois for your response! |
Just commenting that I had the same problem as @vikrantk365 and his solution to use the |
Actual Behavior
Localstack latest container when used with Rancher Desktop 1.17.0 and Mac OD Sequoia 15.2 doesn't work with either QEMU and VZ (with or without Rosetta support), doesn't work. It just prints
Restarting process (received exit code -6)
. This happens with or without enabling Kubernetes. (M4 Pro)Steps to Reproduce
Use testcontainers and localstack with above versions for Rancher Desktop and Mac OS.
Result
Restarting process (received exit code -6)
Expected Behavior
Container should start without error
Additional Information
No response
Rancher Desktop Version
1.17.0
Rancher Desktop K8s Version
[disabled]
Which container engine are you using?
dockerd (moby)
What operating system are you using?
macOS
Operating System / Build Version
macOS Sequoia 15.2
What CPU architecture are you using?
arm64 (Apple Silicon)
Linux only: what package format did you use to install Rancher Desktop?
None
Windows User Only
No response
The text was updated successfully, but these errors were encountered: