[ 
https://issues.apache.org/jira/browse/DISPATCH-521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiri Danek closed DISPATCH-521.
-------------------------------

The current state is good enough for me. the -v/--version switch was added and 
it fulfills points 2. and 3. from Description. Checking PATH can be done with 
the `which command`.

Point 4. is not fulfilled, but router function is best checked by just starting 
the router. The router currently fails to start if port is occupied 
(DISPATCH-55), but even seeing the unsuccessful startup log is a good enough 
indication, I guess.

> Switch to verify qdrouterd installation
> ---------------------------------------
>
>                 Key: DISPATCH-521
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-521
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>    Affects Versions: 0.7.0
>            Reporter: Jiri Danek
>            Assignee: Ganesh Murthy
>             Fix For: 0.7.0
>
>
> There should be a {{qdrouterd}} switch that can be used to verify that the 
> router is installed correctly. Its success should
> # Give user opportunity to check that PATH is set correctly. It should print 
> full path to itself (qdrouterd binary) in the output.
> # Print router version, so that user can check the version is correct.
> # Ensure that all dynamically loaded libraries are present and qdrouterd can 
> be started.
> # 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to