<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Datanode Can't connect to Namenode due to SSL Error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Datanode-Can-t-connect-to-Namenode-due-to-SSL-Error/m-p/191960#M68446</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14345/sreekuppa.html" nodeid="14345"&gt;@Sree Kupp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It happens Python version is "python-2.7.5" or higher, hence you should try to either&lt;STRONG&gt; downgrade the python version&lt;/STRONG&gt; to lower than python-2.7.5 as it causes this issue.&lt;/P&gt;&lt;PRE&gt;[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;(OR)&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Else you will need to following the steps mentioned in the following doc to fix the "certificate verify failed (_ssl.c" issue while using RHEL7: Controlling and troubleshooting certificate verification:  &lt;A href="https://access.redhat.com/articles/2039753#controlling-certificate-verification-7" target="_blank"&gt;https://access.redhat.com/articles/2039753#controlling-certificate-verification-7&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;# vi /etc/python/cert-verification.cfg
[https]
verify=disable&lt;/PRE&gt;&lt;P&gt;.&lt;BR /&gt;Valid values are enable (verification is enabled by default), disable (verification is disabled by default),&lt;BR /&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Also please check the related threads:&lt;BR /&gt;1.  &lt;A href="https://community.hortonworks.com/questions/120861/ambari-agent-ssl-certificate-verify-failed-certifi.html" target="_blank"&gt;https://community.hortonworks.com/questions/120861/ambari-agent-ssl-certificate-verify-failed-certifi.html&lt;/A&gt;&lt;BR /&gt;2.  &lt;A href="https://community.hortonworks.com/questions/121978/openssl-compatibility.html" target="_blank"&gt;https://community.hortonworks.com/questions/121978/openssl-compatibility.html&lt;/A&gt;&lt;BR /&gt;3.  &lt;A href="https://community.hortonworks.com/questions/138820/ambari-server-failing-to-communicate-with-ambari-a.html" target="_blank"&gt;https://community.hortonworks.com/questions/138820/ambari-server-failing-to-communicate-with-ambari-a.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
    <pubDate>Fri, 22 Sep 2017 09:10:12 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2017-09-22T09:10:12Z</dc:date>
    <item>
      <title>Datanode Can't connect to Namenode due to SSL Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Datanode-Can-t-connect-to-Namenode-due-to-SSL-Error/m-p/191959#M68445</link>
      <description>&lt;P&gt;I have a 5 node cluster with 4 data nodes which is in a good condition.&lt;/P&gt;&lt;P&gt;But in order to add a secondary name node, I tried to generate the ssh key again instead of copying the already existing key onto the new machine. The new host was not registering with the following error:&lt;/P&gt;&lt;PRE&gt;INFO 2017-09-21 17:24:06,811 NetUtil.py:67 - Connecting to &lt;A href="https://asterix01.cem.spirent.com:8440/ca" target="_blank"&gt;https://asterix01.cem.spirent.com:8440/ca&lt;/A&gt;
ERROR 2017-09-21 17:24:06,934 NetUtil.py:93 - [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)
ERROR 2017-09-21 17:24:06,934 NetUtil.py:94 - SSLError: Failed to connect. Please check openssl library versions.
Refer to: &lt;A href="https://bugzilla.redhat.com/show_bug.cgi?id=1022468" target="_blank"&gt;https://bugzilla.redhat.com/show_bug.cgi?id=1022468&lt;/A&gt; for more details.
WARNING 2017-09-21 17:24:06,937 NetUtil.py:121 - Server at &lt;A href="https://asterix01.cem.spirent.com:8440" target="_blank"&gt;https://asterix01.cem.spirent.com:8440&lt;/A&gt; is not reachable, sleeping for 10 seconds...&lt;/PRE&gt;&lt;P&gt;So I stopped trying to add the new host and checked if the existing hosts are doing any good and restarted ambari-agent of one of them. The logs show failure with the same error as above- which confirms there is an issue with the keys.&lt;/P&gt;&lt;P&gt;What can I do to resolve this? I tried to setup passwordless SSH as root user afresh as given in the documentation but it still fails. Can someone help me fix this please?&lt;/P&gt;&lt;P&gt;I definitely can ssh without passwords from the command line.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2017 04:30:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Datanode-Can-t-connect-to-Namenode-due-to-SSL-Error/m-p/191959#M68445</guid>
      <dc:creator>sree_kuppa</dc:creator>
      <dc:date>2017-09-22T04:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Datanode Can't connect to Namenode due to SSL Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Datanode-Can-t-connect-to-Namenode-due-to-SSL-Error/m-p/191960#M68446</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14345/sreekuppa.html" nodeid="14345"&gt;@Sree Kupp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It happens Python version is "python-2.7.5" or higher, hence you should try to either&lt;STRONG&gt; downgrade the python version&lt;/STRONG&gt; to lower than python-2.7.5 as it causes this issue.&lt;/P&gt;&lt;PRE&gt;[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;(OR)&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Else you will need to following the steps mentioned in the following doc to fix the "certificate verify failed (_ssl.c" issue while using RHEL7: Controlling and troubleshooting certificate verification:  &lt;A href="https://access.redhat.com/articles/2039753#controlling-certificate-verification-7" target="_blank"&gt;https://access.redhat.com/articles/2039753#controlling-certificate-verification-7&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;# vi /etc/python/cert-verification.cfg
[https]
verify=disable&lt;/PRE&gt;&lt;P&gt;.&lt;BR /&gt;Valid values are enable (verification is enabled by default), disable (verification is disabled by default),&lt;BR /&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Also please check the related threads:&lt;BR /&gt;1.  &lt;A href="https://community.hortonworks.com/questions/120861/ambari-agent-ssl-certificate-verify-failed-certifi.html" target="_blank"&gt;https://community.hortonworks.com/questions/120861/ambari-agent-ssl-certificate-verify-failed-certifi.html&lt;/A&gt;&lt;BR /&gt;2.  &lt;A href="https://community.hortonworks.com/questions/121978/openssl-compatibility.html" target="_blank"&gt;https://community.hortonworks.com/questions/121978/openssl-compatibility.html&lt;/A&gt;&lt;BR /&gt;3.  &lt;A href="https://community.hortonworks.com/questions/138820/ambari-server-failing-to-communicate-with-ambari-a.html" target="_blank"&gt;https://community.hortonworks.com/questions/138820/ambari-server-failing-to-communicate-with-ambari-a.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2017 09:10:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Datanode-Can-t-connect-to-Namenode-due-to-SSL-Error/m-p/191960#M68446</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-09-22T09:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Datanode Can't connect to Namenode due to SSL Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Datanode-Can-t-connect-to-Namenode-due-to-SSL-Error/m-p/191961#M68447</link>
      <description>&lt;P&gt;Thanks a ton &lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay SenSharma&lt;/A&gt;. That really helped.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2017 22:25:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Datanode-Can-t-connect-to-Namenode-due-to-SSL-Error/m-p/191961#M68447</guid>
      <dc:creator>sree_kuppa</dc:creator>
      <dc:date>2017-09-22T22:25:03Z</dc:date>
    </item>
  </channel>
</rss>

