You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2017/04/20 13:14:26 UTC
Review Request 58571: Devdeploy: Logsearch service check fails
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/58571/
-----------------------------------------------------------
Review request for Ambari and Vitalyi Brodetskyi.
Bugs: AMBARI-20803
https://issues.apache.org/jira/browse/AMBARI-20803
Repository: ambari
Description
-------
2017-04-20 13:11:55,559 - Log Search Server not running
Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/common-services/LOGSEARCH/0.5.0/package/scripts/service_check.py", line 38, in <module>
LogSearchServiceCheck().execute()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 315, in execute
method(env)
File "/var/lib/ambari-agent/cache/common-services/LOGSEARCH/0.5.0/package/scripts/service_check.py", line 31, in service_check
tries=15, try_sleep=5, timeout=10)
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__
self.env.run()
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
self.run_action(resource, action)
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
provider_action()
File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 262, in action_run
tries=self.resource.tries, try_sleep=self.resource.try_sleep)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 72, in inner
result = function(command, **kwargs)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 102, in checked_call
tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 150, in _call_wrapper
result = _call(command, **kwargs_copy)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 303, in _call
raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed: Execution of 'curl -k -s -o /dev/null -w "%{http_code}" http://:61888/login.html | grep 200' returned 1.
Diffs
-----
ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/scripts/params.py d00be4e
Diff: https://reviews.apache.org/r/58571/diff/1/
Testing
-------
mvn clean test
Thanks,
Andrew Onischuk
Re: Review Request 58571: Devdeploy: Logsearch service check fails
Posted by Vitalyi Brodetskyi <vb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/58571/#review172479
-----------------------------------------------------------
Ship it!
Ship It!
- Vitalyi Brodetskyi
On \u041a\u0432\u0456\u0442\u0435\u043d\u044c 20, 2017, 1:14 \u043f\u0456\u0441\u043b\u044f \u043f\u043e\u043b\u0443\u0434\u043d\u044f, Andrew Onischuk wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/58571/
> -----------------------------------------------------------
>
> (Updated \u041a\u0432\u0456\u0442\u0435\u043d\u044c 20, 2017, 1:14 \u043f\u0456\u0441\u043b\u044f \u043f\u043e\u043b\u0443\u0434\u043d\u044f)
>
>
> Review request for Ambari and Vitalyi Brodetskyi.
>
>
> Bugs: AMBARI-20803
> https://issues.apache.org/jira/browse/AMBARI-20803
>
>
> Repository: ambari
>
>
> Description
> -------
>
> 2017-04-20 13:11:55,559 - Log Search Server not running
> Traceback (most recent call last):
> File "/var/lib/ambari-agent/cache/common-services/LOGSEARCH/0.5.0/package/scripts/service_check.py", line 38, in <module>
> LogSearchServiceCheck().execute()
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 315, in execute
> method(env)
> File "/var/lib/ambari-agent/cache/common-services/LOGSEARCH/0.5.0/package/scripts/service_check.py", line 31, in service_check
> tries=15, try_sleep=5, timeout=10)
> File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__
> self.env.run()
> File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
> self.run_action(resource, action)
> File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
> provider_action()
> File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 262, in action_run
> tries=self.resource.tries, try_sleep=self.resource.try_sleep)
> File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 72, in inner
> result = function(command, **kwargs)
> File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 102, in checked_call
> tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)
> File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 150, in _call_wrapper
> result = _call(command, **kwargs_copy)
> File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 303, in _call
> raise ExecutionFailed(err_msg, code, out, err)
> resource_management.core.exceptions.ExecutionFailed: Execution of 'curl -k -s -o /dev/null -w "%{http_code}" http://:61888/login.html | grep 200' returned 1.
>
>
> Diffs
> -----
>
> ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/scripts/params.py d00be4e
>
>
> Diff: https://reviews.apache.org/r/58571/diff/1/
>
>
> Testing
> -------
>
> mvn clean test
>
>
> Thanks,
>
> Andrew Onischuk
>
>