[jira] [Updated] (TS-3645) After TS-3033, some traffic_line commands result in "requested command failed"

2015-12-16 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom updated TS-3645:
--
Fix Version/s: (was: 6.1.0)
   6.2.0

> After TS-3033, some traffic_line commands result in "requested command failed"
> --
>
> Key: TS-3645
> URL: https://issues.apache.org/jira/browse/TS-3645
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Management API
>Affects Versions: 5.3.0, 6.0.0
> Environment: RHEL 6.x, CentOS 6.x (on x86_64)
>Reporter: Dimitry Andric
>Assignee: James Peach
>  Labels: review
> Fix For: 6.2.0
>
> Attachments: ProxyStateSet.diff
>
>
> I recently upgraded from trafficserver 4.x to 5.3.0, and one thing that I 
> noticed was that certain traffic_line commands started printing "requested 
> command failed". For example:
> {noformat}
> # trafficserver start
> Starting Apache Traffic Server:[  OK  ]
> # traffic_line --status
> Proxy -- on
> # traffic_line --shutdown
> error: the requested command failed: [11] Invalid parameters passed into 
> function call.
> # traffic_line --startup
> error: the requested command failed: [11] Invalid parameters passed into 
> function call.
> {noformat}
> Interestingly, even if the --shutdown command gives such an error message, 
> the diags.log file still shows that the server has shut down:
> {noformat}
> [May 28 22:03:03.539] Server {0x2abe4251d700} NOTE: 
> [ProcessManager::processEventQueue] Shutdown msg received, exiting
> {noformat}
> and the --status command also finds the same:
> {noformat}
> # traffic_line  --status
> Proxy -- off
> {noformat}
> Similar for the --startup command: though it gives the same error message, 
> the command seems to have actually worked.
> I did some bisecting to find where this was introduced, and ended up at 
> [commit 
> 355c165|https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;a=commit;h=355c165]
>  (TS-3033: fix PROXY_STATE_GET).  Before this particular commit, both 
> {{traffic_line --shutdown}} and {{traffic_line --startup}} work without 
> printing any error; after the commit, they both start printing "requested 
> command failed".
> If I look at all the work done in TS-3033, and the particular change in 
> [commit 
> 355c165|https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;a=commit;h=355c165],
>  I would guess that some parts of the code are disagreeing about the number 
> of parameters for the PROXY_STATE_GET message.
> Alternatively, there may be some sort of issue in the management API and/or 
> marshalling code, where a PROXY_STATE_GET message with two parameters gets 
> "cut off" in some way, possibly because the server is just shutting down at 
> that point?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (TS-3645) After TS-3033, some traffic_line commands result in "requested command failed"

2015-12-16 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom updated TS-3645:
--
Assignee: James Peach  (was: Phil Sorber)

> After TS-3033, some traffic_line commands result in "requested command failed"
> --
>
> Key: TS-3645
> URL: https://issues.apache.org/jira/browse/TS-3645
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Management API
>Affects Versions: 5.3.0, 6.0.0
> Environment: RHEL 6.x, CentOS 6.x (on x86_64)
>Reporter: Dimitry Andric
>Assignee: James Peach
>  Labels: review
> Fix For: 6.2.0
>
> Attachments: ProxyStateSet.diff
>
>
> I recently upgraded from trafficserver 4.x to 5.3.0, and one thing that I 
> noticed was that certain traffic_line commands started printing "requested 
> command failed". For example:
> {noformat}
> # trafficserver start
> Starting Apache Traffic Server:[  OK  ]
> # traffic_line --status
> Proxy -- on
> # traffic_line --shutdown
> error: the requested command failed: [11] Invalid parameters passed into 
> function call.
> # traffic_line --startup
> error: the requested command failed: [11] Invalid parameters passed into 
> function call.
> {noformat}
> Interestingly, even if the --shutdown command gives such an error message, 
> the diags.log file still shows that the server has shut down:
> {noformat}
> [May 28 22:03:03.539] Server {0x2abe4251d700} NOTE: 
> [ProcessManager::processEventQueue] Shutdown msg received, exiting
> {noformat}
> and the --status command also finds the same:
> {noformat}
> # traffic_line  --status
> Proxy -- off
> {noformat}
> Similar for the --startup command: though it gives the same error message, 
> the command seems to have actually worked.
> I did some bisecting to find where this was introduced, and ended up at 
> [commit 
> 355c165|https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;a=commit;h=355c165]
>  (TS-3033: fix PROXY_STATE_GET).  Before this particular commit, both 
> {{traffic_line --shutdown}} and {{traffic_line --startup}} work without 
> printing any error; after the commit, they both start printing "requested 
> command failed".
> If I look at all the work done in TS-3033, and the particular change in 
> [commit 
> 355c165|https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;a=commit;h=355c165],
>  I would guess that some parts of the code are disagreeing about the number 
> of parameters for the PROXY_STATE_GET message.
> Alternatively, there may be some sort of issue in the management API and/or 
> marshalling code, where a PROXY_STATE_GET message with two parameters gets 
> "cut off" in some way, possibly because the server is just shutting down at 
> that point?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (TS-3645) After TS-3033, some traffic_line commands result in "requested command failed"

