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

rancher-desktop cli missing in Windows terminal #5112

Closed
ulkas opened this issue Jul 6, 2023 · 3 comments
Closed

rancher-desktop cli missing in Windows terminal #5112

ulkas opened this issue Jul 6, 2023 · 3 comments
Labels
kind/bug Something isn't working triage/by-design The behavior is expected and not a bug

Comments

@ulkas
Copy link

ulkas commented Jul 6, 2023

Actual Behavior

after a generic windows update i suddenly lost the terminals for ubuntu (wsl), rancher-desktop and rancher-desktop-data.
a hint might be that when i opened the wsl terminal from windows menu directly, it prompted me to enter new superuser and password for ubuntu, like it was a fresh installation after the windows update. after that im able to see the ubuntu cli but still no rancher.
reinstalling rancher didnt help. deleting the settings.json in windows terminal also didnt help.
image

Steps to Reproduce

none

Result

access to the rancher-desktop terminal window

Expected Behavior

rancher-desktop shall be listed in the windows terminal list

Additional Information

No response

Rancher Desktop Version

1.9.1

Rancher Desktop K8s Version

1.23.8

Which container engine are you using?

moby (docker cli)

What operating system are you using?

Windows

Operating System / Build Version

windows 10 enterprise 21H2

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

@ulkas ulkas added the kind/bug Something isn't working label Jul 6, 2023
@ulkas
Copy link
Author

ulkas commented Jul 6, 2023

adding output of the wsl --list --verbose command in PS:

image

@mook-as
Copy link
Contributor

mook-as commented Jul 6, 2023

Unfortunately we're not doing anything there (we didn't even add it to Windows Terminal, it just picked it up because it's a WSL distribution). Which is to say, you might need to ask the Windows Terminal folks about it. Sorry about that.

If anything, we need to at some point implement making Windows Terminal skip rancher-desktop-data (since everybody, including our app, should be accessing it via rancher-desktop) anyway…

@mook-as mook-as closed this as not planned Won't fix, can't repro, duplicate, stale Jul 6, 2023
@jandubois
Copy link
Member

If anything, we need to at some point implement making Windows Terminal skip rancher-desktop-data

This has actually been implemented in Windows Terminal now, and is the reason both distros are no longer listed: microsoft/terminal#15166.

So the behaviour reported in this issue is intentional.

The only supported mechanism to run a shell in the rancher-desktop distro is via rdctl shell because that also takes care of setting up the correct network namespace etc.

@jandubois jandubois added the triage/by-design The behavior is expected and not a bug label Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working triage/by-design The behavior is expected and not a bug
Projects
None yet
Development

No branches or pull requests

3 participants