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

Cancelling snapshot does not restart backend #7950

Open
mook-as opened this issue Dec 16, 2024 · 0 comments
Open

Cancelling snapshot does not restart backend #7950

mook-as opened this issue Dec 16, 2024 · 0 comments
Labels
area/snapshots kind/bug Something isn't working platform/windows qase Issue is related to manual test in Qase

Comments

@mook-as
Copy link
Contributor

mook-as commented Dec 16, 2024

Actual Behavior

When creating a snapshot, the user may cancel the snapshot process. Doing so does not appear to restart the backend, so Rancher Desktop is non-functional until the user exits and restarts Rancher Desktop.

Steps to Reproduce

  1. Create a snapshot from the UI
  2. Once the backend shuts down (the progress bar goes away), hit the cancel button in the snapshot creation dialog.
  3. Once everything has settled, attempt to use the container engine (either nerdctl ps or docker ps

Result

There was no error dialog, but Rancher Desktop appears to be non-functional. The status bar indicates that there was an issue:
image

Expected Behavior

Upon cancelling the snapshot, the backend should restart.

Additional Information

This may be related to #7940.

background.log snippet:
2024-12-16T21:21:02.787Z: Stopping background process Win32 socket proxy (pid <none>).
2024-12-16T21:21:07.935Z: UnhandledRejectionWarning: c [Error]: wsl.exe exited with code 1
    at ChildProcess.<anonymous> (C:\Users\Bob\AppData\Local\Programs\Rancher Desktop\resources\app.asar\dist\app\background.js:2:185435)
    at ChildProcess.emit (node:events:519:28)
    at ChildProcess._handle.onexit (node:internal/child_process:294:12) {
  command: [
    'wsl.exe',
    '--distribution',
    'rancher-desktop',
    '--exec',
    '/usr/bin/killall',
    '-q',
    '/usr/local/bin/network-setup'
  ],
  code: 1,
  [Symbol(child-process.command)]: 'wsl.exe --distribution rancher-desktop --exec /usr/bin/killall -q /usr/local/bin/network-setup'
}
2024-12-16T21:21:13.712Z: Stopping background process Win32 socket proxy (pid <none>).

Rancher Desktop Version

1.17.0-hackweek-release-254-g77398647d (1.17.0-RC1)

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 23H2 (Build 22631.4602)

What CPU architecture are you using?

x64

Linux only: what package format did you use to install Rancher Desktop?

None

Windows User Only

Found as part of Qase test RD-173.

@mook-as mook-as added kind/bug Something isn't working platform/windows area/snapshots qase Issue is related to manual test in Qase labels Dec 16, 2024
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

No branches or pull requests

1 participant