Bug 1083414 - ceilometer qpid reconnection delay must be more accurate
Summary: ceilometer qpid reconnection delay must be more accurate
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-ceilometer
Version: 4.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: z4
: 4.0
Assignee: Flavio Percoco
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-02 08:17 UTC by Flavio Percoco
Modified: 2016-04-27 03:36 UTC (History)
12 users (show)

Fixed In Version: openstack-ceilometer-2013.2.3-1.el6ost
Doc Type: Bug Fix
Doc Text:
Cause: reconnection to the Qpid message broker was delayed by a minimum of 60 seconds. Consequence: broker reconnect operations from ceilometer agents were not triggered in a timely fashion, so the flow of samples would not resume soon enough once the message broker was restored. Fix: the minimum reconnection delay has been reduced from 60 seconds to 5 seconds. Result: after the Qpid broker is restarted, the flow of samples is quickly resumed.
Clone Of: 1060689
Environment:
Last Closed: 2014-05-29 19:56:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 83739 0 None None None Never
OpenStack gerrit 84090 0 None None None Never
Red Hat Product Errata RHBA-2014:0577 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform 4 Bug Fix and Enhancement Advisory 2014-05-29 23:55:40 UTC

Comment 2 Alan Pevec 2014-04-04 11:40:08 UTC
Included in 2013.2.3

Comment 5 Eoghan Glynn 2014-05-29 10:45:23 UTC
OtherQA Process
===============

0. Install packstack --allinone in the usual way

1. Artificially accelerate the cadence of polling for an individual meter by adding the following entry to /etc/ceilometer/pipeline.yaml:

     name: image_pipeline
     interval: 10
     meters:
         - "image.size"
     transformers:
     publishers:
         - rpc://

2. Restart the agent responsible for collecting that accelerated meter:

   $ sudo service openstack-ceilometer-central restart

3. Note the 10 second cadence of samples for that meter:

   $ ceilometer sample-list -m image.size | awk '/image.size/ {print $(NF-1)}'

4. Stop the qpidd broker:

   $ sudo service qpidd stop

5. Note that the flow of samples dries up:

   $ while true; do ceilometer sample-list -m image.size | awk '/image.size/ {print $(NF-1)}' | head -1 ; echo '---' ; sleep 1 ; done

6. Restart the qpidd broker:

   $ sudo service qpidd stop

7. The flow of sample should resume within 5s:

   $ while true; do ceilometer sample-list -m image.size | awk '/image.size/ {print $(NF-1)}' | head -1 ; echo '---' ; sleep 1 ; done

Marking as verified due to the expected rapid resumption of message flow being observed.

Comment 6 Eoghan Glynn 2014-05-29 13:12:57 UTC
Correction to OtherQA steps above, step #6 should read:

6. Restart the qpidd broker:

   $ sudo service qpidd start

Comment 8 errata-xmlrpc 2014-05-29 19:56:24 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.

http://rhn.redhat.com/errata/RHBA-2014-0577.html


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