Bug 1660778
Summary: | The configuration of caFile in servicemonitor object is incorrect. | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Qiaoling Tang <qitang> |
Component: | Logging | Assignee: | Jeff Cantrill <jcantril> |
Status: | CLOSED ERRATA | QA Contact: | Anping Li <anli> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.1.0 | CC: | aos-bugs, rmeggins, surbania |
Target Milestone: | --- | ||
Target Release: | 4.1.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: |
undefined
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2019-06-04 10:41:27 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Qiaoling Tang
2018-12-19 08:38:03 UTC
Error Path in Logging servicemonitor object /etc/prometheus/configmaps/serving-certs-ca-bundle/service-ca.crt /var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt Correct Path prometheus: /etc/prometheus/configmaps/prometheus-serving-certs-ca-bundle//service-ca.crt /var/run/secrets/kubernetes.io/serviceaccount/ca.crt The caFile path in fluentd has changed, but not changed in monitor-elasticsearch-cluster. $ oc get servicemonitors.monitoring.coreos.com -o yaml |grep tlsConfig -A 1 -B 5 uid: b843b250-1484-11e9-b91a-0282b3a38dc0 spec: endpoints: - port: "24231" scheme: https tlsConfig: caFile: /etc/prometheus/configmaps/serving-certs-ca-bundle/service-ca.crt -- endpoints: - bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token path: /_prometheus/metrics port: restapi scheme: https tlsConfig: caFile: /etc/prometheus/configmaps/prometheus-serving-certs-ca-bundle/service-ca.crt They all should be: /etc/prometheus/configmaps/serving-certs-ca-bundle/service-ca.crt The issue has been fixed, move bug to VERIFIED. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0758 |