-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/52788/#review152346
-----------------------------------------------------------


Ship it!




Ship It!

- Vitalyi Brodetskyi


On Жов. 12, 2016, 4:52 після полудня, Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/52788/
> -----------------------------------------------------------
> 
> (Updated Жов. 12, 2016, 4:52 після полудня)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-18579
>     https://issues.apache.org/jira/browse/AMBARI-18579
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Noticed this issue in Ambari system tests clusters that run on YCloud, that
> Grafana fails to start after deployment with the below error
> 
>     
>     
>     
>         "stderr" : "Traceback (most recent call last):\n  File 
> \"/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana.py\",
>  line 67, in <module>\n    AmsGrafana().execute()\n  File 
> \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
>  line 280, in execute\n    method(env)\n  File 
> \"/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana.py\",
>  line 46, in start\n    user=params.ams_user\n  File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/base.py\", line 
> 155, in __init__\n    self.env.run()\n  File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", 
> line 160, in run\n    self.run_action(resource, action)\n  File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", 
> line 124, in run_action\n    provider_action()\n  File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py\",
>  line
  273, in action_run\n    tries=self.resource.tries, 
try_sleep=self.resource.try_sleep)\n  File 
\"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 
71, in inner\n    result = function(command, **kwargs)\n  File 
\"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 
93, in checked_call\n    tries=tries, try_sleep=try_sleep)\n  File 
\"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 
141, in _call_wrapper\n    result = _call(command, **kwargs_copy)\n  File 
\"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 
294, in _call\n    raise 
Fail(err_msg)\nresource_management.core.exceptions.Fail: Execution of 
'/usr/sbin/ambari-metrics-grafana start' returned 1. ######## Hortonworks 
#############\nThis is MOTD message, added for testing in qe infra\nStarting 
Ambari Metrics Grafana: .... FAILED",
>     
>     
> 
> Please find the artifacts for the run [here](http://qelog.hortonworks.com/log
> /nat-yc-ambari-2-4-2-0-amb-r7-dmyu-ambari-config-6/test-logs/ambari-config/art
> ifacts/screenshots/com.hw.ambari.ui.tests.installer.InstallHadoop/install/_8_2
> 3_23_7_Component__Phoenix_Query_Server__is_not__STARTED__on_host__ctr_e45_1475
> 874954070_0581_01_/lastAvailableRequests.txt)
> 
> 
> Diffs
> -----
> 
>   
> ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana.py
>  ae2a635 
>   
> ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/params_linux.py
>  4ef719c 
>   
> ambari-server/src/test/python/stacks/2.0.6/AMBARI_METRICS/test_metrics_grafana.py
>  2e24d82 
>   
> ambari-server/src/test/python/stacks/2.0.6/configs/default_ams_embedded.json 
> ceedb67 
> 
> Diff: https://reviews.apache.org/r/52788/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>

Reply via email to