Alarms triggered from notifications fail in Queens

Bug #1773355 reported by Liam Young
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Ceilometer Charm
Fix Released
Undecided
Liam Young

Bug Description

Alarms that are triggered from notifications are not being passed to aodh.

Creating an alarm like:

            alarm_def = {
                'type': 'event',
                'name': alarm_name,
                'description': 'Instance powered OFF',
                'alarm_actions': ['log://'],
                'ok_actions': ['log://'],
                'insufficient_data_actions': ['log://'],
                'event_rule': {
                    'event_type': 'compute.instance.power_off.*',
                    'query': [{'field': 'traits.instance_id',
                               'op': 'eq',
                               'type': 'string',
                               'value': server.id}]}}

will never trigger because ceilometer does not post a corresponding message in rabbit

Liam Young (gnuoy)
Changed in charm-ceilometer:
assignee: nobody → Liam Young (gnuoy)
Revision history for this message
Liam Young (gnuoy) wrote :

# grep event_pipeline /etc/ceilometer/ceilometer.conf
event_pipeline_cfg_file = /etc/ceilometer/event_pipeline.yaml

# ls -l /etc/ceilometer/event_pipeline.yaml
ls: cannot access '/etc/ceilometer/event_pipeline.yaml': No such file or directory

Changed in charm-ceilometer:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ceilometer (master)

Reviewed: https://review.openstack.org/570573
Committed: https://git.openstack.org/cgit/openstack/charm-ceilometer/commit/?id=b64e500f6cc98fc8bd3f7358d410d30833a4d5ab
Submitter: Zuul
Branch: master

commit b64e500f6cc98fc8bd3f7358d410d30833a4d5ab
Author: Liam Young <email address hidden>
Date: Fri May 25 12:37:47 2018 +0000

    Register pipeline conf in quuens+

    A bug was causing the events yaml from being rendered on quuens+
    deploys. This change adds it to the quuens+ configs.

    Closes-Bug: 1773355
    Change-Id: I309107da609e186638332d3a9bca00a86ccd6010

Changed in charm-ceilometer:
status: In Progress → Fix Committed
James Page (james-page)
Changed in charm-ceilometer:
milestone: none → 18.05
David Ames (thedac)
Changed in charm-ceilometer:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.