Control plane kubelet gets Unauthorized and stuck when bootstrapping control plane hosts with 10 min gaps in OpenShift 4
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 forbiddenerrors 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" - The scenario is: boot cp0 and 10 min wait then boot cp1. cp1 gets the repeating
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.