You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2012/11/20 18:00:59 UTC
[jira] [Assigned] (TS-972) traffic_line should warn if a command
didn't succeed
[ https://issues.apache.org/jira/browse/TS-972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leif Hedstrom reassigned TS-972:
--------------------------------
Assignee: Leif Hedstrom
> traffic_line should warn if a command didn't succeed
> ----------------------------------------------------
>
> Key: TS-972
> URL: https://issues.apache.org/jira/browse/TS-972
> Project: Traffic Server
> Issue Type: Improvement
> Components: Management API
> Affects Versions: 3.1.0, 3.0.1
> Reporter: Arno Toell
> Assignee: Leif Hedstrom
> Fix For: 3.3.1
>
>
> {{traffic_line}} is a handy tool to manage a traffic server instance. For example it is possible to retrieve and set configuration settings through command line like this:
> {code}
> root@wv-tmp2:/home/at# traffic_line -r proxy.config.http.server_port ; echo $?
> 81
> 0
> {code}
> However, some commans can be set, but aren't effective until the server is restarted, despite of ATS offering the _-x_ option to flush configuration and reread new settings:
> {code}
> root@wv-tmp2:/home/at# traffic_line -s proxy.config.http.server_port -v 80 ; echo $?
> 0
> root@wv-tmp2:/home/at# traffic_line -x ; echo $?
> 0
> {code}
> Trafficserver should possibly warn when setting such settings which aren't effective until the server is restarted and leave with a non-zero exit status for _-x_ in such cases.
> Moreover {{traffic_line}} does not work at all if the manager is not running:
> {code}
> # traffic_line -r proxy.config.http.server_port ; echo $?
> traffic_line: Variable Not Found
> 1
> {code}
> That's all right, but the error message shall be improved telling that. :)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira