Bug 1517927

Summary: ceilometer: set event dispatcher to Gnocchi by default in OSP10
Product: Red Hat OpenStack Reporter: Mark Jones <marjones>
Component: openstack-tripleo-heat-templatesAssignee: Julien Danjou <jdanjou>
Status: CLOSED CURRENTRELEASE QA Contact: Sasha Smolyak <ssmolyak>
Severity: high Docs Contact:
Priority: low    
Version: 10.0 (Newton)CC: cswanson, dvd, jdanjou, jruzicka, marjones, mburns, pkilambi, rhel-osp-director-maint, srevivo
Target Milestone: ---Keywords: TestOnly, Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-5.3.8-1.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-29 10:33:41 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:

Description Mark Jones 2017-11-27 17:21:04 UTC
Description of problem:

The current default of database for the event dispatcher in Ceilometer does not make Gnocchi work completely as the Gnocchi dispatcher does not receive any events from Ceilometer.

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

Gnocchi/Ceilometer in OSP10

How reproducible: 

Consistent for every installation

Steps to Reproduce:

1. Perform an installation of OSP10 with Ceilometer and Gnocchi enabled

Actual results:

The ceilometer.conf file does not set event_dispatchers to Gnocchi

Expected results:

The ceilometer.conf file does set an event_dispatchers to Gnocchi by default.


Additional info:

This issue means that Gnocchi is not notified about the termination of resources and so does not set the ended_at property correctly.

Related: https://review.openstack.org/#/c/521132/

Comment 8 Lon Hohberger 2018-03-07 13:51:18 UTC
According to our records, this should be resolved by openstack-tripleo-heat-templates-5.3.8-1.el7ost.  This build is available now.

Comment 9 Cody Swanson 2018-03-07 15:43:02 UTC
Confirming that puppet-ceilometer-9.5.0-4.el7ost.noarch.rpm contains the upstream patch https://bugs.launchpad.net/puppet-ceilometer/+bug/1737418

# rpm -qa |grep puppet-ceilometer
puppet-ceilometer-9.5.0-2.el7ost.noarch
# ls
puppet-ceilometer-9.5.0-4.el7ost.noarch.rpm
# rpm2cpio puppet-ceilometer-9.5.0-4.el7ost.noarch.rpm| cpio -idm
296 blocks
# diff ./usr/share/openstack-puppet/modules/ceilometer/manifests/collector.pp /usr/share/openstack-puppet/modules/ceilometer/manifests/collector.pp
67,68c67,68
<     'DEFAULT/meter_dispatchers': value => any2array($meter_dispatcher);
<     'DEFAULT/event_dispatchers': value => any2array($event_dispatcher);
---
>     'DEFAULT/meter_dispatchers':  value => join(any2array($meter_dispatcher), ',');
>     'DEFAULT/event_dispatchers':  value => join(any2array($event_dispatcher), ',');

Comment 10 Sasha Smolyak 2018-03-29 08:27:54 UTC
Default event_dispatchers are now gnocchi on controller.
In undercloud the default in ceilometer.conf is still database