Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1616278 - Logging default project/namespace incorrect in prometheus configmap
Logging default project/namespace incorrect in prometheus configmap
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Logging (Show other bugs)
3.11.0
x86_64 Linux
unspecified Severity medium
: ---
: 3.11.0
Assigned To: Jeff Cantrill
Anping Li
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-08-15 09:34 EDT by Mike Fiedler
Modified: 2018-10-11 03:25 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-10-11 03:24:57 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Github openshift/openshift-ansible/pull/9616 None None None 2018-08-15 16:34 EDT
Red Hat Product Errata RHBA-2018:2652 None None None 2018-10-11 03:25 EDT

  None (edit)
Description Mike Fiedler 2018-08-15 09:34:28 EDT
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
Comment 1 Rich Megginson 2018-08-15 11:01:32 EDT
Where does this configmap come from?
Comment 3 Jeff Cantrill 2018-08-15 16:34:40 EDT
If you deployed this other then using the openshift_prometheus role, please advise.
Comment 4 Mike Fiedler 2018-08-15 20:13:33 EDT
I used the openshift_prometheus role (playbooks/openshift-prometheus/config.yml playbook).   The PR looks good to me.
Comment 5 Anping Li 2018-08-20 22:49:49 EDT
The default logging project is as expected when deployed using openshift-ansible:v3.11.0-0.17.0.0
Comment 7 errata-xmlrpc 2018-10-11 03:24:57 EDT
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

Note You need to log in before you can comment on or make changes to this bug.