Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AC82F188D4 for ; Fri, 25 Sep 2015 22:39:04 +0000 (UTC) Received: (qmail 92888 invoked by uid 500); 25 Sep 2015 22:39:04 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 92857 invoked by uid 500); 25 Sep 2015 22:39:04 -0000 Mailing-List: contact dev-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 dev@ambari.apache.org Received: (qmail 92841 invoked by uid 99); 25 Sep 2015 22:39:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2015 22:39:04 +0000 Date: Fri, 25 Sep 2015 22:39:04 +0000 (UTC) From: "Yusaku Sako (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-10410) Server refused to accept agent due to agentOsType MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-10410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yusaku Sako updated AMBARI-10410: --------------------------------- Fix Version/s: (was: 2.1.2) > Server refused to accept agent due to agentOsType > ------------------------------------------------- > > Key: AMBARI-10410 > URL: https://issues.apache.org/jira/browse/AMBARI-10410 > Project: Ambari > Issue Type: Bug > Components: ambari-agent > Affects Versions: 1.7.0 > Environment: Server OS Type: centos linux > Agent OS Type: centos linux > Reporter: Jun Zhang > > When adding a new host to the cluster, the server refused to accept the agent registration with following error logs: > 16:05:41,438 WARN [qtp899098054-67] HeartBeatHandler:646 - Received registration request from host with not supported os type, hostname=10.1 > 49.27.95, serverOsType=redhat6, agentOsType=centos linux6 > Both the agent and the server have the same OsType "centos linux". While the server converts it to os family "redhat", the agent doesn't, as you can see from the log. The problem is the server only accepts the following osTypes: > private static final List ALL_SUPPORTED_OS = Arrays.asList( > "centos5", "redhat5", "centos6", "redhat6", "oraclelinux5", > "oraclelinux6", "suse11", "sles11", "ubuntu12"); > To fix this, we either have to add "centos linux" to the ALL_SUPPORTED_OS list or convert it to "redhat" family on the agent side. -- This message was sent by Atlassian JIRA (v6.3.4#6332)