Bug 1995635

Summary: [4.8.z clone] OCS is still using deprecated api v1beta1
Product: [Red Hat Storage] Red Hat OpenShift Container Storage Reporter: Mudit Agarwal <muagarwa>
Component: ocs-operatorAssignee: N Balachandran <nibalach>
Status: CLOSED ERRATA QA Contact: Petr Balogh <pbalogh>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.8CC: dmoessne, ebenahar, hnallurv, madam, mbukatov, muagarwa, nibalach, ocs-bugs, pbalogh, ratamir, sostapov, uchapaga, yadu
Target Milestone: ---Keywords: AutomationBackLog, ZStream
Target Release: OCS 4.8.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: v4.8.2-179.ci Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1975581 Environment:
Last Closed: 2021-09-29 15:03:28 UTC Type: ---
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: 1975581    
Bug Blocks:    

Comment 8 Petr Balogh 2021-09-21 14:19:36 UTC
I checked one of the cluster from regression execution:
https://ocs4-jenkins-csb-ocsqe.apps.ocp4.prod.psi.redhat.com/job/qe-deploy-ocs-cluster-prod/1824/
Logs:
http://magna002.ceph.redhat.com/ocsci-jenkins/openshift-clusters/j-034zi3c33-uo/j-034zi3c33-uo_20210915T153048

And see that it's fixed as no events in deprecation.

Also checked one of the mentioned CR in PR:
https://github.com/red-hat-storage/ocs-operator/pull/1287/files

E.g. this one:
https://github.com/red-hat-storage/ocs-operator/pull/1287/files#diff-832c6cc477321036b746d0c4962f1d978bc741efe8032037901b5f1cffc08505R2
ocs-metrics-exporter

kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: ocs-metrics-exporter
  uid: 0a09c042-5b92-45c4-a03f-d776f52c038e
  resourceVersion: '28858'
  creationTimestamp: '2021-09-15T16:35:57Z'
  managedFields:
    - manager: catalog
      operation: Update
      apiVersion: rbac.authorization.k8s.io/v1
      time: '2021-09-15T16:35:57Z'
      fieldsType: FieldsV1
      fieldsV1:
        'f:roleRef':
          'f:apiGroup': {}
          'f:kind': {}
          'f:name': {}
        'f:subjects': {}
subjects:
  - kind: ServiceAccount
    name: ocs-metrics-exporter
    namespace: openshift-storage
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: ocs-metrics-exporter



And can confirm that apiVersion is: rbac.authorization.k8s.io/v1.

Marking as verified

Comment 9 Jose A. Rivera 2021-09-22 22:07:58 UTC
*** Bug 2002287 has been marked as a duplicate of this bug. ***

Comment 15 errata-xmlrpc 2021-09-29 15:03:28 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 (Red Hat OpenShift Container Storage 4.8.2 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:3695