ceph-dashboard: prometheus_receiver shows the error "x509: certificate is valid for ceph-dashboard, not XXX"
Issue
ceph-dashboard
:prometheus_receiver
shows the errorx509: certificate is valid for ceph-dashboard, not XXX
.- Error in detail:
level=error ts=2021-08-16T00:20:20.004Z caller=notify.go:372 component=dispatcher msg="Error on notify" err="Post https://mon3:8443/api/prometheus_receiver: x509: certificate is valid for ceph-dashboard, not mon3" context_err="context deadline exceeded"
level=error ts=2021-08-16T00:20:20.004Z caller=notify.go:372 component=dispatcher msg="Error on notify" err="Post https://mon2:8443/api/prometheus_receiver: x509: certificate is valid for ceph-dashboard, not mon2" context_err="context deadline exceeded"
level=error ts=2021-08-16T00:20:20.004Z caller=notify.go:372 component=dispatcher msg="Error on notify" err="Post https://mon1:8443/api/prometheus_receiver: x509: certificate is valid for ceph-dashboard, not mon1" context_err="context deadline exceeded"
level=error ts=2021-08-16T00:20:20.004Z caller=dispatch.go:266 component=dispatcher msg="Notify for alerts failed" num_alerts=1 err="Post https://mon3:8443/api/prometheus_receiver: x509: certificate is valid for ceph-dashboard, not mon3; Post https://mon2:8443/api/prometheus_receiver: x509: certificate is valid for ceph-dashboard, not mon2; Post https://mon1:8443/api/prometheus_receiver: x509: certificate is valid for ceph-dashboard, not mon1"
Environment
- Red Hat Ceph Storage 4.x.
- Red Hat Ceph Storage 5.0.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.