Pavel Moravec created QPID-4221:
-----------------------------------

             Summary: qpid-cluster -c does not work
                 Key: QPID-4221
                 URL: https://issues.apache.org/jira/browse/QPID-4221
             Project: Qpid
          Issue Type: Bug
          Components: Python Tools
    Affects Versions: 0.14
            Reporter: Pavel Moravec
            Priority: Minor


Description of problem:
qpid-cluster -c <ID> shall view client connections to specified member, but it 
does not work at all. 


Version-Release number of selected component (if applicable):
any


How reproducible:
100%


Steps to Reproduce:
1. Setup a qpid cluster
2. Run qpid-cluster <one_broker_address> to discover ID of a broker. Output is 
something like:
$ qpid-cluster localhost:5672
  Cluster Name: test
Cluster Status: ACTIVE
  Cluster Size: 2
       Members: ID=1.2.3.4:28840 URL=amqp:tcp:1.2.3.4:5672
              : ID=1.2.3.5:21260 URL=amqp:tcp:1.2.3.5:5672
$
3. Query for connections on one node using broker ID from previous output, i.e.:
$ qpid-cluster -c 1.2.3.4:28840 localhost:5672

  
Actual results:
Output identical to the one in point 2. is written:
  Cluster Name: test
Cluster Status: ACTIVE
  Cluster Size: 2
       Members: ID=1.2.3.4:28840 URL=amqp:tcp:1.2.3.4:5672
              : ID=1.2.3.5:21260 URL=amqp:tcp:1.2.3.5:5672


Expected results:
List of connections, i.e. something like:
Clients on Member: ID=1.2.3.5:21260:
    dhcp-1-223:5672-1.2.3.4
    dhcp-1-223:5672-1.2.3.5
    localhost.localdomain:5672-127.0.0.1


Additional info:
Patch attached, trivial omitting of setting up variables at options parsing


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to