Control plane kubelet gets Unauthorized and stuck when bootstrapping control plane hosts with 10 min gaps in OpenShift 4

Solution Verified - Updated -

Issue

  • Control plane kubelet gets Unauthorized and stuck when bootstrapping control plane hosts with 10 min gaps in OpenShift 4

    • The scenario is: boot cp0 and 10 min wait then boot cp1. cp1 gets the repeating nodes is forbidden errors when trying to register nodes.
    kubelet_node_status.go:94] "Unable to register node with API server" err="nodes is forbidden: User \"system:anonymous\" cannot create resource \"nodes\" in API group \"\" at the cluster scope" node="cp1.example.com"
    

Environment

  • Red Hat OpenShift Container Platform 4
  • UPI installation

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