2015-07-22 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom updated TS-3645:
--
Labels: review  (was: revi)

> After TS-3033, some traffic_line commands result in "requested command failed"
> --
>
> Key: TS-3645
> URL: https://issues.apache.org/jira/browse/TS-3645
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Management API
>Affects Versions: 5.3.0, 6.0.0
> Environment: RHEL 6.x, CentOS 6.x (on x86_64)
>Reporter: Dimitry Andric
>Assignee: Phil Sorber
>  Labels: review
> Fix For: 6.1.0
>
> Attachments: ProxyStateSet.diff
>
>
> I recently upgraded from trafficserver 4.x to 5.3.0, and one thing that I 
> noticed was that certain traffic_line commands started printing "requested 
> command failed". For example:
> {noformat}
> # trafficserver start
> Starting Apache Traffic Server:[  OK  ]
> # traffic_line --status
> Proxy -- on
> # traffic_line --shutdown
> error: the requested command failed: [11] Invalid parameters passed into 
> function call.
> # traffic_line --startup
> error: the requested command failed: [11] Invalid parameters passed into 
> function call.
> {noformat}
> Interestingly, even if the --shutdown command gives such an error message, 
> the diags.log file still shows that the server has shut down:
> {noformat}
> [May 28 22:03:03.539] Server {0x2abe4251d700} NOTE: 
> [ProcessManager::processEventQueue] Shutdown msg received, exiting
> {noformat}
> and the --status command also finds the same:
> {noformat}
> # traffic_line  --status
> Proxy -- off
> {noformat}
> Similar for the --startup command: though it gives the same error message, 
> the command seems to have actually worked.
> I did some bisecting to find where this was introduced, and ended up at 
> [commit 
> 355c165|https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;a=commit;h=355c165]
>  (TS-3033: fix PROXY_STATE_GET).  Before this particular commit, both 
> {{traffic_line --shutdown}} and {{traffic_line --startup}} work without 
> printing any error; after the commit, they both start printing "requested 
> command failed".
> If I look at all the work done in TS-3033, and the particular change in 
> [commit 
> 355c165|https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;a=commit;h=355c165],
>  I would guess that some parts of the code are disagreeing about the number 
> of parameters for the PROXY_STATE_GET message.
> Alternatively, there may be some sort of issue in the management API and/or 
> marshalling code, where a PROXY_STATE_GET message with two parameters gets 
> "cut off" in some way, possibly because the server is just shutting down at 
> that point?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (TS-3645) After TS-3033, some traffic_line commands result in "requested command failed"

2015-07-22 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom updated TS-3645:
--
Assignee: Phil Sorber

