Bug 2025276 - No permissions when trying to clone to a different namespace (as Kubeadmin)
Summary: No permissions when trying to clone to a different namespace (as Kubeadmin)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 4.11.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.11.0
Assignee: Ugo Palatucci
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-21 11:50 UTC by Yaacov Zamir
Modified: 2023-11-13 08:10 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-14 19:28:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Error cloning to new namespace (193.65 KB, image/png)
2021-11-21 11:50 UTC, Yaacov Zamir
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt-ui kubevirt-plugin pull 489 0 None open Bug 2025276: Alert for CloneVMModal 2022-05-30 12:26:05 UTC
Red Hat Issue Tracker CNV-18531 0 None None None 2023-11-13 08:10:40 UTC
Red Hat Product Errata RHSA-2022:6526 0 None None None 2022-09-14 19:28:30 UTC

Description Yaacov Zamir 2021-11-21 11:50:07 UTC
Created attachment 1842892 [details]
Error cloning to new namespace

Description of problem:
When cloning a Virtual Machine and specifying a different namespace and error accrues.


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


How reproducible:


Steps to Reproduce:
1. Open a clone a virtual machine modal
2. Ask for a different namespace
3.

Actual results:
An error:
Error "Authorization failed, message is: User system:serviceaccount:rhodes:default has insufficient permissions in clone source namespace tal-vms" for field "spec.dataVolumeTemplates[0]".

Expected results:
A vm is clonned

Additional info:

Comment 4 Guohua Ouyang 2022-05-17 07:31:54 UTC
Do we need to handle the clone permission on the UI? If yes, let's move the bug to CNV-UX for investigation.

Comment 5 Yaacov Zamir 2022-05-23 13:23:33 UTC
(In reply to Guohua Ouyang from comment #4)
> Do we need to handle the clone permission on the UI? If yes, let's move the
> bug to CNV-UX for investigation.

moving to CNV

Comment 6 Guohua Ouyang 2022-06-02 03:42:22 UTC
Verified on OCP-v4.11.0-39, a message is added in the modal when select a different namespace during clone.
"Make sure to have clone permissions in the destination namespace. Learn more "

Comment 9 errata-xmlrpc 2022-09-14 19:28:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: OpenShift Virtualization 4.11.0 Images security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:6526


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