ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <>
Subject [jira] [Commented] (AMBARI-21511) Grafana setup fails if password is too short
Date Tue, 18 Jul 2017 22:56:00 GMT


Hadoop QA commented on AMBARI-21511:

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment
  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
                        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:

This message is automatically generated.

> Grafana setup fails if password is too short
> --------------------------------------------
>                 Key: AMBARI-21511
>                 URL:
>             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/",
line 83, in <module>
>     AmsGrafana().execute()
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/",
line 314, in execute
>     method(env)
>   File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/",
line 58, in start
>     create_grafana_admin_pwd()
>   File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/",
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

View raw message