Bug 1995635 - [4.8.z clone] OCS is still using deprecated api v1beta1
Summary: [4.8.z clone] OCS is still using deprecated api v1beta1
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Container Storage
Classification: Red Hat Storage
Component: ocs-operator
Version: 4.8
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: OCS 4.8.2
Assignee: N Balachandran
QA Contact: Petr Balogh
URL:
Whiteboard:
: 2002287 (view as bug list)
Depends On: 1975581
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-19 14:15 UTC by Mudit Agarwal
Modified: 2021-12-06 10:18 UTC (History)
13 users (show)

Fixed In Version: v4.8.2-179.ci
Doc Type: No Doc Update
Doc Text:
Clone Of: 1975581
Environment:
Last Closed: 2021-09-29 15:03:28 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift ocs-operator pull 1287 0 None None None 2021-08-19 14:18:40 UTC
Github openshift ocs-operator pull 1317 0 None None None 2021-08-30 08:48:01 UTC
Red Hat Product Errata RHBA-2021:3695 0 None None None 2021-09-29 15:03:39 UTC

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


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