> After TS-3033, some traffic_line commands result in "requested command failed"
> --
>
> Key: TS-3645
> URL: https://issues.apache.org/jira/browse/TS-3645
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Management API
>Affects Versions: 5.3.0, 6.0.0
> Environment: RHEL 6.x, CentOS 6.x (on x86_64)
>Reporter: Dimitry Andric
>Assignee: Phil Sorber
>  Labels: revi
> Fix For: 6.1.0
>
> Attachments: ProxyStateSet.diff
>
>
> I recently upgraded from trafficserver 4.x to 5.3.0, and one thing that I 
> noticed was that certain traffic_line commands started printing "requested 
> command failed". For example:
> {noformat}
> # trafficserver start
> Starting Apache Traffic Server:[  OK  ]
> # traffic_line --status
> Proxy -- on
> # traffic_line --shutdown
> error: the requested command failed: [11] Invalid parameters passed into 
> function call.
> # traffic_line --startup
> error: the requested command failed: [11] Invalid parameters passed into 
> function call.
> {noformat}
> Interestingly, even if the --shutdown command gives such an error message, 
> the diags.log file still shows that the server has shut down:
> {noformat}
> [May 28 22:03:03.539] Server {0x2abe4251d700} NOTE: 
> [ProcessManager::processEventQueue] Shutdown msg received, exiting
> {noformat}
> and the --status command also finds the same:
> {noformat}
> # traffic_line  --status
> Proxy -- off
> {noformat}
> Similar for the --startup command: though it gives the same error message, 
> the command seems to have actually worked.
> I did some bisecting to find where this was introduced, and ended up at 
> [commit 
> 355c165|https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;a=commit;h=355c165]
>  (TS-3033: fix PROXY_STATE_GET).  Before this particular commit, both 
> {{traffic_line --shutdown}} and {{traffic_line --startup}} work without 
> printing any error; after the commit, they both start printing "requested 
> command failed".
> If I look at all the work done in TS-3033, and the particular change in 
> [commit 
> 355c165|https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;a=commit;h=355c165],
>  I would guess that some parts of the code are disagreeing about the number 
> of parameters for the PROXY_STATE_GET message.
> Alternatively, there may be some sort of issue in the management API and/or 
> marshalling code, where a PROXY_STATE_GET message with two parameters gets 
> "cut off" in some way, possibly because the server is just shutting down at 
> that point?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (TS-3645) After TS-3033, some traffic_line commands result in "requested command failed"

2015-07-22 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom updated TS-3645:
--
Labels: revi  (was: )

> After TS-3033, some traffic_line commands result in "requested command failed"
> --
>
> Key: TS-3645
> URL: https://issues.apache.org/jira/browse/TS-3645
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Management API
>Affects Versions: 5.3.0, 6.0.0
> Environment: RHEL 6.x, CentOS 6.x (on x86_64)
>Reporter: Dimitry Andric
>Assignee: Phil Sorber
>  Labels: revi
> Fix For: 6.1.0
>
> Attachments: ProxyStateSet.diff
>
>
> I recently upgraded from trafficserver 4.x to 5.3.0, and one thing that I 
> noticed was that certain traffic_line commands started printing "requested 
> command failed". For example:
> {noformat}
> # trafficserver start
> Starting Apache Traffic Server:[  OK  ]
> # traffic_line --status
> Proxy -- on
> # traffic_line --shutdown
> error: the requested command failed: [11] Invalid parameters passed into 
> function call.
> # traffic_line --startup
> error: the requested command failed: [11] Invalid parameters passed into 
> function call.
> {noformat}
> Interestingly, even if the --shutdown command gives such an error message, 
> the diags.log file still shows that the server has shut down:
> {noformat}
> [May 28 22:03:03.539] Server {0x2abe4251d700} NOTE: 
> [ProcessManager::processEventQueue] Shutdown msg received, exiting
> {noformat}
> and the --status command also finds the same:
> {noformat}
> # traffic_line  --status
> Proxy -- off
> {noformat}
> Similar for the --startup command: though it gives the same error message, 
> the command seems to have actually worked.
> I did some bisecting to find where this was introduced, and ended up at 
> [commit 
> 355c165|https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;a=commit;h=355c165]
>  (TS-3033: fix PROXY_STATE_GET).  Before this particular commit, both 
> {{traffic_line --shutdown}} and {{traffic_line --startup}} work without 
> printing any error; after the commit, they both start printing "requested 
> command failed".
> If I look at all the work done in TS-3033, and the particular change in 
> [commit 
> 355c165|https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;a=commit;h=355c165],
>  I would guess that some parts of the code are disagreeing about the number 
> of parameters for the PROXY_STATE_GET message.
> Alternatively, there may be some sort of issue in the management API and/or 
> marshalling code, where a PROXY_STATE_GET message with two parameters gets 
> "cut off" in some way, possibly because the server is just shutting down at 
> that point?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (TS-3645) After TS-3033, some traffic_line commands result in "requested command failed"

