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] [Created] (AMBARI-20600) AMS grafana restart fails with ssl error after upgrading from 2.4.2.0
Date Tue, 28 Mar 2017 03:41:41 GMT
Aravindan Vijayan created AMBARI-20600:
------------------------------------------

             Summary: AMS grafana restart fails with ssl error after upgrading from 2.4.2.0
                 Key: AMBARI-20600
                 URL: https://issues.apache.org/jira/browse/AMBARI-20600
             Project: Ambari
          Issue Type: Bug
          Components: ambari-metrics
    Affects Versions: 2.5.0
            Reporter: Aravindan Vijayan
            Assignee: Aravindan Vijayan
            Priority: Critical
             Fix For: 2.5.1


{code}
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana.py",
line 79, in <module>
    AmsGrafana().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 314, in execute
    method(env)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 767, in restart
    self.start(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 235, in create_grafana_admin_pwd
    response = perform_grafana_get_call(GRAFANA_USER_URL, serverCall1)
  File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana_util.py",
line 59, in perform_grafana_get_call
    grafana_https_enabled, ca_certs)
  File "/usr/lib/python2.6/site-packages/ambari_commons/network.py", line 49, in get_http_connection
    ssl_version = check_ssl_certificate_and_return_ssl_version(host, port, ca_certs)
  File "/usr/lib/python2.6/site-packages/ambari_commons/network.py", line 66, in check_ssl_certificate_and_return_ssl_version
    .format(host, port, ca_certs, str(ssl_error)))
resource_management.core.exceptions.Fail: Failed to verify the SSL certificate for https://<host>:3000
with CA certificate in /etc/security/ssl/test.cert. Error : [Errno 1] _ssl.c:492: error:14090086:SSL
routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
{code}




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message