After RHOCP installation, default operators are in degraded state
Issue
After performing IPI installation, default cluster operators like DNS,image registry and authentication are stuck in degraded
state,
Authentication
operator is throwing below error,
status:
conditions:
message: |-
OAuthServerRouteEndpointAccessibleControllerDegraded: Get "https://oauth-openshift.apps.osh.uxb.ipa.vodafone.com/healthz": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
WellKnownReadyControllerDegraded: failed to GET kube-apiserver oauth endpoint https://100.64.18.17:6443/.well-known/oauth-authorization-server: context deadline exceeded
reason: OAuthServerRouteEndpointAccessibleController_SyncError::WellKnownReadyController_SyncError
status: "True"
type: Degraded
- DNS operator pods are showing error logs which are stating that
API
is notconnected
which means that when the dns pod attempts to access the default svc to register itself, it goes through the OpenShiftnetwork
plugin installed on the platform which isOVN-Kubernetes
.
[INFO] plugin/kubernetes: github.com/coredns/coredns/plugin/kubernetes/controller.go:335: failed to list *v1.Service: Get "https://api/v1/services?limit=500&resourceVersion=0": dial tcp <ip>: i/o timeout
[INFO] plugin/kubernetes: Trace[294087934]: "Reflector ListAndWatch" name:github.com/coredns/coredns/plugin/kubernetes/controller.go:335 (total time: 30001ms):
Trace[294087934]: ---"Objects listed" error:Get "https://<ip>/api/v1/services?limit=500&resourceVersion=0": dial tcp <ip>: i/o timeout 30001ms (15:38:35.527)
Trace[294087934]: [30.001249508s] [30.001249508s] END
[ERROR] plugin/kubernetes: github.com/coredns/coredns/plugin/kubernetes/controller.go:335: Failed to watch *v1.Service: failed to list *v1.Service: Get "https://<ip>/api/v1/services?limit=500&resourceVersion=0": dial tcp <ip>: i/o timeout
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.16
- VMware vSphere
- Disconnected Environment
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.