Bug 1527438

Summary: The issue with metric_processing_delay is not fixed
Product: Red Hat OpenStack Reporter: Sasha Smolyak <ssmolyak>
Component: openstack-tripleo-heat-templatesAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED ERRATA QA Contact: Sasha Smolyak <ssmolyak>
Severity: low Docs Contact:
Priority: low    
Version: 12.0 (Pike)CC: mburns, pkilambi, rhel-osp-director-maint
Target Milestone: Upstream M3Keywords: Triaged
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-8.0.0-0.20180122224017.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-27 13:40:26 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:

Description Sasha Smolyak 2017-12-19 12:11:18 UTC
Description of problem:
Follow-up of cherry-picked fix for this bz: https://bugzilla.redhat.com/show_bug.cgi?id=1414271

There are still remainings of the same code in /usr/share/openstack-tripleo-heat-templates/puppet/services/gnocchi-base.yaml:

  MetricProcessingDelay:
    default: 30
    description: Delay between processing metrics.

        gnocchi::storage::metric_processing_delay: {get_param: MetricProcessingDelay}

And accordingly, we now see metric_processing_delay twice in the same /etc/gnocchi/gnocchi.conf: in metricd section and in oslo_messaging section, and it definitely doesn't belong to oslo_messageing

We need to clean it from there.

Version-Release number of selected component (if applicable):
openstack-gnocchi-common-4.0.3-2.el7ost.noarch
puppet-gnocchi-11.3.0-2.el7ost.noarch
openstack-gnocchi-metricd-4.0.3-2.el7ost.noarch
python-gnocchiclient-3.3.1-1.el7ost.noarch
openstack-gnocchi-api-4.0.3-2.el7ost.noarch
openstack-gnocchi-indexer-sqlalchemy-4.0.3-2.el7ost.noarch
openstack-gnocchi-statsd-4.0.3-2.el7ost.noarch
python-gnocchi-4.0.3-2.el7ost.noarch


How reproducible:
100%

Steps to Reproduce:
1. Deploy overcloud with 
custom_templates: 
    parameter_defaults:
        MetricProcessingDelay: 15

2. Go to controller, observe gnocchi.conf:
sudo docker exec -ti gnocchi_api vi /etc/gnocchi/gnocchi.conf


Actual results:
metric_processing_delay appears twice in the conf file

Expected results:
It's supposed to appear only in metricd section

Additional info:

Comment 1 Pradeep Kilambi 2018-01-04 13:53:49 UTC
this should be fixed, we just need to pull in new packages. I'll look into it.

Comment 8 errata-xmlrpc 2018-06-27 13:40:26 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-2018:2086