Bug 1038709

Summary: [oslo] On restart of QPID or reconnect to QPID, fanout RPC no longer works
Product: Red Hat OpenStack Reporter: Perry Myers <pmyers>
Component: openstack-heatAssignee: Steven Dake <sdake>
Status: CLOSED ERRATA QA Contact: Jeff Peeler <jpeeler>
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: ajeain, breeler, dallan, ddomingo, hateya, jpeeler, kgiusti, ndipanov, sbaker, sdake, shardy, yeylon
Target Milestone: rcKeywords: OtherQA
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-heat-2013.2-4.el6ost Doc Type: Bug Fix
Doc Text:
When the QPID broker is restarted, RPC servers attempt to re-connect. However, a bug in the QPID topic consumer re-connection logic (under the v2 topology) caused qpidd to use a malformed subscriber address after restarting. This caused qpidd to incorrectly establish multiple subscriptions on the same fanout address after reconnecting. The QPID broker only requires one subscription; each extra subscription created duplicate RPC notification samples for individual services (e.g. Heat). This release removes the special-case reconnect logic that handles UUID addresses, which in turn avoids the incorrect establishment of multiple subscription to the same fanout address. The QPID broker will simply generate unique queue names automatically when clients reconnect.
Story Points: ---
Clone Of: 1038638 Environment:
Last Closed: 2013-12-20 00:33:01 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:34:23 UTC
+++ This bug was initially created as a clone of Bug #1038638 +++

Description of problem:

   See upstream bug report:

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


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:45:05 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:12:09 EST ---

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

--- Additional comment from Perry Myers on 2013-12-05 11:29:29 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 Jeff Peeler 2013-12-06 16:50:38 UTC
Landed on master upstream:
https://review.openstack.org/60311

Proposed to stable/havana upstream:
https://review.openstack.org/60486

Backport in internal repo:
https://code.engineering.redhat.com/gerrit/16996

Comment 6 Jeff Peeler 2013-12-17 20:14:41 UTC
Restarted qpidd and verified Heat stack operations create, delete, and list worked properly. (Patch info in comment 1.)

Comment 8 errata-xmlrpc 2013-12-20 00:33:01 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