2015-07-21 Thread Wayne Jensen (JIRA)

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

Wayne Jensen updated TS-3645:
-
Attachment: ProxyStateSet.diff

parse_generic_response should be invoked with an opcode matching the request 
opcode.  In the case of ProxyStateSet(), the use of PROXY_STATE_GET as an 
argument to parse_generic_response appears to be a typo.  Attached is a patch 
against the 5.3.1 snapshot which resolves the problem in traffic_line.


> After TS-3033, some traffic_line commands result in "requested command failed"
> --
>
> Key: TS-3645
> URL: https://issues.apache.org/jira/browse/TS-3645
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Management API
>Affects Versions: 5.3.0, 6.0.0
> Environment: RHEL 6.x, CentOS 6.x (on x86_64)
>Reporter: Dimitry Andric
> Fix For: 6.1.0
>
> Attachments: ProxyStateSet.diff
>
>
> I recently upgraded from trafficserver 4.x to 5.3.0, and one thing that I 
> noticed was that certain traffic_line commands started printing "requested 
> command failed". For example:
> {noformat}
> # trafficserver start
> Starting Apache Traffic Server:[  OK  ]
> # traffic_line --status
> Proxy -- on
> # traffic_line --shutdown
> error: the requested command failed: [11] Invalid parameters passed into 
> function call.
> # traffic_line --startup
> error: the requested command failed: [11] Invalid parameters passed into 
> function call.
> {noformat}
> Interestingly, even if the --shutdown command gives such an error message, 
> the diags.log file still shows that the server has shut down:
> {noformat}
> [May 28 22:03:03.539] Server {0x2abe4251d700} NOTE: 
> [ProcessManager::processEventQueue] Shutdown msg received, exiting
> {noformat}
> and the --status command also finds the same:
> {noformat}
> # traffic_line  --status
> Proxy -- off
> {noformat}
> Similar for the --startup command: though it gives the same error message, 
> the command seems to have actually worked.
> I did some bisecting to find where this was introduced, and ended up at 
> [commit 
> 355c165|https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;a=commit;h=355c165]
>  (TS-3033: fix PROXY_STATE_GET).  Before this particular commit, both 
> {{traffic_line --shutdown}} and {{traffic_line --startup}} work without 
> printing any error; after the commit, they both start printing "requested 
> command failed".
> If I look at all the work done in TS-3033, and the particular change in 
> [commit 
> 355c165|https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;a=commit;h=355c165],
>  I would guess that some parts of the code are disagreeing about the number 
> of parameters for the PROXY_STATE_GET message.
> Alternatively, there may be some sort of issue in the management API and/or 
> marshalling code, where a PROXY_STATE_GET message with two parameters gets 
> "cut off" in some way, possibly because the server is just shutting down at 
> that point?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (TS-3645) After TS-3033, some traffic_line commands result in "requested command failed"

2015-06-19 Thread Phil Sorber (JIRA)

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

Phil Sorber updated TS-3645:

Fix Version/s: (was: 6.0.0)
   6.1.0

> After TS-3033, some traffic_line commands result in "requested command failed"
> --
>
> Key: TS-3645
> URL: https://issues.apache.org/jira/browse/TS-3645
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Management API
>Affects Versions: 5.3.0, 6.0.0
> Environment: RHEL 6.x, CentOS 6.x (on x86_64)
>Reporter: Dimitry Andric
> Fix For: 6.1.0
>
>
> I recently upgraded from trafficserver 4.x to 5.3.0, and one thing that I 
> noticed was that certain traffic_line commands started printing "requested 
> command failed". For example:
> {noformat}
> # trafficserver start
> Starting Apache Traffic Server:[  OK  ]
> # traffic_line --status
> Proxy -- on
> # traffic_line --shutdown
> error: the requested command failed: [11] Invalid parameters passed into 
> function call.
> # traffic_line --startup
> error: the requested command failed: [11] Invalid parameters passed into 
> function call.
> {noformat}
> Interestingly, even if the --shutdown command gives such an error message, 
> the diags.log file still shows that the server has shut down:
> {noformat}
> [May 28 22:03:03.539] Server {0x2abe4251d700} NOTE: 
> [ProcessManager::processEventQueue] Shutdown msg received, exiting
> {noformat}
> and the --status command also finds the same:
> {noformat}
> # traffic_line  --status
> Proxy -- off
> {noformat}
> Similar for the --startup command: though it gives the same error message, 
> the command seems to have actually worked.
> I did some bisecting to find where this was introduced, and ended up at 
> [commit 
> 355c165|https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;a=commit;h=355c165]
>  (TS-3033: fix PROXY_STATE_GET).  Before this particular commit, both 
> {{traffic_line --shutdown}} and {{traffic_line --startup}} work without 
> printing any error; after the commit, they both start printing "requested 
> command failed".
> If I look at all the work done in TS-3033, and the particular change in 
> [commit 
> 355c165|https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;a=commit;h=355c165],
>  I would guess that some parts of the code are disagreeing about the number 
> of parameters for the PROXY_STATE_GET message.
> Alternatively, there may be some sort of issue in the management API and/or 
> marshalling code, where a PROXY_STATE_GET message with two parameters gets 
> "cut off" in some way, possibly because the server is just shutting down at 
> that point?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (TS-3645) After TS-3033, some traffic_line commands result in "requested command failed"

2015-06-16 Thread Bryan Call (JIRA)

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

Bryan Call updated TS-3645:
---
Fix Version/s: (was: 6.1.0)
   6.0.0

> After TS-3033, some traffic_line commands result in "requested command failed"
> --
>
> Key: TS-3645
> URL: https://issues.apache.org/jira/browse/TS-3645
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Management API
>Affects Versions: 5.3.0, 6.0.0
> Environment: RHEL 6.x, CentOS 6.x (on x86_64)
>Reporter: Dimitry Andric
> Fix For: 6.0.0
>
>
> I recently upgraded from trafficserver 4.x to 5.3.0, and one thing that I 
> noticed was that certain traffic_line commands started printing "requested 
> command failed". For example:
> {noformat}
> # trafficserver start
> Starting Apache Traffic Server:[  OK  ]
> # traffic_line --status
> Proxy -- on
> # traffic_line --shutdown
> error: the requested command failed: [11] Invalid parameters passed into 
> function call.
> # traffic_line --startup
> error: the requested command failed: [11] Invalid parameters passed into 
> function call.
> {noformat}
> Interestingly, even if the --shutdown command gives such an error message, 
> the diags.log file still shows that the server has shut down:
> {noformat}
> [May 28 22:03:03.539] Server {0x2abe4251d700} NOTE: 
> [ProcessManager::processEventQueue] Shutdown msg received, exiting
> {noformat}
> and the --status command also finds the same:
> {noformat}
> # traffic_line  --status
> Proxy -- off
> {noformat}
> Similar for the --startup command: though it gives the same error message, 
> the command seems to have actually worked.
> I did some bisecting to find where this was introduced, and ended up at 
> [commit 
> 355c165|https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;a=commit;h=355c165]
>  (TS-3033: fix PROXY_STATE_GET).  Before this particular commit, both 
> {{traffic_line --shutdown}} and {{traffic_line --startup}} work without 
> printing any error; after the commit, they both start printing "requested 
> command failed".
> If I look at all the work done in TS-3033, and the particular change in 
> [commit 
> 355c165|https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;a=commit;h=355c165],
>  I would guess that some parts of the code are disagreeing about the number 
> of parameters for the PROXY_STATE_GET message.
> Alternatively, there may be some sort of issue in the management API and/or 
> marshalling code, where a PROXY_STATE_GET message with two parameters gets 
> "cut off" in some way, possibly because the server is just shutting down at 
> that point?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (TS-3645) After TS-3033, some traffic_line commands result in "requested command failed"

