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 a snapshot creation displays cancelled message but snapshot is still created #6159

Closed
IsaSih opened this issue Dec 8, 2023 · 1 comment · Fixed by #6164
Closed
Assignees
Milestone

Comments

@IsaSih
Copy link
Contributor

IsaSih commented Dec 8, 2023

Actual Behavior

By canceling a snapshot creation, while the operation is already in progress, the message that confirms that the cancellation occurred is displayed in the UI. However, the snapshot is created and is displayed in the list of snapshots

Steps to Reproduce

  1. Start Rancher Desktop
  2. Via the UI, create a snapshot
  3. While the operation is still in progress, wait for 10 seconds in the progress bar, then hit the Cancel button
  4. Check the UI after canceling the operation

Result

Screenshot 2023-12-08 at 12 19 37 AM
rdctl snapshot ls
NAME                        CREATED                          DESCRIPTION
joinha                      Sat, 04 Nov 2023 02:28:19 PDT    
Snap_2023-12-08_00_18_07    Fri, 08 Dec 2023 00:18:11 PST    
Snap_2023-12-08_00_19_09    Fri, 08 Dec 2023 00:19:12 PST    

Expected Behavior

Cancelling a snapshot creation should not create the snapshot and not display it on the list.

Additional Information

No response

Rancher Desktop Version

1.11.1-407-g4a132d0e

Rancher Desktop K8s Version

1.27.7

Which container engine are you using?

containerd (nerdctl)

What operating system are you using?

macOS

Operating System / Build Version

macOS Ventura 13.5.2

What CPU architecture are you using?

arm64 (Apple Silicon)

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

None

Windows User Only

No response

@IsaSih IsaSih added kind/bug Something isn't working platform/macos priority/0 Work needs to go into the next release or force a patch area/snapshots labels Dec 8, 2023
@IsaSih IsaSih added this to the 1.12 milestone Dec 8, 2023
@jandubois jandubois added release-note and removed priority/0 Work needs to go into the next release or force a patch labels Dec 8, 2023
@jandubois jandubois removed their assignment Dec 8, 2023
@rak-phillip rak-phillip self-assigned this Dec 8, 2023
@IsaSih
Copy link
Contributor Author

IsaSih commented Dec 11, 2023

While testing this issue, I came across the same error found in #6151.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants