You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Juanjo Marron (JIRA)" <ji...@apache.org> on 2017/06/26 21:41:00 UTC
[jira] [Commented] (AMBARI-14149) Python 2.7.9 or later fails to
establish connection between agent and server.
[ https://issues.apache.org/jira/browse/AMBARI-14149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16063843#comment-16063843 ]
Juanjo Marron commented on AMBARI-14149:
----------------------------------------
Hit this same issue in a RHEL 7.4 power cluster where the python version is 2.7.5.
Since that the context=ssl._create_unverified_context() argument would be required also in python versions leaser than 2.7.9
> Python 2.7.9 or later fails to establish connection between agent and server.
> -----------------------------------------------------------------------------
>
> Key: AMBARI-14149
> URL: https://issues.apache.org/jira/browse/AMBARI-14149
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 2.2.0
>
>
> Ambari-agent would not talk to ambari-server.
>
>
> INFO 2015-11-14 15:26:48,572 main.py:289 - Connecting to Ambari server at https://sandbox.hortonworks.com:8440 (10.0.2.15)
> INFO 2015-11-14 15:26:48,572 NetUtil.py:59 - Connecting to https://sandbox.hortonworks.com:8440/ca
> ERROR 2015-11-14 15:26:48,693 NetUtil.py:77 - [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
> ERROR 2015-11-14 15:26:48,693 NetUtil.py:78 - SSLError: Failed to connect. Please check openssl library versions.
> Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.
> WARNING 2015-11-14 15:26:48,695 NetUtil.py:105 - Server at https://sandbox.hortonworks.com:8440 is not reachable, sleeping for 10 seconds...
>
> STR might include enabling two-way ssl.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)