2015-06-16 Thread Bryan Call (JIRA)

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

Bryan Call updated TS-3645:
---
Fix Version/s: (was: 6.0.0)
   6.1.0

> After TS-3033, some traffic_line commands result in "requested command failed"
> --
>
> Key: TS-3645
> URL: https://issues.apache.org/jira/browse/TS-3645
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Management API
>Affects Versions: 5.3.0, 6.0.0
> Environment: RHEL 6.x, CentOS 6.x (on x86_64)
>Reporter: Dimitry Andric
> Fix For: 6.1.0
>
>
> I recently upgraded from trafficserver 4.x to 5.3.0, and one thing that I 
> noticed was that certain traffic_line commands started printing "requested 
> command failed". For example:
> {noformat}
> # trafficserver start
> Starting Apache Traffic Server:[  OK  ]
> # traffic_line --status
> Proxy -- on
> # traffic_line --shutdown
> error: the requested command failed: [11] Invalid parameters passed into 
> function call.
> # traffic_line --startup
> error: the requested command failed: [11] Invalid parameters passed into 
> function call.
> {noformat}
> Interestingly, even if the --shutdown command gives such an error message, 
> the diags.log file still shows that the server has shut down:
> {noformat}
> [May 28 22:03:03.539] Server {0x2abe4251d700} NOTE: 
> [ProcessManager::processEventQueue] Shutdown msg received, exiting
> {noformat}
> and the --status command also finds the same:
> {noformat}
> # traffic_line  --status
> Proxy -- off
> {noformat}
> Similar for the --startup command: though it gives the same error message, 
> the command seems to have actually worked.
> I did some bisecting to find where this was introduced, and ended up at 
> [commit 
> 355c165|https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;a=commit;h=355c165]
>  (TS-3033: fix PROXY_STATE_GET).  Before this particular commit, both 
> {{traffic_line --shutdown}} and {{traffic_line --startup}} work without 
> printing any error; after the commit, they both start printing "requested 
> command failed".
> If I look at all the work done in TS-3033, and the particular change in 
> [commit 
> 355c165|https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;a=commit;h=355c165],
>  I would guess that some parts of the code are disagreeing about the number 
> of parameters for the PROXY_STATE_GET message.
> Alternatively, there may be some sort of issue in the management API and/or 
> marshalling code, where a PROXY_STATE_GET message with two parameters gets 
> "cut off" in some way, possibly because the server is just shutting down at 
> that point?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (TS-3645) After TS-3033, some traffic_line commands result in "requested command failed"

2015-06-16 Thread Bryan Call (JIRA)

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

Bryan Call updated TS-3645:
---
Assignee: (was: Bryan Call)

> After TS-3033, some traffic_line commands result in "requested command failed"
> --
>
> Key: TS-3645
> URL: https://issues.apache.org/jira/browse/TS-3645
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Management API
>Affects Versions: 5.3.0, 6.0.0
> Environment: RHEL 6.x, CentOS 6.x (on x86_64)
>Reporter: Dimitry Andric
> Fix For: 6.0.0
>
>
> I recently upgraded from trafficserver 4.x to 5.3.0, and one thing that I 
> noticed was that certain traffic_line commands started printing "requested 
> command failed". For example:
> {noformat}
> # trafficserver start
> Starting Apache Traffic Server:[  OK  ]
> # traffic_line --status
> Proxy -- on
> # traffic_line --shutdown
> error: the requested command failed: [11] Invalid parameters passed into 
> function call.
> # traffic_line --startup
> error: the requested command failed: [11] Invalid parameters passed into 
> function call.
> {noformat}
> Interestingly, even if the --shutdown command gives such an error message, 
> the diags.log file still shows that the server has shut down:
> {noformat}
> [May 28 22:03:03.539] Server {0x2abe4251d700} NOTE: 
> [ProcessManager::processEventQueue] Shutdown msg received, exiting
> {noformat}
> and the --status command also finds the same:
> {noformat}
> # traffic_line  --status
> Proxy -- off
> {noformat}
> Similar for the --startup command: though it gives the same error message, 
> the command seems to have actually worked.
> I did some bisecting to find where this was introduced, and ended up at 
> [commit 
> 355c165|https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;a=commit;h=355c165]
>  (TS-3033: fix PROXY_STATE_GET).  Before this particular commit, both 
> {{traffic_line --shutdown}} and {{traffic_line --startup}} work without 
> printing any error; after the commit, they both start printing "requested 
> command failed".
> If I look at all the work done in TS-3033, and the particular change in 
> [commit 
> 355c165|https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;a=commit;h=355c165],
>  I would guess that some parts of the code are disagreeing about the number 
> of parameters for the PROXY_STATE_GET message.
> Alternatively, there may be some sort of issue in the management API and/or 
> marshalling code, where a PROXY_STATE_GET message with two parameters gets 
> "cut off" in some way, possibly because the server is just shutting down at 
> that point?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (TS-3645) After TS-3033, some traffic_line commands result in "requested command failed"

