Kube-apiserver is not coming up with error "timed out waiting for port :6443 and :6080"

Solution Verified - Updated -

Issue

  • OCP IPI installation on RHV failed with kube-apiserver crashloop timed out waiting for port :6443 and :6080 to be released
  • kube-apiserver pod restarts multiple times and it's in exited status.
  • kube-apiserver is not coming up and all oc commands get failed with the below error.
The connection to the server api-int.rhvipi.ocp.example.com:6443 was refused - did you specify the right host or port?

Environment

  • Red Hat OpenShift Container Platform
    • 4.5

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