Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1546777

Summary: OSP13 | After deploying overcloud with collectd support I see duplicate plugin files in the collectd container
Product: Red Hat OpenStack Reporter: Leonid Natapov <lnatapov>
Component: puppet-collectdAssignee: Martin Magr <mmagr>
Status: CLOSED ERRATA QA Contact: Leonid Natapov <lnatapov>
Severity: low Docs Contact:
Priority: low    
Version: 13.0 (Queens)CC: jbadiapa, jjoyce, jschluet, lnatapov, mmagr, mrunge, pkilambi, rmccabe, slinaber, tvignaud
Target Milestone: Upstream M3Keywords: Triaged
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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:
Story Points: ---
Clone Of:
: 1727092 (view as bug list) Environment:
Last Closed: 2019-01-11 11:48:46 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:
Bug Depends On:    
Bug Blocks: 1727092    

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