Bug 788040
| Summary: | "qpid-python" package for Windows needs to be updated for ability to run with IPv6 addressing | ||
|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Petra Svobodová <psvobodo> |
| Component: | python-qpid | Assignee: | Chuck Rolke <crolke> |
| Status: | CLOSED WONTFIX | QA Contact: | Petra Svobodová <psvobodo> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | Development | CC: | astitcher, iboverma, jross, lzhaldyb, psvobodo |
| Target Milestone: | 3.0 | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Windows | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-06-20 15:56:57 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: | |||
It sounds like the python package versions being tried here are simply versions from before the IPv6 support was added. Ths fix would be to respin new packages for windows based on newer code. Chuck, please verify that this is fixed. (In reply to comment #1) > It sounds like the python package versions being tried here are simply > versions from before the IPv6 support was added. > > Ths fix would be to respin new packages for windows based on newer code. Python 0.20 works just fine:
pythonpath=s:\users\chug\0.20-python\qpid-0.20\python
S:\Users\chug\0.20-python\qpid-0.20\python\examples\api>python spout -b [::1]:5672 "amq.topic" "HELLO"
Message(properties={'spout-id': '0364bdc5-5216-4d9a-b556-411e081411aa:0'}, content='HELLO')
However, this test was run from qpid-python-0.20.tar.gz and not from an msi package.
Where did the kit qpid-python-0.7946106a15.win32-py2.6.msi come from? The qpid-python packages are here: http://mrg1.lab.bos.redhat.com/python-msi/qpid-python-0.7946106a15.win32-py2.6.msi I do not know about any newer ones. Packages for Linux are able to run on Windows too, but they have no Windows installer. |
Description of problem: Currently the qpid python libraries contained in the last "qpid-python" packages for Windows do not support running over IPv6. Version-Release number of selected component (if applicable): qpid-python-0.7946106a15.win32-py2.6.msi How reproducible: 100% Steps to Reproduce: 1. Install the qpid-python-0.7946106a15.win32-py2.6.msi package 2. Try to use any python client example on Windows; for example: C:\Python26\python.exe spout.py --broker [<IPv6 address>] "amq.topic" "HELLO" Actual results: The application exits with ValueError exception; see the Windows command line transcript, please: Traceback (most recent call last): File "C:\qpid_test\python_examples\spout.py", line 109, in <module> **conn_options) File "c:\Python26\Lib\site-packages\qpid\messaging\endpoints.py", line 125, in __init__ url = URL(url) File "c:\Python26\Lib\site-packages\qpid\util.py", line 121, in __init__ raise ValueError(s) ValueError: [<IPv6 address>]:5672 Expected results: The application should run and exit by normal way. Additional info: The python example clients (spout and drain) and also qpid-tools are able to run on Windows if python libraries contained in the "qpid" folder from "python-qpid-0.14.tar.gz" are used.