You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Srimanth Gunturi (JIRA)" <ji...@apache.org> on 2014/04/09 20:26:16 UTC

[jira] [Commented] (AMBARI-5413) OS type check for centos 6.5 can fail if the /etc/issue has CentOS Linux release 6.5

    [ https://issues.apache.org/jira/browse/AMBARI-5413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13964510#comment-13964510 ] 

Srimanth Gunturi commented on AMBARI-5413:
------------------------------------------

+1 for patch.

> OS type check for centos 6.5 can fail if the /etc/issue has CentOS Linux release 6.5
> ------------------------------------------------------------------------------------
>
>                 Key: AMBARI-5413
>                 URL: https://issues.apache.org/jira/browse/AMBARI-5413
>             Project: Ambari
>          Issue Type: Bug
>          Components: agent
>    Affects Versions: 1.5.1
>            Reporter: Siddharth Wagle
>            Assignee: Siddharth Wagle
>             Fix For: 1.5.1
>
>         Attachments: AMBARI-5413.patch
>
>
> I tried default centos 6.5 it works fine. But if I change /etc/issues and /etc/redhat-release to say:
> CentOS Linux release 6.5 (Final)
> then the registration fails with:
> INFO 2014-04-09 14:39:22,501 security.py:51 - SSL connection established. Two-way SSL authentication is turned off on the server.
> ERROR 2014-04-09 14:39:22,563 Controller.py:100 - Cannot register host with not supported os type, hostname=c6501.ambari.apache.org, serverOsType=redhat6, agentOstype=centos linux6
> In the agent logs.
> By default centos 6.5 has:
> CentOS release 6.5 (Final)
> but sometimes can have:
> CentOS Linux release 6.5 (Final)



--
This message was sent by Atlassian JIRA
(v6.2#6252)