2015-05-28 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom updated TS-3645:
--
Fix Version/s: 6.0.0

> After TS-3033, some traffic_line commands result in "requested command failed"
> --
>
> Key: TS-3645
> URL: https://issues.apache.org/jira/browse/TS-3645
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Management API
>Affects Versions: 5.3.0, 6.0.0
> Environment: RHEL 6.x, CentOS 6.x (on x86_64)
>Reporter: Dimitry Andric
> Fix For: 6.0.0
>
>
> I recently upgraded from trafficserver 4.x to 5.3.0, and one thing that I 
> noticed was that certain traffic_line commands started printing "requested 
> command failed". For example:
> {noformat}
> # trafficserver start
> Starting Apache Traffic Server:[  OK  ]
> # traffic_line --status
> Proxy -- on
> # traffic_line --shutdown
> error: the requested command failed: [11] Invalid parameters passed into 
> function call.
> # traffic_line --startup
> error: the requested command failed: [11] Invalid parameters passed into 
> function call.
> {noformat}
> Interestingly, even if the --shutdown command gives such an error message, 
> the diags.log file still shows that the server has shut down:
> {noformat}
> [May 28 22:03:03.539] Server {0x2abe4251d700} NOTE: 
> [ProcessManager::processEventQueue] Shutdown msg received, exiting
> {noformat}
> and the --status command also finds the same:
> {noformat}
> # traffic_line  --status
> Proxy -- off
> {noformat}
> Similar for the --startup command: though it gives the same error message, 
> the command seems to have actually worked.
> I did some bisecting to find where this was introduced, and ended up at 
> [commit 
> 355c165|https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;a=commit;h=355c165]
>  (TS-3033: fix PROXY_STATE_GET).  Before this particular commit, both 
> {{traffic_line --shutdown}} and {{traffic_line --startup}} work without 
> printing any error; after the commit, they both start printing "requested 
> command failed".
> If I look at all the work done in TS-3033, and the particular change in 
> [commit 
> 355c165|https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;a=commit;h=355c165],
>  I would guess that some parts of the code are disagreeing about the number 
> of parameters for the PROXY_STATE_GET message.
> Alternatively, there may be some sort of issue in the management API and/or 
> marshalling code, where a PROXY_STATE_GET message with two parameters gets 
> "cut off" in some way, possibly because the server is just shutting down at 
> that point?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (TS-3645) After TS-3033, some traffic_line commands result in "requested command failed"

2015-05-28 Thread Dimitry Andric (JIRA)

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

Dimitry Andric updated TS-3645:
---
  Environment: RHEL 6.x, CentOS 6.x (on x86_64)
Affects Version/s: 6.0.0
   5.3.0

