Skip to content
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

Installer does not install WSL due to new output #7975

Open
mook-as opened this issue Dec 18, 2024 · 1 comment
Open

Installer does not install WSL due to new output #7975

mook-as opened this issue Dec 18, 2024 · 1 comment
Labels
area/installer For the installer, updater and uninstaller. area/wsl WSL integration kind/bug Something isn't working platform/windows release-note
Milestone

Comments

@mook-as
Copy link
Contributor

mook-as commented Dec 18, 2024

Actual Behavior

> wsl --version
The Windows Subsystem for Linux is not installed. You can install by running 'wsl.exe --install'.
For more information please visit https://aka.ms/wslinstall

Press any key to install Windows Subsystem for Linux.
Press CTRL-C or close this window to cancel.
This prompt will time out in 60 seconds.
Operation aborted

Steps to Reproduce

  1. Run an updated Windows 11 without WSL installed.
  2. Try to install Rancher Desktop

Result

WSL is not automatically installed.

Expected Behavior

WSL is installed as part of setup.

Additional Information

In the installer, we do go down the forced elevated path (so it detects that WSL was not installed).

Relevant logs from the installer:

time="2024-12-18T14:28:32-08:00" level=trace msg="Could not get version from wsl --version, trying inbox versions..." error="error running wsl --version: exit status 1"
time="2024-12-18T14:28:32-08:00" level=info msg="WSL install state: Version=0.0.0.0 kernel=0.0.0.0 (outdated-kernel)"

time="2024-12-18T14:31:50-08:00" level=info msg="Installing WSL..."
Action 14:31:50: InstallWSL. Installing Windows Subsystem for Linux...
time="2024-12-18T14:31:51-08:00" level=info msg="The Windows Subsystem for Linux is not installed. You can install by running 'wsl.exe --install'."
time="2024-12-18T14:31:51-08:00" level=info msg="For more information please visit https://aka.ms/wslinstall"
time="2024-12-18T14:31:51-08:00" level=error msg="Installing WSL failed" error="exit status 1"

Note that the install appears to have succeeded.

Rancher Desktop Version

1.17.0-gbc7bc49

Rancher Desktop K8s Version

N/A

Which container engine are you using?

containerd (nerdctl)

What operating system are you using?

Windows

Operating System / Build Version

Windows 11 Pro 24H2 (Build 26100.2605)

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

@mook-as mook-as added kind/bug Something isn't working platform/windows area/installer For the installer, updater and uninstaller. area/wsl WSL integration release-note labels Dec 18, 2024
@gunamata gunamata added this to the 1.17 milestone Dec 19, 2024
@gunamata
Copy link
Contributor

To be release noted for 1.17.
A fix would be targeted for a later release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/installer For the installer, updater and uninstaller. area/wsl WSL integration kind/bug Something isn't working platform/windows release-note
Projects
None yet
Development

No branches or pull requests

2 participants