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

Switch to verify qdrouterd installation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.7.0
    • 0.7.0
    • None
    • None

    Description

      There should be a qdrouterd switch that can be used to verify that the router is installed correctly. Its success should

      1. Give user opportunity to check that PATH is set correctly. It should print full path to itself (qdrouterd binary) in the output.
      2. Print router version, so that user can check the version is correct.
      3. Ensure that all dynamically loaded libraries are present and qdrouterd can be started.
      4. Ensure that PYTHONPATH is set correctly

      Running just qdrouterd is not sufficient, because port 5672 may be currently occupied. The command fails, even though router is installed correctly.

      Running qdrouterd -h is also not adequate. Currently, on my machine, qdrouterd is failing with Wed Sep 21 10:03:52 2016 ERROR (error) Python: ImportError: No module named qpid_dispatch_site yet qdrouterd -h is working just fine.

      I suggest adding a --version switch that would do what I listed above.

      Attachments

        Activity

          People

            gmurthy Ganesh Murthy
            jdanek Jiri Daněk
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: