Bug 1546777 - OSP13 | After deploying overcloud with collectd support I see duplicate plugin files in the collectd container
Summary: OSP13 | After deploying overcloud with collectd support I see duplicate plugi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-collectd
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: Upstream M3
: 14.0 (Rocky)
Assignee: Martin Magr
QA Contact: Leonid Natapov
URL:
Whiteboard:
Depends On:
Blocks: 1727092
TreeView+ depends on / blocked
 
Reported: 2018-02-19 15:18 UTC by Leonid Natapov
Modified: 2020-07-24 17:40 UTC (History)
10 users (show)

Fixed In Version: puppet-collectd-10.0.2-0.20180815204716.f04aa34.el7ost openstack-tripleo-heat-templates-9.0.1-0.20181013060859.ffbe879.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1727092 (view as bug list)
Environment:
Last Closed: 2019-01-11 11:48:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github voxpupuli puppet-collectd pull 832 0 None closed Flush plugin config files 2020-06-09 11:09:46 UTC
Launchpad 1792926 0 None None None 2018-09-17 12:53:58 UTC
OpenStack gerrit 603123 0 None MERGED Don't merge /etc/collectd.d 2020-06-09 11:09:45 UTC
OpenStack gerrit 606961 0 None MERGED Don't merge /etc/collectd.d 2020-06-09 11:09:45 UTC
OpenStack gerrit 606963 0 None MERGED Don't merge /etc/collectd.d 2020-06-09 11:09:45 UTC
Red Hat Product Errata RHEA-2019:0045 0 None None None 2019-01-11 11:49:12 UTC

Description Leonid Natapov 2018-02-19 15:18:42 UTC
OSP13 | After deploying overcloud with collectd support I see duplicate plugin files in the collectd container

/etc/collectd.d/ diectory looks like this:

    ()[root@controller-0 /]# cd /etc/collectd.d/
    ()[root@controller-0 collectd.d]# ls -al
    total 56
    drwxr-x---. 1 root     root 172 Feb 14 16:24 .
    drwxr-xr-x. 1 root     root  45 Feb 14 16:24 ..
    -rw-r-----. 1 root     root 431 Feb 14 16:10 00-python.conf
    -rw-r-----. 1 root     root 197 Feb 14 16:10 05-logfile.conf
    -rw-r-----. 1 root     root 119 Feb 14 16:10 10-load.conf
    -rw-r-----. 1 root     root 179 Feb 14 16:10 10-memcached.conf
    -rw-r-----. 1 root     root 147 Feb 14 16:10 10-memory.conf
    -rw-r-----. 1 root     root  77 Feb 14 16:10 10-processes.conf
    -rw-r--r--. 1 collectd root  15 Dec 21 12:09 90-default-plugins-cpu.conf
    -rw-r--r--. 1 collectd root  21 Dec 21 12:09 90-default-plugins-interface.conf
    -rw-r--r--. 1 collectd root  16 Dec 21 12:09 90-default-plugins-load.conf
    -rw-r--r--. 1 collectd root  18 Dec 21 12:09 90-default-plugins-memory.conf
    -rw-r--r--. 1 collectd root  18 Dec 21 12:09 90-default-plugins-syslog.conf
    -rw-r--r--. 1 collectd root 168 Dec 21 12:09 apache.conf
    -rw-r--r--. 1 collectd root  19 Dec 21 12:09 libvirt.conf
    -rw-r-----. 1 root     root  29 Feb 14 16:10 processes-config.conf


-----

for example the content of 10-load.conf vs the content of 90-default-plugins-load.conf:

10-load.conf
----------------------
# Generated by Puppet
<LoadPlugin load>
  Globals false
</LoadPlugin>

<Plugin load>
  ReportRelative false
</Plugin>



90-default-plugins-load.conf
-----------------------------
LoadPlugin load


all others are the same manner.

Comment 1 Leonid Natapov 2018-02-19 19:13:01 UTC
osp12 container looks like this:

()[root@controller-0 collectd.d]# ls -al
total 28
drwxr-x---. 1 root root 182 Feb 19 18:59 .
drwxr-xr-x. 1 root root  45 Feb 19 18:59 ..
-rw-r-----. 1 root root 197 Feb 19 18:47 05-logfile.conf
-rw-r-----. 1 root root 119 Feb 19 18:47 10-load.conf
-rw-r-----. 1 root root 179 Feb 19 18:47 10-memcached.conf
-rw-r-----. 1 root root 147 Feb 19 18:47 10-memory.conf
-rw-r-----. 1 root root 105 Feb 19 18:47 10-network.conf
-rw-r-----. 1 root root  77 Feb 19 18:47 10-processes.conf
-rw-r-----. 1 root root  97 Feb 19 18:47 network-server-10.35.64.7.conf
()[root@controller-0 collectd.d]# rpm -qa | grep collectd

collectd-5.7.2-3.el7ost.x86_64

Comment 2 Matthias Runge 2018-02-20 08:57:30 UTC
this doesn't seem to prevent collectd from working correctly

Comment 6 Martin Magr 2018-08-28 09:07:54 UTC
Patch has been merged upstream.

Comment 9 Leonid Natapov 2018-09-17 09:56:56 UTC
FailedQA. Still see duplicated files. Probably because  docker is merging mouted directories with what is baked in the image.

Comment 12 errata-xmlrpc 2019-01-11 11:48:46 UTC
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/RHEA-2019:0045


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