Siddharth Wagle created AMBARI-5413:
---------------------------------------

             Summary: 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


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)

Reply via email to