Bug 1038716

Summary: [oslo] With QPID, RPC calls to a topic are always fanned-out to all subscribers.
Product: Red Hat OpenStack Reporter: Perry Myers <pmyers>
Component: openstack-ceilometerAssignee: Eoghan Glynn <eglynn>
Status: CLOSED ERRATA QA Contact: Kevin Whitney <kwhitney>
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: breeler, dallan, ddomingo, dron, eglynn, hateya, jruzicka, kgiusti, ndipanov, pbrady, srevivo, yeylon
Target Milestone: rcKeywords: OtherQA
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-ceilometer-2013.2-4.el6ost Doc Type: Bug Fix
Doc Text:
A bug in the QPID topic consumer re-connection logic (under the v2 topology) incorrectly resulted in the creation of duplicate RPC notifications delivered to every subscribed consumer. As a result, samples derived from RPC notifications were duplicated to the extent that the collector service made multiple subscriptions to the topic control exchanges for individual services (e.g. nova). With this release, QPID now creates a single queue for each topic, to be shared among all consumers of that topic. This ensures that each RPC notification is only received by a single consumer, preventing any unnecessary duplication of samples.
Story Points: ---
Clone Of: 1038641 Environment:
Last Closed: 2013-12-20 00:41:31 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 Perry Myers 2013-12-05 16:38:46 UTC
+++ This bug was initially created as a clone of Bug #1038641 +++

Description of problem:


  See upstream bug:

  https://bugs.launchpad.net/oslo/+bug/1257293

  Note well: this bug _only_ affects those QPID configurations that have applied the fix of the following bug:

   https://bugs.launchpad.net/oslo/+bug/1178375


  _AND_ are have configured "qpid_topology_version=2"



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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from RHEL Product and Program Management on 2013-12-05 09:44:55 EST ---

Since this issue was entered in bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

--- Additional comment from Dave Allan on 2013-12-05 10:11:18 EST ---

Checking into risk of fix; may want to take for 4.0GA

--- Additional comment from Perry Myers on 2013-12-05 11:30:41 EST ---

This seems important enough to be an RC blocker for 4.0.  But doesn't this bug need to be cloned to Nova, Ceilometer, Neutron, etc (every component that copies and pastes the code from Oslo for RPC?)

Comment 1 Eoghan Glynn 2013-12-06 12:40:14 UTC
Fix proposed to master upstream:

  https://review.openstack.org/60475

Comment 2 Eoghan Glynn 2013-12-06 12:41:18 UTC
Fix proposed to stable/havana upstream:

  https://review.openstack.org/60484

Comment 3 Eoghan Glynn 2013-12-06 15:09:02 UTC
Proposed on internal gerrit after IRC discussion indicated that for blockers we should not block on upstream:

  https://code.engineering.redhat.com/gerrit/16995

Comment 9 errata-xmlrpc 2013-12-20 00:41:31 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/RHEA-2013-1859.html