Unable to perform initial IP allocation check: unable to refresh the service IP block: etcdserver: request timed out
Issue
- Multiple restarts of the
kubeapi-server
pods with the following error:
$ oc logs kube-apiserver-XXXXXX -c kube-apiserver -n openshift-kube-apiserver
2021-08-31T14:20:19.427189727+00:00 stderr F E0831 14:20:19.427169 21 status.go:71] apiserver received an error that is not an metav1.Status: rpctypes.EtcdError{code:0xe, desc:"etcdserver: request timed out"}
2021-08-31T14:20:19.427198250+00:00 stderr F E0831 14:20:19.427183 21 status.go:71] apiserver received an error that is not an metav1.Status: rpctypes.EtcdError{code:0xe, desc:"etcdserver: request timed out"}
2021-08-31T14:20:19.427215571+00:00 stderr F F0831 14:20:19.427191 21 controller.go:161] Unable to perform initial IP allocation check: unable to refresh the service IP block: etcdserver: request timed out
- Following error can be seen in
etcd
pods:
$ oc logs etcd-XXXXXX -c etcd -n openshift-etcd
2021-08-31T14:24:02.657883527+00:00 stderr F 2021-08-31 14:24:02.657858 W | etcdserver: timed out waiting for read index response (local node might have slow network)
2021-08-31T14:24:02.672308299+00:00 stderr F 2021-08-31 14:24:02.672277 I | embed: rejected connection from "10.171.131.25:53106" (error "tls: \"10.171.131.25\" does not match any of DNSNames [\"localhost\" \"10.171.131.12\"] (lookup 25.131.171.10.in-addr.arpa. on 10.208.237.20:53: no such host)", ServerName "", IPAddresses ["10.171.131.12"], DNSNames ["localhost" "10.171.131.12"])
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.X
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.