Bug 790571 - qpid-cluster -C cannot parse supplied cluster-url IPv6 literals
Summary: qpid-cluster -C cannot parse supplied cluster-url IPv6 literals
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-tools
Version: 2.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: messaging-bugs
QA Contact: MRG Quality Engineering
URL:
Whiteboard:
Depends On:
Blocks: 802466
TreeView+ depends on / blocked
 
Reported: 2012-02-14 20:56 UTC by Zdenek Kraus
Modified: 2020-11-04 22:30 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Zdenek Kraus 2012-02-14 20:56:29 UTC
Description of problem:
Whene supplying broker address as IPv6 literal (ex. [IPv6]) the qpid-cluster
fails to connect. It's probably tries to resolve literal as domain name.

Version-Release number of selected component (if applicable):
qpid-tools-0.12-2.el6.noarch
python-qpid-0.14-1.el6.noarch
python-qpid-qmf-0.14-3.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. start up cluster with --cluster-url with IPv6 able broker (ex.
amqp:tcp:[IPv6])
2. run qpid-cluster -C 127.0.0.1
3. observe that qpid-cluster fails


Actual results:
Traceback (most recent call last):
  File "/usr/bin/qpid-cluster", line 311, in <module>
    sys.exit(main())
  File "/usr/bin/qpid-cluster", line 302, in main
    raise Exception("Failed: %s - %s" % (e.__class__.__name__, e))
Exception: Failed: Exception - Invalid URL 2

Expected results:
qpid-cluster lists active connections

Additional info:


Note You need to log in before you can comment on or make changes to this bug.