Bug 1924922 - Cannot create vm snapshot as unprivileged user
Summary: Cannot create vm snapshot as unprivileged user
Keywords:
Status: CLOSED DUPLICATE of bug 1924480
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 2.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Tomas Jelinek
QA Contact: Oded Ramraz
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-03 21:50 UTC by Adam Litke
Modified: 2021-02-04 05:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-04 05:28:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Screenshot of the error (60.80 KB, image/png)
2021-02-03 21:50 UTC, Adam Litke
no flags Details

Description Adam Litke 2021-02-03 21:50:28 UTC
Created attachment 1754897 [details]
Screenshot of the error

Description of problem: When I attempt to create a VM Snapshot from the UI I get an error stating:

An error occurred
virtualmachinesnapshots.snapshot.kubevirt.io "fedora-legislative-beaver-2021-2-3" is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on: , <nil>


Version-Release number of selected component (if applicable): 2.6.0


How reproducible: Always


Steps to Reproduce:
1. Go to a VM's snapshots tab
2. Click create snapshot and fill out the form
3. Click Save

Actual results:
The above error is raised

Expected results:
Snapshot should be created successfully

Additional info:

Comment 1 Adam Litke 2021-02-03 21:55:22 UTC
Snapshot of the same VM works fine when logged in as kubeadmin

Comment 2 Adam Litke 2021-02-03 22:00:01 UTC
Also, I can create a VM Snapshot from the CLI as the same unprivileged user which fails in the UI.

Comment 3 Ying Cui 2021-02-04 05:28:57 UTC

*** This bug has been marked as a duplicate of bug 1924480 ***


Note You need to log in before you can comment on or make changes to this bug.