Bug 2172044

Summary: Virtualization -> Settings fails for cluster-reader role
Product: Container Native Virtualization (CNV) Reporter: Petr Horáček <phoracek>
Component: User ExperienceAssignee: Tal Nisan <tnisan>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.12.0CC: gouyang, tnisan
Target Milestone: ---   
Target Release: 4.12.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-29 17:36:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2166508    
Bug Blocks:    

Description Petr Horáček 2023-02-21 09:54:12 UTC
Description of problem:
The Settings tab in Virtualization Overview fails for a cluster-reader.

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

How reproducible:
Always

Steps to Reproduce:
1. Be a user with cluster-reader role
2. Go to Virtualization -> Overview -> Settings

Actual results:
It fails with:
  Oh no! Something went wrong.
  Description:
    Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=a%3A%20network-attachment-definitions.k8s.cni.cncf.io%20is%20forbidden%3A%20User%20%22phoracek%40redhat.com%22%20cannot%20list%20resource%20%22network-attachment-definitions%22%20in%20API%20group%20%22k8s.cni.cncf.io%22%20at%20the%20cluster%20scope for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

Full trace available in attachments.

Expected results:
It should not fail.

Additional info:

Comment 3 Guohua Ouyang 2023-02-21 10:04:53 UTC
Hi Tal,
Do we need to backport the fix of #2166508 to 4.12.z?

Comment 13 errata-xmlrpc 2023-03-29 17:36:10 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 (OpenShift Virtualization 4.12.2 Images), 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/RHEA-2023:1523

Comment 14 Red Hat Bugzilla 2023-09-19 04:33:52 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days