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 BD3BA200BE5 for ; Fri, 18 Nov 2016 14:06:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id BBFDA160B04; Fri, 18 Nov 2016 13:06:00 +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 16036160B19 for ; Fri, 18 Nov 2016 14:05:59 +0100 (CET) Received: (qmail 98600 invoked by uid 500); 18 Nov 2016 13:05:59 -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 98585 invoked by uid 99); 18 Nov 2016 13:05:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Nov 2016 13:05:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D16722C4C75 for ; Fri, 18 Nov 2016 13:05:58 +0000 (UTC) Date: Fri, 18 Nov 2016 13:05:58 +0000 (UTC) From: "Dmytro Sen (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-18922) Agent Auto Restart Doesn't Release Ping Port MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 18 Nov 2016 13:06:01 -0000 [ https://issues.apache.org/jira/browse/AMBARI-18922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmytro Sen updated AMBARI-18922: -------------------------------- Status: Patch Available (was: Open) > Agent Auto Restart Doesn't Release Ping Port > -------------------------------------------- > > Key: AMBARI-18922 > URL: https://issues.apache.org/jira/browse/AMBARI-18922 > Project: Ambari > Issue Type: Bug > Components: ambari-agent > Affects Versions: 3.0.0 > Reporter: Dmytro Sen > Assignee: Dmytro Sen > Priority: Critical > Fix For: 3.0.0 > > Attachments: AMBARI-18922_2.patch > > > Agent auto-restart fails with > {code} > INFO 2016-11-10 17:56:58,319 security.py:148 - Encountered communication error. Details: error(104, 'Connection reset by peer') > ERROR 2016-11-10 17:56:58,320 Controller.py:425 - Connection to 192.168.64.1 was lost (details=Request to https://192.168.64.1:8441/agent/v1/heartbeat/c6401.ambari.apache.org failed due to Error occured during connecting to the server: [Errno 104] Connection reset by peer) > INFO 2016-11-10 17:57:33,233 Controller.py:285 - Heartbeat (response id = 1157) with server is running... > INFO 2016-11-10 17:57:33,233 NetUtil.py:62 - Connecting to https://192.168.64.1:8440/connection_info > INFO 2016-11-10 17:57:33,300 security.py:100 - SSL Connect being called.. connecting to the server > INFO 2016-11-10 17:57:33,366 security.py:61 - SSL connection established. Two-way SSL authentication is turned off on the server. > ERROR 2016-11-10 17:57:33,368 Controller.py:349 - Error in responseId sequence - restarting > INFO 2016-11-10 17:57:33,369 ExitHelper.py:53 - Performing cleanup before exiting... > INFO 2016-11-10 17:57:33,369 threadpool.py:112 - Shutting down thread pool > INFO 2016-11-10 17:57:33,409 scheduler.py:607 - Scheduler has been shut down > INFO 2016-11-10 17:57:33,409 threadpool.py:52 - Started thread pool with 3 core threads and 20 maximum threads > INFO 2016-11-10 17:57:33,410 AlertSchedulerHandler.py:166 - [AlertScheduler] Stopped the alert scheduler. > INFO 2016-11-10 17:57:33,410 threadpool.py:112 - Shutting down thread pool > INFO 2016-11-10 17:57:33,410 ExitHelper.py:67 - Cleanup finished, exiting with code:77 > INFO 2016-11-10 17:57:33,544 main.py:96 - loglevel=logging.INFO > INFO 2016-11-10 17:57:33,544 main.py:96 - loglevel=logging.INFO > INFO 2016-11-10 17:57:33,544 main.py:96 - loglevel=logging.INFO > INFO 2016-11-10 17:57:33,545 DataCleaner.py:39 - Data cleanup thread started > INFO 2016-11-10 17:57:33,547 DataCleaner.py:120 - Data cleanup started > INFO 2016-11-10 17:57:33,548 DataCleaner.py:122 - Data cleanup finished > ERROR 2016-11-10 17:57:33,573 main.py:377 - Failed to start ping port listener of: Could not open port 8670 because port already used by another process: > UID PID PPID C STIME TTY TIME CMD > root 4750 1 0 17:34 pts/0 00:00:00 /usr/bin/python /usr/lib/python2 > INFO 2016-11-10 17:57:33,574 PingPortListener.py:61 - Ping port listener killed > INFO 2016-11-10 17:57:33,574 ExitHelper.py:53 - Performing cleanup before exiting... > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)