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

Windows 11: Rancher Desktop Crashes During Create/restore snapshot when app is not running #5846

Closed
Tracked by #5876
rak-phillip opened this issue Oct 26, 2023 · 4 comments · Fixed by #6059
Closed
Tracked by #5876
Assignees
Labels
area/snapshots kind/bug Something isn't working platform/windows qase Issue is related to manual test in Qase
Milestone

Comments

@rak-phillip
Copy link
Contributor

Steps to reproduce

  1. Shutdown Rancher Desktop
  2. After shutdown is complete, via CLI, create a snapshot by running rdctl snapshot create ABC
  3. AND start the application WHILE THE OPERATION IS STILL IN PROGRESS

Expected Result

When starting the application, the application's UI must be locked and needs to inform that the snapshot operation is in progress and the VM is still to start.

Actual Result

Rancher Desktop starts, the UI is locked and informs that the snapshot is in progress, and a Kubernetes Error is raised.

Closing the Kubernetes Error dialog leaves Rancher Desktop in a locked state with no way to dismiss the "Snapshot operation in progress" dialog.

Additional Information

Test Case RD-178: Create/restore snapshot when app is not running

Error Starting Kubernetes

Error: wsl.exe exited with code 4294967295

Some recent logfile lines

2023-10-26T20:26:33.653Z: Registered distributions: rancher-desktop-data
2023-10-26T20:26:33.796Z: Registered distributions: rancher-desktop-data
2023-10-26T20:26:33.854Z: WSL failed to execute wsl.exe --import rancher-desktop C:\Users\phillip\AppData\Local\rancher-desktop\distro C:\Program Files\Rancher Desktop\resources\resources\win32\distro-0.50.tar --version 2: Error: wsl.exe exited with code 4294967295

Screenshots

image

image

@mook-as
Copy link
Contributor

mook-as commented Oct 27, 2023

I think I saw this (but couldn't reproduce again); that was from wsl --import complaining that the distribution already exists. I assume that's a race between the snapshot deleting the distro, the UI checking if it exists, the snapshot restoring it, and the UI trying to register a new distribution.

@jandubois jandubois added this to the 1.12 milestone Oct 30, 2023
@gunamata gunamata added the qase Issue is related to manual test in Qase label Oct 30, 2023
@gaktive
Copy link
Contributor

gaktive commented Nov 15, 2023

Sounds related to #5849 which also requires discussion.

@gaktive gaktive added the triage/need-to-repro Needs to be reproduced by dev team label Nov 15, 2023
@gaktive
Copy link
Contributor

gaktive commented Nov 17, 2023

@rak-phillip to try to repro this again.

@IsaSih
Copy link
Contributor

IsaSih commented Dec 11, 2023

While trying to repro this issue, found #6163. Will move this issue to done but will mention it in #6163 to keep a track of this, as it's a different error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/snapshots kind/bug Something isn't working platform/windows qase Issue is related to manual test in Qase
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants