Bug 500470
| Summary: | Python QPID client is incompatible with python 2.6 (due to SSL) | ||
|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Will Benton <willb> |
| Component: | python-qpid | Assignee: | Rafael H. Schloming <rafaels> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | MRG Quality Engineering <mrgqe-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | Development | CC: | cctrieloff, jross, rafaels, tross, willb |
| Target Milestone: | 1.3 | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-06-28 19:32:44 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
This is no longer an issue. |
Description of problem: The python client is incompatible with the python 2.6 library (as shipped in F11 beta). Version-Release number of selected component (if applicable): python-qpid-0.5.752600 How reproducible: Run qpid-tool or create a Connection object; it will crash (silently, in the case of qpid-tool, since the exception is caught but ignored) in sslwrap because there is no socket.SSLType in Python 2.6. Steps to Reproduce: 1. Run qpid-tool or create a Connection object. Actual results: Here's a traceback from qpid-tool: Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/qpid/managementdata.py", line 210, in __init__ username=self.broker.username, password=self.broker.password) File "/usr/lib/python2.6/site-packages/qpid/connection.py", line 66, in __init__ Assembler.__init__(self, sslwrap(sock)) File "/usr/lib/python2.6/site-packages/qpid/connection.py", line 58, in sslwrap if isinstance(sock, socket.SSLType): Expected results: Testing to see if a socket uses SSL or not should not fail.