Description of problem: dataimportcrons and objecttransfers (maybe others?) are missing from the admin/edit/view aggregated cluster roles Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. log in as cluster_reader or admin of a namespace 2. oc get dataimportcrons 3. see rbac error Actual results: Should have appropriate permissions Expected results: Additional info:
also missing cluster-readers role for: cdiconfigs.cdi.kubevirt.io datasources.cdi.kubevirt.io objecttransfers.cdi.kubevirt.io storageprofiles.cdi.kubevirt.io
Verified with the following code: ----------------------------------------------- oc version Client Version: 4.10.0-202204291519.p0.g09f825e.assembly.stream-09f825e Server Version: 4.10.12 Kubernetes Version: v1.23.5+70fb84c oc get csv -n openshift-cnv NAME DISPLAY VERSION REPLACES PHASE kubevirt-hyperconverged-operator.v4.10.1 OpenShift Virtualization 4.10.1 kubevirt-hyperconverged-operator.v4.10.0 Succeeded Verified with the following scenario: ----------------------------------------------- oc adm policy who-can get cdiconfigs.cdi.kubevirt.io |grep system:cluster-readers system:cluster-readers [cnv-qe-jenkins@c01-jp4101-xxkzb-executor cnv-tests]$ oc adm policy who-can get objecttransfers.cdi.kubevirt.io |grep system:cluster-readers system:cluster-readers [cnv-qe-jenkins@c01-jp4101-xxkzb-executor cnv-tests]$ oc adm policy who-can get storageprofiles.cdi.kubevirt.io |grep system:cluster-readers system:cluster-readers [cnv-qe-jenkins@c01-jp4101-xxkzb-executor cnv-tests]$ oc adm policy who-can get dataimportcrons.cdi.kubevirt.io |grep system:cluster-readers system:cluster-readers [cnv-qe-jenkins@c01-jp4101-xxkzb-executor cnv-tests]$ oc adm policy who-can get datasources.cdi.kubevirt.io |grep system:cluster-readers system:cluster-readers Moving to VERIFIED!
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 (Moderate: OpenShift Virtualization 4.10.1 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:4668