1. Qpid
  2. QPID-3931

x-qpid.cluster-update exchange existing but hidden


    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.16
    • Fix Version/s: 0.17
    • Component/s: C++ Broker
    • Labels:


      Description of problem:
      Having a broker in a cluster, it creates x-qpid.cluster-update fanout exchange
      via that it receives updates from an elder node. The problem is the exchange is
      still present after the update finishes, and moreover nothing lists the
      exchange (try qpid-config exchanges, qpid-tool, etc.).

      The exchange can be used for a regular message traffic - see reproducer for

      Note it is a security flaw also - having an exchange never listed, nowhere
      documented (BZ to be raised and linked), but able to be used. Constructing
      ACLs, one can easily miss it, e.g.

      Note that on qpid 0.10, the exchange is named qpid.cluster-update (without "x-"

      Version-Release number of selected component (if applicable):
      any (tried on qpid 0.12)

      How reproducible:

      Steps to Reproduce:
      1. Have 2 node cluster (brokers A and B)

      2. Start broker A, create a queue:
      qpid-config add queue testQueue

      3. Start broker B that will be updated from broker A

      4. Check in any way x-qpid.cluster-update exchange is not visible:
      qpid-config exchanges | grep x-qpid.cluster-update
      qpid-tool -> list exchange

      5. Create a binding from the exchange:
      qpid-config bind x-qpid.cluster-update testQueue

      6. Send some messages to the exchange:
      ./spout -c 10 x-qpid.cluster-update

      7. Check the queue gets the messages:
      qpid-stat -q

      Actual results:
      All steps succeed, step 7 shows the queue has 10 messages

      Expected results:
      Step 5 should fail with "no such exchange exists" error


        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        19m 34s 1 Alan Conway 04/Apr/12 14:59
        Resolved Resolved Closed Closed
        481d 3h 53m 1 Justin Ross 29/Jul/13 18:52
        Justin Ross made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Alan Conway made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Alan Conway added a comment -

        Fixed on trunk

        Alan Conway added a comment - Fixed on trunk
        Alan Conway created issue -


          • Assignee:
            Alan Conway
            Alan Conway
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created: