Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-4221

qpid-cluster -c does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.14
    • None
    • C++ Tools

    Description

      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

      Attachments

        1. 0001-qpid-cluster-c-doesnt-work.patch
          0.6 kB
          Pavel Moravec
        2. qpid-cluster-ipv6.patch
          0.6 kB
          Pavel Moravec

        Activity

          People

            Unassigned Unassigned
            pmoravec Pavel Moravec
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified