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

Bug 1802648

Summary: Any oc against 4.3 cluster prefers extensions over apps when getting deployments
Product: OpenShift Container Platform Reporter: Maciej Szulik <maszulik>
Component: kube-apiserverAssignee: Maciej Szulik <maszulik>
Status: CLOSED DEFERRED QA Contact: Xingxing Xia <xxia>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.3.0CC: aos-bugs, mfojtik, xxia
Target Milestone: ---   
Target Release: 4.3.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1802647 Environment:
Last Closed: 2020-03-16 14:08:06 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: 1802647    
Bug Blocks:    

Description Maciej Szulik 2020-02-13 15:53:50 UTC
+++ This bug was initially created as a clone of Bug #1802647 +++

With extensions API being deprecated oc still picks that over apps.
The easiest way to verify that is to do:

oc get deploy -v=6

and verify you're not seeing extensions like below:

round_trippers.go:443] GET https://api.example.com:6443/apis/extensions/v1beta1/namespaces/openshift-machine-api/deployments?limit=500 200 OK in 153 milliseconds

but:

round_trippers.go:443] GET https://api.example.com:6443/apis/apps/v1/namespaces/default/deployments?limit=500 200 OK in 115 milliseconds

Comment 1 Maciej Szulik 2020-03-16 14:08:06 UTC
We're not going to fix it.