Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-368

Router in bad state in two inter-connected routers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6.0
    • 0.6.0
    • Routing Engine
    • None
    • Debian 8.3, Apache Qpid Proton 0.12.2 for drivers and dependencies, Hardware: 2 CPUs, 15 GB RAM, 60 GB HDD on 2 separate machines

    Description

      The setup of two inter-connected routers is the same as in DISPATCH-358. Let the routers be A and B. Senders connect to A and receivers connect to B. While senders are sending messages to A, restart router B every 10 sec. Senders check tracker status to make sure messages are accepted by the receivers. After running for some time, router A is in bad state. No messages sent are accepted. After that point, I keep router B up without restarting. The problem does not go away. Restart senders and receivers and does not help. I also notice the error in the log:

      ============================
      2016-06-07 14:13:39.287550 -0700 AGENT (debug) Add entity: RouterNodeEntity (address=amqp:/_topo/0/Router.A.1, cost=None, id=Router.A.1, instance=1465333922, linkState=[],
      nextHop=None, routerLink=None, type=org.apache.qpid.dispatch.router.node, validOrigins=None)
      2016-06-07 14:13:39.294891 -0700 ROUTER (error) Control message error: opcode=HELLO body=

      {'seen': ['Router.A.0'], 'area': '0', 'id': 'Router.A.1', 'instance': 1465333922L}

      Traceback (most recent call last):
      File "/usr/local/lib/qpid-dispatch/python/qpid_dispatch_internal/router/engine.py", line 137,

      in handleControlMessage
      self.hello_protocol.handle_hello(msg, now, link_id, cost)
      File "/usr/local/lib/qpid-dispatch/python/qpid_dispatch_internal/router/hello.py", line 55,

      in handle_hello
      self.node_tracker.neighbor_refresh(msg.id, msg.instance, link_id, cost, now)
      File "/usr/local/lib/qpid-dispatch/python/qpid_dispatch_internal/router/node.py", line 207,

      in neighbor_refresh
      if node.set_link_id(link_id):
      File "/usr/local/lib/qpid-dispatch/python/qpid_dispatch_internal/router/node.py", line 410,

      in set_link_id
      self.adapter.set_link(self.maskbit, link_id)
      OverflowError: signed integer is greater than maximum

      Attachments

        Issue Links

          Activity

            People

              tross Ted Ross
              eric2a Eric Leu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: