This message was deleted.
# rancher-desktop
a
This message was deleted.
w
So did network tunnel fix their DNS issue and now they are just having issues w kubeconfig?
w
Hey @wide-mechanic-33041! The user is still having issues with updating the kubeconfig.
The user also has Enable networking tunnel in the WSL Preferences enabled, as mentioned in the issue.
w
yup what is in the logs specifically around that function? And did they change any of the base WSL2 functionality like generateResolvConf that would apply to RD? Again there is not much information in that Issue
w
The zipped up logs are just rancher desktop specific logs found in the .....\*rancher-desktop\logs* file path.
On this step : https://github.com/rancher-sandbox/rancher-desktop/issues/1494#issuecomment-1029570650 The user I'm working with just renamed the config and started it up again. Is renaming the config file the same as deleting it? What is preferred in this case?
Good morning, @wide-mechanic-33041. can I please receive some clarification on the step where we need to delete the config file? The user has renamed the config file as config.bak instead of actually deleting it. That should still be sufficient, correct?
w
i mean if its not named config in the .kube path nothing will care about it so its basically the same. renaming just leaves it there in case you wanted to look at a kubeconfig that was seemingly broken
👍🏽 1
w
Thanks, @wide-mechanic-33041. I'll update the user and see if things get resolved.
Hey @wide-mechanic-33041, the user has run through these steps and it's still not working. Is there anything else we should try? Thanks!
w
no ideas given not much to work on here. i would review the logs for RD and see what is happening in the boot process. I still bet you have a networking issue, but pure speculation
w
Hey @wide-mechanic-33041, we have many users who have already installed RD and they're not having any issues. Could there be anything specific on a users machine that would effect the network? This user is on a mac machine and they've already enabled the proxy tunnel for RD.
w
sure any number of environmental things could be at play as each users machine is essentially unique. again look through the logs is the best recommendation
w
This is what I'm seeing in the k8s.log
Copy code
2024-03-13T19:47:27.440Z: Waiting for K3s server to be ready on port 6443...
2024-03-13T19:47:30.568Z: Error: connect ECONNREFUSED 172.29.177.38:6443
This is what I'm seeing in the wsl.log
Copy code
2024-03-13T19:46:02.210Z: Registered distributions: Ubuntu-22.04
2024-03-13T19:46:03.881Z: Registered distributions: Ubuntu-22.04
2024-03-13T19:46:06.929Z: Registered distributions: Ubuntu-22.04,rancher-desktop
2024-03-13T19:46:07.790Z: Registered distributions: Ubuntu-22.04,rancher-desktop
2024-03-13T19:46:07.790Z: Creating initial data distribution...
2024-03-13T19:46:17.788Z: Did not find a valid mount, mounting /mnt/wsl/rancher-desktop/run/data
2024-03-13T19:46:21.538Z: Installing C:\Program Files\Rancher Desktop\resources\resources\linux\internal\trivy as /mnt/c/Program Files/Rancher Desktop/resources/resources/linux/internal/trivy into /usr/local/bin/trivy ...
2024-03-13T19:46:22.427Z: Installing C:\Program Files\Rancher Desktop\resources\resources\linux\internal\rancher-desktop-guestagent as /mnt/c/Program Files/Rancher Desktop/resources/resources/linux/internal/rancher-desktop-guestagent into /usr/local/bin//rancher-desktop-guestagent ...
2024-03-13T19:46:34.469Z: WSL: executing: cat /root/.docker/config.json: Error: wsl.exe exited with code 1
w
is this a mac or windows?
w
This is mac
w
so no wsl on mac? windows subsystem for linux?
w
I think we're trying to work on installing some WSL that is suitable for mac.... that's where we are stumped... and also with the registered distributions (Ubuntu). Not sure why the user is running into these problems. We have many users on macs.
w
wsl is not a mac thing? you can't install wsl on mac... its a feature of windows operating system
you are providing logs from a windows machine.... but saying the user is using a mac
you need to read the logs from the mac and do your testing on a mac.
w
Let me confirm with the user. One moment.
ok, apologies for the confusion. The user is on a windows machine.
w
than it looks like there are other issues with WSL so I would spend the time debugging WSL. RD depends on WSL so if it is broken than Rd will be broken
w
That is where we're stumped. The user has installed WSL so any guidance would be appreciated on where to look. I'm thinking that there should be some logs corresponding to WSL? Perhaps we can provide what we see in there?
w
I'll take a look and update. Thank you!