Bug 1768766 - e2e tests are hitting deprecated extensions/v1beta1
Summary: e2e tests are hitting deprecated extensions/v1beta1
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: kube-controller-manager
Version: 4.3.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 4.4.0
Assignee: Tomáš Nožička
QA Contact: zhou ying
URL:
Whiteboard:
: 1806965 (view as bug list)
Depends On:
Blocks: 1771247
TreeView+ depends on / blocked
 
Reported: 2019-11-05 08:41 UTC by Tomáš Nožička
Modified: 2023-09-07 20:55 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1771247 (view as bug list)
Environment:
Last Closed: 2020-05-04 11:14:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift origin pull 24089 0 'None' closed Bugs 1768766: Migrate deprecated apis to apps/v1 2020-08-25 09:43:10 UTC
Red Hat Product Errata RHBA-2020:0581 0 None None None 2020-05-04 11:15:11 UTC

Description Tomáš Nožička 2019-11-05 08:41:28 UTC
Description of problem:

sum(sum_over_time(apiserver_request_count{group="extensions",version="v1beta1",resource!~"ingresses|",client!~"hyperkube/.*|cluster-policy-controller/.*"}[2d])) by (client, group, version, resource)


{client="kubectl/v0.0.0 (linux/amd64) kubernetes/$Format",group="extensions",resource="deployments",version="v1beta1"}	320
{client="oc/v0.0.0 (linux/amd64) kubernetes/$Format",group="extensions",resource="deployments",version="v1beta1"}	84
{client="oc/v0.0.0 (linux/amd64) kubernetes/$Format",group="extensions",resource="daemonsets",version="v1beta1"}	1
{client="oc/v0.0.0 (linux/amd64) kubernetes/$Format",group="extensions",resource="replicasets",version="v1beta1"}	1
{client="openshift-tests/v1.16.2 (linux/amd64) kubernetes/8197733",group="extensions",resource="replicasets",version="v1beta1"}	790


Alerts will be fired as a result.

Comment 1 Maciej Szulik 2019-11-14 12:19:14 UTC
https://github.com/openshift/origin/pull/24089 merged moving to modified

Comment 3 zhou ying 2019-11-21 07:48:14 UTC
Confirmed with payload: 4.3.0-0.nightly-2019-11-19-122017, when use prometheus could not see  client="openshift-tests/v1.16.2 again. and could see alert from the webconsole: UsingDeprecatedAPIExtensionsV1Beta1

{client="oc/v0.0.0 (linux/amd64) kubernetes/$Format",group="extensions",resource="deployments",version="v1beta1"}	7296
{client="oc/v0.0.0 (linux/amd64) kubernetes/$Format",group="extensions",resource="daemonsets",version="v1beta1"}	1103

Comment 4 Tomáš Nožička 2019-11-21 09:01:00 UTC
Was the alert firing before running the openshift-tests binary? If not I suspect the e2e can be running oc inside so the client wouldn't be indicative.

But those are pretty high numbers, there might be IP in that data.

Comment 8 Maciej Szulik 2019-12-12 11:15:31 UTC
Nothing poped-up in the past days, based on the discussion I had with Tomas I'm moving this to 4.4

Comment 10 Tomáš Nožička 2020-01-31 12:22:43 UTC
4.4 has disabled serving those, this should not be triggering anymore

Comment 11 zhou ying 2020-02-03 09:35:13 UTC
Confirmed with payload: 4.4.0-0.nightly-2020-02-02-201619, after run the e2e test , can't see the alert anymore .

Comment 12 Adam Kaplan 2020-04-06 14:47:24 UTC
*** Bug 1806965 has been marked as a duplicate of this bug. ***

Comment 14 errata-xmlrpc 2020-05-04 11:14:43 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, 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-2020:0581


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