Open ameleniki opened 4 months ago
Would you be able to enable debug logging, restart Rancher Desktop (to trigger the error again), then upload the full logs? The log snippets you have included do not quite say what the error output was.
Thanks!
Would you be able to enable debug logging, restart Rancher Desktop (to trigger the error again), then upload the full logs? The log snippets you have included do not quite say what the error output was.
Thanks!
2024-07-30T17:05:43.029Z: Registered distributions: rancher-desktop,rancher-desktop-data
2024-07-30T17:05:44.293Z: Registered distributions: rancher-desktop,rancher-desktop-data
2024-07-30T17:05:45.579Z: Registered distributions: rancher-desktop,rancher-desktop-data
2024-07-30T17:05:46.982Z: Registered distributions: rancher-desktop,rancher-desktop-data
2024-07-30T17:05:46.983Z: data distro already registered
2024-07-30T17:06:14.815Z: Did not find a valid mount, mounting /mnt/wsl/rancher-desktop/run/data
2024-07-30T17:06:28.152Z: 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-07-30T17:06:28.297Z: 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-07-30T17:06:51.936Z: WSL: executing: wslpath -a -u C:\Program Files\Rancher Desktop\resources\resources\linux\internal\vtunnel: Error: wsl.exe exited with code 3221225477
2024-07-30T17:06:51.937Z: Error trying to create/update docker credential files: c [Error]: wsl.exe exited with code 3221225477
at ChildProcess.<anonymous> (C:\Program Files\Rancher Desktop\resources\app.asar\dist\app\background.js:2:156858)
at ChildProcess.emit (node:events:513:28)
at Process.onexit (node:internal/child_process:291:12) {
command: [
'wsl.exe',
'--distribution',
'rancher-desktop',
'--exec',
'wslpath',
'-a',
'-u',
'C:\\Program Files\\Rancher Desktop\\resources\\resources\\linux\\internal\\vtunnel'
],
stdout: '',
code: 3221225477,
[Symbol(child-process.command)]: 'wsl.exe --distribution rancher-desktop --exec wslpath -a -u C:\\Program Files\\Rancher Desktop\\resources\\resources\\linux\\internal\\vtunnel'
}
2024-07-30T17:06:52.556Z: WSL: executing: wslpath -a -u C:\Users\AMELEN~1\AppData\Local\Temp\rd-config.toml-QnIbBN\config.toml: Error: wsl.exe exited with code 3221225477
2024-07-30T17:06:59.129Z: WSL: executing: busybox chmod 644 /etc/cni/net.d/10-flannel.conflist: Error: wsl.exe exited with code 3221225477
2024-07-30T17:07:07.401Z: WSL: executing: /bin/wslpath -w /etc/conf.d/moproxy: Error: wsl.exe exited with code 3221225477
Is that wsl.log
? wsl-exec.log
is more likely to have the relevant details. Though it's confusing that Error trying to create/update docker credential files is complaining about vtunnel
, but whatever…
The error code is 0xc0000005
, which is possibly STATUS_ACCESS_VIOLATION
or ERROR_ACCESS_DENIED
(depending on context); can you try running that command manually and see what errors you get? That is, wsl.exe --distribution rancher-desktop --exec wslpath -a -u C:\Program Files\Rancher Desktop\resources\resources\linux\internal\vtunnel
— I wouldn't have expected that error code from either given that it converted the path for rancher-desktop-guestagent
successfully just before…
Are you running any interesting endpoint protection software / anti-virus / etc.?
Actual Behavior
When attempting to start Kubernetes on Rancher Desktop 1.14.1 (win32 x64), the process fails with an error indicating that wsl.exe exited with code 3221225477. The error occurs during the updating of the DNS configuration.
Steps to Reproduce
Result
The Kubernetes startup process fails, and the following error message is displayed:
Error: wsl.exe exited with code 3221225477 Last command run: wsl.exe --distribution rancher-desktop --exec busybox cp /mnt/c/Users/AMELEN~1/AppData/Local/Temp/rd-data-resolv-conf-PuxqPz/data-resolv-conf /etc/dnsmasq.d/data-resolv-conf
Additional log details:
2024-07-29T14:10:43.082Z: Registered distributions: rancher-desktop,rancher-desktop-data 2024-07-29T14:10:44.527Z: Registered distributions: rancher-desktop,rancher-desktop-data 2024-07-29T14:10:46.032Z: Registered distributions: rancher-desktop,rancher-desktop-data 2024-07-29T14:10:47.313Z: Registered distributions: rancher-desktop,rancher-desktop-data 2024-07-29T14:10:47.313Z: data distro already registered 2024-07-29T14:11:16.620Z: WSL: executing: busybox cp /mnt/c/Users/AMELEN~1/AppData/Local/Temp/rd-data-resolv-conf-PuxqPz/data-resolv-conf /etc/dnsmasq.d/data-resolv-conf: Error: wsl.exe exited with code 3221225477 2024-07-29T14:11:16.627Z: Failed to copy existing resolv.conf
Expected Behavior
Kubernetes should start successfully without any errors, and the DNS configuration should be updated correctly.
Additional Information
No response
Rancher Desktop Version
1.14.1
Rancher Desktop K8s Version
1.28.7
Which container engine are you using?
moby (docker cli)
What operating system are you using?
Windows
Operating System / Build Version
Windows 11
What CPU architecture are you using?
x64
Linux only: what package format did you use to install Rancher Desktop?
None
Windows User Only
No response