[ https://issues.apache.org/jira/browse/AMBARI-10410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Sposetti updated AMBARI-10410: ----------------------------------- Fix Version/s: (was: 1.7.0) 2.1.0 > 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 > Fix For: 2.1.0 > > > 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<String> 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)