-
Notifications
You must be signed in to change notification settings - Fork 301
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
Upgrading to from Rancher 1.16.0 => 1.17.0 cannot pull docker images from internal docker repository when connected to company VPN #8055
Comments
@jwhitmore-fleetresponse thanks for reporting this. Are you able to attach the logs from the guestAgent? |
I think the issue is more than just not working with a VPN. The DNS seems really broken, it's broken in different ways depending on whether you have dnsTunneling=true and whether networkMode=mirrored or not. In trying to find a way to get DNS to work properly I basically tried every configuration of
Ultimately I didn't not find a combination where all the DNS functionality works. Sometimes it can pull containers, sometimes not. Sometimes the container will be able to resolve Internet addresses even if Docker can't pull a container, but it can't resolve VPN addresses. Sometime the Rancher Desktop WSL instance can only resolve DNS on the Internet, sometimes the internet and the VPN, sometime nothing at all. The biggest consistency is that I could never get a container to be able to resolve a DNS on the VPN, even if the underlying Rancher Desktop instance can. I documented everything and grabbed logs from each combination if you'd like me to add them. |
We are seeing the same issue on macOS when upgrading from 1.16.0 to 1.17.0 |
@evilhamsterman could kindly attach your logs? Many thanks |
We are facing this same problem. Likely related to this Lima issue: lima-vm/lima#3101 |
I can confirm that the issue is caused by the recent version bump of the gvisor-tap-vsock library to v0.8.1 as part of v1.17.0 release. To resolve this, we will need to downgrade it back to v0.7.5 and prepare a patch release. Thank you for bringing this to our attention. I'll keep you updated with any further developments. |
Fix seems to be in gvisor-tap-vsock 0.8.2 now(containers/gvisor-tap-vsock#450). |
Unfortunately that release seems to only fix the issues on macOS and Linux, but not the Windows problems. In order to get 1.17.1 out we'll have to downgrade to 0.7.5 on Windows (but will upgrade to 0.8.2 on macOS and Linux). Hopefully the root cause on Windows can be found and fixed in time for 1.18.0. |
We are planning to release patch version 1.17.1 to address this issue. The root cause was an upgrade of gvisor-tap-vsock to v0.8.1. As part of the fix, we have downgraded it to v0.7.5, which should resolve the problem. |
Actual Behavior
Upgrading to Rancher Desktop 1.17.0 my team and I get the following error when trying to connect to our internal docker repository
Error response from daemon: Get https://ourlocalrepositoryname/v2/%22: dial tcp: lookup ourlocalrepositoryname on 192.168.127.1:53: no such host
Login failed.
Steps to Reproduce
Upgrade to Rancher 1.17.0 from 1.16.0
Result
Upgrading to Rancher Desktop 1.17.0 my team and I get the following error when trying to connect to our internal docker repository
Error response from daemon: Get https://ourlocalrepositoryname/v2/%22: dial tcp: lookup ourlocalrepositoryname on 192.168.127.1:53: no such host
Login failed.
Expected Behavior
Be able to connect to repository just like in version 1.16.0
Additional Information
When my team and I downgrade to 1.16.0 we no longer have the issues and everything works fine
Rancher Desktop Version
1.17.0
Rancher Desktop K8s Version
1.31.4
Which container engine are you using?
moby (docker cli)
What operating system are you using?
Windows
Operating System / Build Version
Windows 11 Enterprise v 10.0.26100
What CPU architecture are you using?
x64
Linux only: what package format did you use to install Rancher Desktop?
N/A
Windows User Only
using OpenVPN v2.6.12
The text was updated successfully, but these errors were encountered: