Bug 1957498 - cluster-etcd-operator: policy/v1beta1 PodDisruptionBudget is deprecated in v1.21
Summary: cluster-etcd-operator: policy/v1beta1 PodDisruptionBudget is deprecated in v1.21
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Etcd
Version: 4.8
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.9.0
Assignee: Sam Batschelet
QA Contact: Sandeep
: 1966441 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2021-05-05 21:07 UTC by Sam Batschelet
Modified: 2021-10-18 17:30 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2021-10-18 17:30:57 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift cluster-etcd-operator pull 589 0 None closed Bug 1957498: Update policy.v1beta1 to v1 as it is deprecated in v1.21 2021-05-10 16:41:17 UTC
Github openshift cluster-etcd-operator pull 592 0 None closed Revert "Bug 1957498: Update policy.v1beta1 to v1 as it is deprecated in v1.21" 2021-05-10 16:41:18 UTC
Github openshift cluster-etcd-operator pull 631 0 None Merged Bug 1957498: Clean up tech debt 2021-10-06 17:55:22 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:30:59 UTC

Description Sam Batschelet 2021-05-05 21:07:40 UTC
Description of problem: policy/v1beta1 PodDisruptionBudget is deprecated in v1.21, move to v1.

ref: https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/pr-logs/pull/openshift_cluster-etcd-operator/586/pull-ci-openshift-cluster-etcd-operator-master-e2e-aws-disruptive/1390034764819337216/artifacts/e2e-aws-disruptive/gather-extra/artifacts/pods/openshift-etcd-operator_etcd-operator-567787fcc9-7b96w_etcd-operator.log

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

How reproducible: 100%

Steps to Reproduce:

Actual results: deprecated message spams logs

Expected results: no scary logs

Additional info:

Comment 2 W. Trevor King 2021-05-10 13:12:07 UTC
Seems to be causing trouble with 4.7->4.8 update CI [1]:

  Cluster did not complete upgrade: timed out waiting for the condition: Cluster operator etcd is degraded

[1]: https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-ci-4.8-upgrade-from-stable-4.7-e2e-aws-upgrade/1391669539493646336

Comment 3 Suresh Kolichala 2021-05-11 14:32:10 UTC
Since the original PR is reverted, putting the BZ back to ASSIGNED state.

Comment 6 Sam Batschelet 2021-06-01 19:53:02 UTC
*** Bug 1966441 has been marked as a duplicate of this bug. ***

Comment 9 Sandeep 2021-08-24 15:25:10 UTC
The original PR is reverted. So it's expected to be in assigned state.

Comment 10 Lili Cosic 2021-09-09 07:43:23 UTC
Actually this has been merged as we are using the only policyv1.PodDisruptionBudget -> https://github.com/openshift/cluster-etcd-operator/pull/631

Comment 13 Sandeep 2021-10-05 07:24:41 UTC

Below steps followed to verify : 

[skundu@skundu ~]$ oc get po -n openshift-etcd-operator
NAME                           READY   STATUS    RESTARTS       AGE
etcd-operator-dd7fd669-c4xq4   1/1     Running   1 (138m ago)   141m
[skundu@skundu ~]$ oc logs -n openshift-etcd-operator etcd-operator-dd7fd669-c4xq4 : // No error found.
[skundu@skundu ~]$ oc logs -n openshift-etcd-operator etcd-operator-dd7fd669-c4xq4 | grep "PodDisruptionBudget" 
No occurrence of any error related to "PodDisruptionBudget" was found.

Comment 15 errata-xmlrpc 2021-10-18 17:30:57 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 (Moderate: OpenShift Container Platform 4.9.0 bug fix and security 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.


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