> After TS-3033, some traffic_line commands result in "requested command failed"
> --
>
> Key: TS-3645
> URL: https://issues.apache.org/jira/browse/TS-3645
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Management API
>Affects Versions: 5.3.0, 6.0.0
> Environment: RHEL 6.x, CentOS 6.x (on x86_64)
>Reporter: Dimitry Andric
>
> I recently upgraded from trafficserver 4.x to 5.3.0, and one thing that I 
> noticed was that certain traffic_line commands started printing "requested 
> command failed". For example:
> {noformat}
> # trafficserver start
> Starting Apache Traffic Server:[  OK  ]
> # traffic_line --status
> Proxy -- on
> # traffic_line --shutdown
> error: the requested command failed: [11] Invalid parameters passed into 
> function call.
> # traffic_line --startup
> error: the requested command failed: [11] Invalid parameters passed into 
> function call.
> {noformat}
> Interestingly, even if the --shutdown command gives such an error message, 
> the diags.log file still shows that the server has shut down:
> {noformat}
> [May 28 22:03:03.539] Server {0x2abe4251d700} NOTE: 
> [ProcessManager::processEventQueue] Shutdown msg received, exiting
> {noformat}
> and the --status command also finds the same:
> {noformat}
> # traffic_line  --status
> Proxy -- off
> {noformat}
> Similar for the --startup command: though it gives the same error message, 
> the command seems to have actually worked.
> I did some bisecting to find where this was introduced, and ended up at 
> [commit 
> 355c165|https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;a=commit;h=355c165]
>  (TS-3033: fix PROXY_STATE_GET).  Before this particular commit, both 
> {{traffic_line --shutdown}} and {{traffic_line --startup}} work without 
> printing any error; after the commit, they both start printing "requested 
> command failed".
> If I look at all the work done in TS-3033, and the particular change in 
> [commit 
> 355c165|https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;a=commit;h=355c165],
>  I would guess that some parts of the code are disagreeing about the number 
> of parameters for the PROXY_STATE_GET message.
> Alternatively, there may be some sort of issue in the management API and/or 
> marshalling code, where a PROXY_STATE_GET message with two parameters gets 
> "cut off" in some way, possibly because the server is just shutting down at 
> that point?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (TS-3645) After TS-3033, some traffic_line commands result in "requested command failed"

2015-05-28 Thread Dimitry Andric (JIRA)

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

Dimitry Andric updated TS-3645:
---
Summary: After TS-3033, some traffic_line commands result in "requested 
command failed"  (was: After TS-3033, some traffic_line command result in 
"requested command failed")

> After TS-3033, some traffic_line commands result in "requested command failed"
> --
>
> Key: TS-3645
> URL: https://issues.apache.org/jira/browse/TS-3645
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Management API
>Reporter: Dimitry Andric
>
> I recently upgraded from trafficserver 4.x to 5.3.0, and one thing that I 
> noticed was that certain traffic_line commands started printing "requested 
> command failed". For example:
> {noformat}
> # trafficserver start
> Starting Apache Traffic Server:[  OK  ]
> # traffic_line --status
> Proxy -- on
> # traffic_line --shutdown
> error: the requested command failed: [11] Invalid parameters passed into 
> function call.
> # traffic_line --startup
> error: the requested command failed: [11] Invalid parameters passed into 
> function call.
> {noformat}
> Interestingly, even if the --shutdown command gives such an error message, 
> the diags.log file still shows that the server has shut down:
> {noformat}
> [May 28 22:03:03.539] Server {0x2abe4251d700} NOTE: 
> [ProcessManager::processEventQueue] Shutdown msg received, exiting
> {noformat}
> and the --status command also finds the same:
> {noformat}
> # traffic_line  --status
> Proxy -- off
> {noformat}
> Similar for the --startup command: though it gives the same error message, 
> the command seems to have actually worked.
> I did some bisecting to find where this was introduced, and ended up at 
> [commit 
> 355c165|https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;a=commit;h=355c165]
>  (TS-3033: fix PROXY_STATE_GET).  Before this particular commit, both 
> {{traffic_line --shutdown}} and {{traffic_line --startup}} work without 
> printing any error; after the commit, they both start printing "requested 
> command failed".
> If I look at all the work done in TS-3033, and the particular change in 
> [commit 
> 355c165|https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;a=commit;h=355c165],
>  I would guess that some parts of the code are disagreeing about the number 
> of parameters for the PROXY_STATE_GET message.
> Alternatively, there may be some sort of issue in the management API and/or 
> marshalling code, where a PROXY_STATE_GET message with two parameters gets 
> "cut off" in some way, possibly because the server is just shutting down at 
> that point?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)