You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Greg Hill (JIRA)" <ji...@apache.org> on 2016/03/02 18:03:18 UTC

[jira] [Resolved] (AMBARI-9088) ambari-agent does not work with Python 2.7.9

     [ https://issues.apache.org/jira/browse/AMBARI-9088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Hill resolved AMBARI-9088.
-------------------------------
    Resolution: Fixed

This was fixed separately from this issue.

> ambari-agent does not work with Python 2.7.9
> --------------------------------------------
>
>                 Key: AMBARI-9088
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9088
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent
>    Affects Versions: 1.7.0
>            Reporter: Greg Hill
>
> Python 2.7.9 enabled SSL certificate validation by default.  The ambari agent uses self-signed certificates to communicate with the server, which don't validate.  So, the agents fail to register themselves with the server if Python 2.7.9 is installed on the machines.  We need to disable certificate validation manually in the agent or figure out a different solution for encrypted communication.
> A known workaround is to inject this into /var/lib/ambari-agent/ambari-env.sh:
> PYTHON=/usr/bin/python2.6



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)