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 35D0E200B5E for ; Wed, 10 Aug 2016 13:07:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3475E160A93; Wed, 10 Aug 2016 11:07:22 +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 7BB42160A90 for ; Wed, 10 Aug 2016 13:07:21 +0200 (CEST) Received: (qmail 34843 invoked by uid 500); 10 Aug 2016 11:07:20 -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 34827 invoked by uid 99); 10 Aug 2016 11:07:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2016 11:07:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7DEA62C029E for ; Wed, 10 Aug 2016 11:07:20 +0000 (UTC) Date: Wed, 10 Aug 2016 11:07:20 +0000 (UTC) From: "Hudson (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-17991) Ambari agent unable to register with server when server response is too big MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 10 Aug 2016 11:07:22 -0000 [ https://issues.apache.org/jira/browse/AMBARI-17991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15415124#comment-15415124 ] Hudson commented on AMBARI-17991: --------------------------------- FAILURE: Integrated in Ambari-trunk-Commit #5495 (See [https://builds.apache.org/job/Ambari-trunk-Commit/5495/]) AMBARI-17991 Ambari agent unable to register with server when server (dsen: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=5198b80af4ca24111d1c76dd705bf0f1495d9a4c]) * ambari-project/pom.xml * ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java * ambari-server/src/main/java/org/apache/ambari/server/api/AmbariErrorHandler.java * ambari-server/src/main/java/org/apache/ambari/server/stack/ConfigurationDirectory.java * ambari-server/src/main/java/org/apache/ambari/server/utils/JsonUtils.java * ambari-server/src/test/java/org/apache/ambari/server/api/AmbariErrorHandlerTest.java * ambari-server/src/test/java/org/apache/ambari/server/audit/request/DefaultEventCreatorTest.java * ambari-server/pom.xml * ambari-logsearch/ambari-logsearch-portal/pom.xml * ambari-funtest/pom.xml > Ambari agent unable to register with server when server response is too big > --------------------------------------------------------------------------- > > Key: AMBARI-17991 > URL: https://issues.apache.org/jira/browse/AMBARI-17991 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.4.0 > Reporter: Dmytro Sen > Assignee: Dmytro Sen > Priority: Blocker > Fix For: 2.4.0 > > Attachments: AMBARI-17991.patch, AMBARI-17991_2.patch, AMBARI-17991_3-branch-2.4.patch, AMBARI-17991_3-trunk.patch > > > Ambari agent is unable to register with ambari server, failing with: > {code} > INFO 2016-06-09 11:22:00,964 security.py:147 - Encountered communication error. Details: SSLError('The read operation timed out',) > ERROR 2016-06-09 11:22:00,965 Controller.py:196 - Unable to connect to: https://localhost:8441/agent/v1/register/dvtcbdqd02.corp.cox.com > Traceback (most recent call last): > File "/usr/lib/python2.6/site-packages/ambari_agent/Controller.py", line 150, in registerWithServer > ret = self.sendRequest(self.registerUrl, data) > File "/usr/lib/python2.6/site-packages/ambari_agent/Controller.py", line 423, in sendRequest > raise IOError('Request to {0} failed due to {1}'.format(url, str(exception))) > IOError: Request to https://server1:8441/agent/v1/register/host1 failed due to Error occured during connecting to the server: The read operation timed out > ERROR 2016-06-09 11:22:00,965 Controller.py:197 - Error:Request to https://server1:8441/agent/v1/register/host1 failed due to Error occured during connecting to the server: The read operation timed out > {code} > The problem was fixed by modifying the timeout in /usr/lib/python2.6/site-packages/ambari_agent/security.py: > {code} > def create_connection(self): > if self.sock: > self.sock.close() > logger.info("SSL Connect being called.. connecting to the server") > sock = socket.create_connection((self.host, self.port), 120) > {code} > Use Jetty 8 instead of 9 in Ambari 2.4.0 -- This message was sent by Atlassian JIRA (v6.3.4#6332)