[ 
https://issues.apache.org/jira/browse/AMBARI-21511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16092293#comment-16092293
 ] 

Hadoop QA commented on AMBARI-21511:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12877887/AMBARI-21511.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include 
any new or modified tests.
                        Please justify why no new tests are needed for this 
patch.
                        Also please list what manual steps were performed to 
verify this patch.

    {color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

    {color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in 
ambari-server.

Console output: 
https://builds.apache.org/job/Ambari-trunk-test-patch/11809//console

This message is automatically generated.

> Grafana setup fails if password is too short
> --------------------------------------------
>
>                 Key: AMBARI-21511
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21511
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.5.3
>            Reporter: Aravindan Vijayan
>            Assignee: Aravindan Vijayan
>             Fix For: 2.5.3
>
>         Attachments: AMBARI-21511.patch
>
>
> STR:
> # Create cluster
> # Add Ambari Metrics with 1-char password
> Result: Grafana Start was marked a failure due to "New password too short" 
> error.  Grafana was actually started, but datasource and dashboards were not 
> created, since the script failed in preceding step.
> {noformat}
> Traceback (most recent call last):
>   File 
> "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana.py",
>  line 83, in <module>
>     AmsGrafana().execute()
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
>  line 314, in execute
>     method(env)
>   File 
> "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana.py",
>  line 58, in start
>     create_grafana_admin_pwd()
>   File 
> "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana_util.py",
>  line 262, in create_grafana_admin_pwd
>     "PUT request status: %s %s \n%s" % (response.status, response.reason, 
> data))
> resource_management.core.exceptions.Fail: Ambari Metrics Grafana password 
> creation failed. PUT request status: 400 Bad Request 
> {"message":"New password too short"}
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to