OCP installation/upgrade fails with - server doesn't have a resource type "dc"

Solution Verified - Updated -

Issue

Upgrading Openshift Container Plataform from v3.7 to v3.9 or between minor versions on v3.9 fails with the message server doesn't have a resource type "dc".
Running the command manually on the clusters works:

 # oc get dc -n default

Environment

Openshift Container Plataform 3.7 and 3.9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content