-
Notifications
You must be signed in to change notification settings - Fork 284
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
MacOS DNS regression in 1.5.0 and 1.5.1 #2811
Comments
FWIW, I ran my reproduction steps on a second Macbook, and the see the same behavior. |
@ryfow is the second Macbook also a @jandubois do you think you can reproduce this on your M1 machine? |
Hi, I'm facing to a similar issue in 1.7.0. Steps to Reproduce
Rancher Desktop Version1.4.1, 1.6.2, 1.7.0 Rancher Desktop K8s VersionN/A Which container engine are you using?moby (docker cli) Operating System / Build Version / CPUMacOS Monterey 12.6 (M1 2020) |
This Issue may be a problem about Alpine Linux. I used the following images.
|
@ryfow the issue has been addressed here: lima-vm/lima#1285, therefore, it should be included in our upcoming release. Thank you again for reporting this. |
Awesome! Looking forward to upgrading from 1.4.1 :) |
@Nino-K This appears to still be a problem with Rancher Desktop 1.8. I don't know for sure if the same thing is making my dev environment hang, but I think it's the most likely suspect. Edit: I can't figure out how to reopen. |
I tried my original reproduction steps with 1.8.1 on a work M1 Macbook and a personal M1 Macbook. It's hangs on both and puts qemu into 100% CPU usage. |
@ryfow could your issue possibly be related to this one? lima-vm/lima#1333 |
@Nino-K I don't think it's lima-vm/lima#1333. That bug appears to be talking about Virtualization.Framework. Looks like Rancher Desktop uses qemu. I tried to follow my reproduction steps on lima 0.15, qemu 7.2.1 and The qemu version is different, so I tried copying my system version of qemu-system-aarch64 (7.2.1) into the "Rancher Desktop.app" but that did not help. I still see the hang on Rancher Desktop with the new qemu. |
It's got to be a problem with https://github.com/lima-vm/alpine-lima. When I start a VM with |
As an FYI to anyone else running into this, I've had good results with using the VZ Virtual Machine Type. Things seem way more stable. |
Actual Behavior
With Rancher Desktop 1.5.{0,1} on aarch64 MacOS, I'm seeing qemu-system-aarch64 hang for several minutes at a time in my development environment. The problem appears to be triggered by a process making bursty DNS requests for host.docker.internal. The same development environment works fine on Rancher Desktop 1.4.1.
Steps to Reproduce
This isn't how I found the problem, but I think it reproduces the same underlying issue.
docker run --rm --name crashy-crashy -ti ubuntu:20.04 bash -c 'apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y dnsutils psmisc && while true ; do dig host.docker.internal ; done'
dig
outputdocker exec -ti crashy-crashy bash -c "while true ; do killall dig ; sleep .1 ; done"
Result
I'm seeing the Rancher Desktop qemu VM become unresponsive until I kill the qemu-system-aarch64 process and restart Rancher Desktop.
Expected Behavior
The Rancher Desktop VM should not hang.
Additional Information
No response
Rancher Desktop Version
1.5.1
Rancher Desktop K8s Version
N/A
Which container engine are you using?
moby (docker cli)
What operating system are you using?
macOS
Operating System / Build Version
MacOS Monterey 12.5.1
What CPU architecture are you using?
arm64 (Apple Silicon)
Linux only: what package format did you use to install Rancher Desktop?
N/A
Windows User Only
No response
The text was updated successfully, but these errors were encountered: