Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-5413

OS type check for centos 6.5 can fail if the /etc/issue has CentOS Linux release 6.5

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.1
    • 1.5.1
    • ambari-agent
    • None

    Description

      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)

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            swagle Siddharth Wagle
            swagle Siddharth Wagle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment