ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aravindan Vijayan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-21511) Grafana setup fails if password is too short
Date Tue, 18 Jul 2017 21:11:00 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-21511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aravindan Vijayan updated AMBARI-21511:
---------------------------------------
    Attachment: AMBARI-21511.patch

> 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)

Mime
View raw message