Bug 1616278
| Summary: | Logging default project/namespace incorrect in prometheus configmap | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Mike Fiedler <mifiedle> |
| Component: | Logging | Assignee: | Jeff Cantrill <jcantril> |
| Status: | CLOSED ERRATA | QA Contact: | Anping Li <anli> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.11.0 | CC: | aos-bugs, lvlcek, mifiedle, rmeggins |
| Target Milestone: | --- | ||
| Target Release: | 3.11.0 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-10-11 07:24:57 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: | |||
Where does this configmap come from? If you deployed this other then using the openshift_prometheus role, please advise. I used the openshift_prometheus role (playbooks/openshift-prometheus/config.yml playbook). The PR looks good to me. The default logging project is as expected when deployed using openshift-ansible:v3.11.0-0.17.0.0 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-2018:2652 |
Description of problem: I deployed prometheus and logging 3.11.0-0.13.0 and could not find the es_* metrics in prometheus. Editing the prometheus configmap : kubernetes_sd_configs: - role: endpoints namespaces: names: - 'logging' Changed the namespace value to openshift-logging and restarted prometheus pod. es_* metrics became available Version-Release number of selected component (if applicable): 3.11.0-0.13.0 How reproducible: Always Steps to Reproduce: 1. deployed prometheus and logging 3.11.0-0.13.0 2. check prometheus metrics available - no es_* metrics listed 3. edit the prometheus configmap and change the namespace from logging to openshift-logging 4. restart prometheus pod 5. es_* metrics are available