----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45665/#review126841 -----------------------------------------------------------
Ship it! Ship It! - Dmytro Sen On Апрель 4, 2016, 4:41 д.п., Aravindan Vijayan wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/45665/ > ----------------------------------------------------------- > > (Updated Апрель 4, 2016, 4:41 д.п.) > > > Review request for Ambari, Dmytro Sen, Sumit Mohanty, and Sid Wagle. > > > Bugs: AMBARI-15680 > https://issues.apache.org/jira/browse/AMBARI-15680 > > > Repository: ambari > > > Description > ------- > > METRICS_GRAFANA fails to start after deploying cluster with custom pid > directories/ > {code} > { > "href" : "<>", > "Tasks" : { > "attempt_cnt" : 1, > "cluster_name" : "cl1", > "command" : "START", > "command_detail" : "METRICS_GRAFANA START", > "end_time" : 1459221778314, > "error_log" : "/var/lib/ambari-agent/data/errors-155.txt", > "exit_code" : 1, > "host_name" : "os-d7-ptluou-ambari-se-config-3-3.novalocal", > "id" : 155, > "output_log" : "/var/lib/ambari-agent/data/output-155.txt", > "request_id" : 4, > "role" : "METRICS_GRAFANA", > "stage_id" : 4, > "start_time" : 1459221664137, > "status" : "FAILED", > "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 64, in <module>\n AmsGrafana().execute()\n File > \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\", > line 219, 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 create_ams_datasource()\n File > \"/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana_util.py\", > line 224, in create_ams_datasource\n (response.status, response.reason, > data))\nresource_management.core.exceptions.Fail: Ambari Metrics Grafana data > source creation failed. POST request status: 401 Unauthorized > \n{\"message\":\"Invalid username or password\"}", > {code} > > > Diffs > ----- > > > ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana_util.py > 012bdcb > > Diff: https://reviews.apache.org/r/45665/diff/ > > > Testing > ------- > > Manual testing done > Python unit tests pass. > > > Thanks, > > Aravindan Vijayan > >
