Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-9445

minion:ping does not properly validate JMS broker connectivity

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 19.0.0, 19.0.1, 19.1.0, 20.0.0
    • Fix Version/s: 20.0.1
    • Component/s: Minion
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon - June 21st, Horizon - June 28th

      Description

      When running minion:ping in the Karaf shell on the Minion, we test the broker connectivity by acquiring a connection from the pool.

      Unfortunately, this does actually test the connection. We've see reports of this passing even when the broker is unreachable, or configured to SSL when the client is not.

      I suspect that this used to work better, before we started using the failover: protocol as part of the URI.

      Instead we should try to actually use the connection, possibly by trying to make sure we can actually write to a queue.

        Attachments

          Activity

            People

            • Assignee:
              j-white Jesse White
              Reporter:
              j-white Jesse White
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: