Bug 2000837

Summary: upgrade rbac rules to use v1 APIS for LSO
Product: OpenShift Container Platform Reporter: Priyanka <pjiandan>
Component: StorageAssignee: Priyanka <pjiandan>
Storage sub component: Local Storage Operator QA Contact: Chao Yang <chaoyang>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: aos-bugs
Version: 4.8   
Target Milestone: ---   
Target Release: 4.8.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1995653 Environment:
Last Closed: 2021-09-27 19:53:12 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: 1995653    
Bug Blocks:    

Description Priyanka 2021-09-03 07:00:07 UTC
Description of problem:

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

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:

Master Log:

Node Log (of failed PODs):

PV Dump:

PVC Dump:

StorageClass Dump (if StorageClass used by PV/PVC):

Additional info:

Comment 4 Chao Yang 2021-09-22 10:33:19 UTC
oc get roles local-storage-operator.4.8.0-202109210857 -o yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  creationTimestamp: "2021-09-22T08:36:29Z"
  name: local-storage-operator.4.8.0-202109210857
  namespace: openshift-local-storage
  ownerReferences:
  - apiVersion: operators.coreos.com/v2
    blockOwnerDeletion: false
    controller: true
    kind: OperatorCondition
    name: local-storage-operator.4.8.0-202109210857
    uid: 8fa285e7-87c6-4ec2-b748-844b8cb5e4a7
  resourceVersion: "144189"
  uid: 64ee33aa-c48f-4988-a5c6-811a9eea3124
rules:
- apiGroups:
  - operators.coreos.com
  resourceNames:
  - local-storage-operator.4.8.0-202109210857
  resources:
  - operatorconditions
  verbs:
  - get
  - update
  - patch



oc get csv
NAME                                        DISPLAY         VERSION              REPLACES                                    PHASE
local-storage-operator.4.8.0-202109210857   Local Storage   4.8.0-202109210857   local-storage-operator.4.7.0-202109210902   Succeeded

Comment 6 errata-xmlrpc 2021-09-27 19:53:12 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 Container Platform 4.8.13 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/RHBA-2021:3632