Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A7960200C23 for ; Wed, 22 Feb 2017 15:16:49 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A6376160B49; Wed, 22 Feb 2017 14:16:49 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EF0AE160B67 for ; Wed, 22 Feb 2017 15:16:48 +0100 (CET) Received: (qmail 73121 invoked by uid 500); 22 Feb 2017 14:16:48 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 73111 invoked by uid 99); 22 Feb 2017 14:16:48 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2017 14:16:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id A413B189A8F for ; Wed, 22 Feb 2017 14:16:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.198 X-Spam-Level: X-Spam-Status: No, score=-1.198 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id aN-2gLYyKZjg for ; Wed, 22 Feb 2017 14:16:46 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 685FB5F56B for ; Wed, 22 Feb 2017 14:16:46 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 53D31E012B for ; Wed, 22 Feb 2017 14:16:44 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 0F2D221D62 for ; Wed, 22 Feb 2017 14:16:44 +0000 (UTC) Date: Wed, 22 Feb 2017 14:16:44 +0000 (UTC) From: "Dmytro Sen (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-20115) Ambari reports grafana service is down when its running causing other services to not start MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 22 Feb 2017 14:16:49 -0000 [ https://issues.apache.org/jira/browse/AMBARI-20115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmytro Sen updated AMBARI-20115: -------------------------------- Attachment: AMBARI-20115.patch > Ambari reports grafana service is down when its running causing other services to not start > ------------------------------------------------------------------------------------------- > > Key: AMBARI-20115 > URL: https://issues.apache.org/jira/browse/AMBARI-20115 > Project: Ambari > Issue Type: Bug > Components: stacks > Affects Versions: 2.5.0 > Reporter: Dmytro Sen > Assignee: Dmytro Sen > Priority: Blocker > Fix For: 2.5.0 > > Attachments: AMBARI-20115.patch > > > On the node grafana is running. > {code} > # cat /var/run/ambari-metrics-grafana/grafana-server.pid > 26593 > # ps aux | grep 26593 > root 20057 0.0 0.0 5712 824 pts/0 R+ 16:12 0:00 grep 26593 > ams 26593 0.0 0.0 102032 12904 ? Sl 01:19 0:11 /usr/lib/ambari-metrics-grafana/bin/grafana-server --pidfile=/var/run/ambari-metrics-grafana/grafana-server.pid --config=/etc/ambari-metrics-grafana/conf/ams-grafana.ini cfg:default.paths.data=/var/lib/ambari-metrics-grafana cfg:default.paths.logs=/var/log/ambari-metrics-grafana > {code} > How ever after enabling WE when we tried to start all services ambari reported > {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 77, in > AmsGrafana().execute() > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 313, 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_ams_datasource() > File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana_util.py", line 239, in create_ams_datasource > response = perform_grafana_get_call(GRAFANA_DATASOURCE_URL, server) > File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_grafana_util.py", line 72, in perform_grafana_get_call > raise Fail("Ambari Metrics Grafana update failed due to: %s" % str(ex)) > resource_management.core.exceptions.Fail: Ambari Metrics Grafana update failed due to: [Errno 1] _ssl.c:491: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)