Bug 1479672 - collectd.cpu.percent is transformed to collectd.CPU.percent
collectd.cpu.percent is transformed to collectd.CPU.percent
Product: OpenShift Container Platform
Classification: Red Hat
Component: Logging (Show other bugs)
Unspecified Unspecified
low Severity low
: ---
: 3.7.0
Assigned To: Jan Wozniak
Lukas Svaty
Depends On:
  Show dependency treegraph
Reported: 2017-08-09 02:40 EDT by Shirly Radco
Modified: 2017-12-18 08:22 EST (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2017-12-18 08:22:48 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
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/origin-aggregated-logging/pull/659 None None None 2017-09-13 14:27 EDT

  None (edit)
Description Shirly Radco 2017-08-09 02:40:32 EDT
Description of problem:
For some reason the collectd.cpu.percent field is transformed to collectd.CPU.percent.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:

Actual results:
Field name is collectd.CPU.percent.

Expected results:
Field name should be collectd.cpu.percent

Additional info:
Comment 1 Jan Wozniak 2017-09-05 09:55:25 EDT
Could you please provide more information and why do you expect small case 'cpu'? Is it possible it is desired to have 'CPU' in capital letters? Because it looks like the field is expected to be 'CPU' based on these references: index pattern [1], elasticsearch index templates [2], convention of how CPU plugin for collectd is named [3]

[1] https://github.com/openshift/origin-aggregated-logging/blob/master/elasticsearch/index_patterns/com.redhat.viaq-openshift.index-pattern.json

[2] https://github.com/wozniakjan/elasticsearch-templates/blob/master/namespaces/collectd.yml

[3] https://collectd.org/wiki/index.php/Plugin:CPU
Comment 2 Shirly Radco 2017-09-11 02:48:51 EDT
There was a mistake in the elasticsearch-templates namespace.
Fixed the issue in https://github.com/ViaQ/elasticsearch-templates/commit/4e952bd9f4a500321d68da8abf5a9211c632a3d3
Comment 3 Rich Megginson 2017-11-21 13:11:53 EST
3.7 - fix is in version 3.7.7 or later

3.6 - fix is in v3. or later
Comment 4 Anping Li 2017-11-22 04:03:02 EST
@Lukas, I guess this bug is in RHV too.  Help us verify it. Thanks
Comment 5 Wei Sun 2017-11-28 21:34:21 EST
Hi Lukas,
Could you help check if this bug could be verified?

Comment 6 Lukas Svaty 2017-11-29 05:27:29 EST
verified in openshift-ansible-
Comment 9 errata-xmlrpc 2017-12-18 08:22:48 EST
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.


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