Bug 790571

Summary: qpid-cluster -C cannot parse supplied cluster-url IPv6 literals
Product: Red Hat Enterprise MRG Reporter: Zdenek Kraus <zkraus>
Component: qpid-toolsAssignee: messaging-bugs <messaging-bugs>
Status: NEW --- QA Contact: MRG Quality Engineering <mrgqe-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1CC: jross
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
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: 802466    

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: