Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1768766

Summary: e2e tests are hitting deprecated extensions/v1beta1
Product: OpenShift Container Platform Reporter: Tomáš Nožička <tnozicka>
Component: kube-controller-managerAssignee: Tomáš Nožička <tnozicka>
Status: CLOSED ERRATA QA Contact: zhou ying <yinzhou>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.3.0CC: aos-bugs, dahernan, maszulik, mfojtik, yinzhou
Target Milestone: ---   
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1771247 (view as bug list) Environment:
Last Closed: 2020-05-04 11:14:43 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:    
Bug Blocks: 1771247    

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