-
Notifications
You must be signed in to change notification settings - Fork 283
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
M3 Max Sonoma 14.1, virtual machine won't start unless Virt Framework selected #5943
Comments
Hard to say what is going on without looking at the logs. Anything interesting in there, or can you upload them? |
I just installed Rancher Desktop on a new Macbook Pro M3 Max. I kept on getting connection errors like these Then came across lima-vm/lima#1951 which talked about enabling VZ by default. I switched the emulation setting from QEMU to VZ (with Rosetta support), and BOOM it worked for me! |
@jandubois Here's the log from my
|
I don't understand: that log looks like you are using VZ and it seems to succeed. So it doesn't seem to be from when you were getting errors using QEMU. |
@jandubois must be because I copied the log after switching to VZ 🤦♂️. I will undo everything and get you the error logs in just a bit. |
@jandubois I emailed you a link to all the logs I get during the error, just in case it has any personal information. |
This looks like another instance of lima-vm/lima#1996 From your
Which looks like an issue in QEMU. |
Currently rancher 1.12.0 has a known issue causing m3 macs not to work with qemu: ![image](https://github.com/ConsultingMD/homebrew-ih-public/assets/67805647/95b09031-1f52-4443-a932-c7d2fc9cc8e8) @mabel-luo recently had to switch from qemu to vz manually after encountering this issue: rancher-sandbox/rancher-desktop#5943 (comment) This PR automatically switches the development profile from qemu to vz if the user is on at least macOS 13.3 and an M3 mac.
For the benefit of other M3 users viewing this issue for help, I also ran into this problem (latest RD version, Digging further I noticed that there were some rogue Rancher Desktop processes still running, even after quitting RD, so for whatever reason the restart process did not work properly (a colleague had exactly the same issue - both same version Edit: FYI this was from a clean install on Sonoma 14.2.1, I hadn't previously run RD. |
You can do the cleanup with a factory reset:
|
This worked for me on Mac M3, thanks @joehorsnell |
I wish to report that the issue experienced on M3 chip are also seen with M2-Pro. Chip: M2-Pro Same behaviour I believe. Diagnostics pane says all pass, qemu starts, but ssh atttempts into vm all fail with ec=1 - after a timeout an error dialog appears as reported in #6527 Switching to VZ works - although a reboot or manual kill of the qemu process is required as mentioned in earlier comments |
@virtualpeter Rancher Desktop 1.13.0 was released a couple of days ago, which fixed this issue for me on an M3 Pro. I recommend trying that version. |
EDIT2: ignore me - 1.13.0 works with qemu on both M2Pro and M3 devices. theres an issue with rancher desktop and the way i delever software to macs in my workplace which may get to be its own issue one day, but its not this one. |
This works perfectly Thank |
This issue has been fixed in 1.13.0 |
Actual Behavior
Just upgraded to an M3 Mac, tried installing rancher it seemed fine. But in default setup it hangs. Because of how it hangs you can't actually go and change environment settings and have them apply, you need to go shutdown rancher and restart it.
I selected all of the VirtFramework options, didn't try with individual settings.
I would also note that I have installed 1.11.0 on an m1 Mac with Sonoma 14.1 and it launches in the same config ive been using on it for a while.
Steps to Reproduce
Install on M3 Mac and try to launch.
Result
hangs.
Expected Behavior
launch
Additional Information
No response
Rancher Desktop Version
1.11.0
Rancher Desktop K8s Version
1.27.7 and 1.27.6
Which container engine are you using?
moby (docker cli)
What operating system are you using?
macOS
Operating System / Build Version
Sonoma 14.1
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: