Bug 1312373 - [RFE] Ability to configure overcloud and undercloud ceilometer to store events via a parameter
Summary: [RFE] Ability to configure overcloud and undercloud ceilometer to store event...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ga
: 8.0 (Liberty)
Assignee: Jiri Stransky
QA Contact: Marius Cornea
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-26 14:52 UTC by Marius Cornea
Modified: 2016-04-20 11:22 UTC (History)
11 users (show)

Fixed In Version: openstack-tripleo-heat-templates-0.8.11-1.el7ost instack-undercloud-2.2.6-1.el7ost
Doc Type: Enhancement
Doc Text:
This update adds options to configure Ceilometer to store events, which can be retrieved later through Ceilometer APIs. This is an alternative to listening to the message bus to capture events. A brief outline of the configuration is in https://bugzilla.redhat.com/show_bug.cgi?id=1318397.
Clone Of:
Environment:
Last Closed: 2016-04-20 11:22:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 286734 0 None None None 2016-03-03 02:23:16 UTC
OpenStack gerrit 287561 0 None None None 2016-03-03 02:25:05 UTC

Description Marius Cornea 2016-02-26 14:52:01 UTC
Description of problem:

In Cloudforms integration we are planning to use Ceilometer for catching events so we need to ability to configure Ceilometer to store events at installation time. 

This is manually done by:
openstack-config --set /etc/ceilometer/ceilometer.conf 'notification' store_events True

Comment 10 Marius Cornea 2016-04-19 10:46:33 UTC
Undercloud:

stack@instack:~>>> grep store_events undercloud.conf 
store_events = true

stack@instack:~>>>  ceilometer event-type-list
+-------------------------------------+
| Event Type                          |
+-------------------------------------+
| compute.instance.create.end         |
| compute.instance.create.error       |
| compute.instance.create.start       |
| compute.instance.update             |
| identity.OS-TRUST:trust.created     |
| identity.authenticate               |
| identity.created.role_assignment    |
| identity.project.created            |
| identity.role_assignment.created    |
| identity.user.created               |
| network.create.end                  |
| network.create.start                |
| orchestration.stack.create.end      |
| orchestration.stack.create.error    |
| orchestration.stack.create.start    |
| orchestration.stack.delete.end      |
| orchestration.stack.delete.error    |
| orchestration.stack.delete.start    |
| orchestration.stack.update.end      |
| orchestration.stack.update.error    |
| orchestration.stack.update.start    |
| port.create.end                     |
| port.create.start                   |
| port.update.end                     |
| port.update.start                   |
| scheduler.select_destinations.end   |
| scheduler.select_destinations.start |
| subnet.create.end                   |
| subnet.create.start                 |
| subnet.update.end                   |
| subnet.update.start                 |
+-------------------------------------+

Overcloud after passing an environment file with the following contents:
parameter_defaults:
  CeilometerStoreEvents: True

stack@instack:~>>>  ceilometer event-type-list
+-------------------------------------+
| Event Type                          |
+-------------------------------------+
| compute.instance.create.end         |
| compute.instance.create.start       |
| compute.instance.update             |
| identity.authenticate               |
| identity.created.role_assignment    |
| identity.domain.created             |
| identity.endpoint.created           |
| identity.project.created            |
| identity.region.created             |
| identity.role.created               |
| identity.role_assignment.created    |
| identity.service.created            |
| identity.user.created               |
| image.activate                      |
| image.create                        |
| image.prepare                       |
| image.send                          |
| image.update                        |
| image.upload                        |
| keypair.import.end                  |
| keypair.import.start                |
| network.create.end                  |
| network.create.start                |
| port.create.end                     |
| port.create.start                   |
| router.create.end                   |
| router.create.start                 |
| router.update.end                   |
| router.update.start                 |
| scheduler.select_destinations.end   |
| scheduler.select_destinations.start |
| subnet.create.end                   |
| subnet.create.start                 |
+-------------------------------------+


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