Alertmanager logs "lookup alertmanager-main-0.alertmanager-operated on 172.30.0.10:53: no such host"
Issue
-
Alertmanager
StatefulSets
in the OpenShift Monitoring stack log the following transient warnings:$ oc -n openshift-monitoring logs alertmanager-main-0 -c alertmanager [...] t.=2024-03-13T06:41:54.248Z caller=cluster.go:471 level=warn component=cluster msg=refresh result=failure addr=alertmanager-main-0.alertmanager-operated:9094 err="1 error occurred:\n\t* Failed to resolve alertmanager-main-0.alertmanager-operated:9094: lookup alertmanager-main-0.alertmanager-operated on 172.30.0.10:53: no such host\n\n" ts=2024-03-13T06:44:39.259Z caller=cluster.go:471 level=warn component=cluster msg=refresh result=failure addr=alertmanager-main-1.alertmanager-operated:9094 err="1 error occurred:\n\t* Failed to resolve alertmanager-main-1.alertmanager-operated:9094: lookup alertmanager-main-1.alertmanager-operated on 172.30.0.10:53: no such host\n\n" ts=2024-03-13T06:44:54.248Z caller=cluster.go:471 level=warn component=cluster msg=refresh result=failure addr=alertmanager-main-1.alertmanager-operated:9094 err="1 error occurred:\n\t* Failed to resolve alertmanager-main-1.alertmanager-operated:9094: lookup alertmanager-main-1.alertmanager-operated on 172.30.0.10:53: no such host\n\n"
Environment
- Red Hat OpenShift Container Platform
- 4.12.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.