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 2015/01/12 15:11:35 UTC

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

Greg Hill created AMBARI-9088:
---------------------------------

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