Bug 790570 - qpid-cluster -C cannot parse IPv6 literals
Summary: qpid-cluster -C cannot parse 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:52 UTC by Zdenek Kraus
Modified: 2020-11-04 22:30 UTC (History)
2 users (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:52:25 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 [IPv6]
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: gaierror - [Errno -2] Name or service not known


Expected results:
qpid-cluster lists active connections

Additional info:

Comment 1 Zdenek Kraus 2012-02-14 20:56:33 UTC
Sorry for the inconvenience, there is an mistake in step 1. there is no need to setting up cluster-url with IPv6 literal.

Comment 2 Andrew Stitcher 2012-02-14 21:36:39 UTC
Is this a duplicate of Bug 790571?

Comment 3 Zdenek Kraus 2012-02-15 15:16:14 UTC
This is not a duplicate, it is simmilar case but on different place. This says that qpid-cluster -C cannot parse IPv6 literal on command line. (so here is no need to set cluster-url to IPv6 literal)

Bug 790571 says, that qpid-cluster -C cannot parse IPv6 literal supplied in cluster-url set on broker.


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