Bug 1096935
| Summary: | Restarting Qpid Multiple Times Crash qpid.messaging Endpoints | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Brian Bouterse <bmbouter> |
| Component: | consumers | Assignee: | Brian Bouterse <bmbouter> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.4 Beta | CC: | mhrivnak, pthomas, skarmark |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | 2.4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-08-09 06:56:00 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: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1096539 | ||
|
Description
Brian Bouterse
2014-05-12 17:55:16 UTC
The root cause of this bug is that on qpid-cpp-server 0.18, to have a "durable" queue, you need to also install the 'qpid-cpp-server-store' rpm. This behavior was changed in later versions of qpid, and has been verified to not be needed with qpid 0.24. On qpid 0.18 without the qpid-cpp-server-store package, a queue that is marked as durable, does not survive a restart. Gofer also is set to automatically declare the pulp.task queue, however I believe the queue auto-creation does not occur if qpid.messaging reconnects. Thus if qpidd is bounced, when it comes back gofer cannot find the pulp.task queue! I do not understand why this occurs on the second bounce of qpidd, and not hte first. The issue was reproduced on a machine. Then the qpid-cpp-server-store package was installed, and the issue could not be reproduced. The resolution is to update the docs with a note about this behavior, and to add a FAQ entry relating that message to this issue. No dependencies will be adjusted to include the 'qpid-cpp-server-store' rpm because it isn't needed for any recent version of qpid, and pulp does not require any qpid components in its dependencies because it is broker agnostic. PR available at: https://github.com/pulp/pulp/pull/974 Fixed in 2.4.0-0.17.beta. verified I was able to reproduce the error with the steps above and installing the qpid-cpp-server-store fixed the issue for me. [root@ibm-x3250m4-04 ~]# rpm -qa pulp-server pulp-server-2.4.0-0.18.beta.el6.noarch [root@ibm-x3250m4-04 ~]# [root@ibm-x3250m4-04 ~]# [root@ibm-x3250m4-04 ~]# [root@ibm-x3250m4-04 ~]# rpm -qa |grep qpid qpid-cpp-client-0.18-17.el6_4.x86_64 python-qpid-0.18-5.el6_4.noarch qpid-cpp-server-0.18-17.el6_4.x86_64 qpid-qmf-0.18-18.el6_4.x86_64 python-qpid-qmf-0.18-18.el6_4.x86_64 python-gofer-qpid-1.0.13-1.el6.noarch qpid-cpp-server-store-0.18-17.el6_4.x86_64 qpid-tools-0.18-10.el6_4.noarch [root@ibm-x3250m4-04 ~]# Moving it back to on_qa since I have seen conversation on this behavior. Will have to check with different versions of qpid. verified again that this issue has been resolved This has been fixed in Pulp 2.4.0-1. |