<?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: SmartSense HST Agents Fail To Come Up in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SmartSense-HST-Agents-Fail-To-Come-Up/m-p/231152#M69992</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/45478/bhadmn.html" nodeid="45478"&gt;@Bharath A&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If above does not solve the issue then please try the following:&lt;BR /&gt;&lt;BR /&gt;1. Check the hostname resolution on problematic hosts ?&lt;/P&gt;&lt;PRE&gt;# cat /etc/hosts
# hostname -&lt;/PRE&gt;&lt;P&gt;2. Try to delete/rename the "/usr/hdp/share/hst/hst-agent/keys" directory and then re-register hst agent as following:
&lt;/P&gt;&lt;PRE&gt;# cd /usr/hdp/share/hst/hst-agent/
# mv keys keys_OLD&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;3. From ambari UI:&lt;/P&gt;&lt;PRE&gt;Ambari --&amp;gt; Hosts (Tab) --&amp;gt; Click on the problematic hostname --&amp;gt; SmartSense HST Agent --&amp;gt;  Register&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;4 Verify if the keys are generated fine:&lt;/P&gt;&lt;PRE&gt;# ls /usr/hdp/share/hst/hst-agent/&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;5 Now Start SmartSense HST Agent from Ambari&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/45478/bhadmn.html" nodeid="45478"&gt;&lt;/A&gt; &lt;/P&gt;</description>
    <pubDate>Mon, 23 Oct 2017 22:39:41 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2017-10-23T22:39:41Z</dc:date>
    <item>
      <title>SmartSense HST Agents Fail To Come Up</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SmartSense-HST-Agents-Fail-To-Come-Up/m-p/231149#M69989</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I have a 10 node HDP 2.6 (.1.0) cluster, I have installed Hortonworks SmartSense with HST Server on master and HST Agents on all the nodes (master and slave1-9). Its a fresh HDP install on RHEL 7. SmartSense installation went good and after the install I only had HST Agents running on 3 slaves (Slaves 1,2 &amp;amp; 3). Even though I restart all HST Agents, they still are live only on the same 3 slaves (Slaves 1,2 &amp;amp; 3). Can anyone please help me in troubleshooting this issue? &lt;BR /&gt;&lt;BR /&gt;Logs captured for the entire restart operation from /var/log/hst/hst-server.log&lt;/P&gt;&lt;PRE&gt;  INFO [main] CertificateManager:70 - Initialization of root certificate
  INFO [main] CertificateManager:72 - Certificate exists:true
  INFO [main] Configuration:562 - Reading password from existing file
  WARN [main] ConfigChangeListener:155 - Creating a patch
  INFO [main] ConfigChangeListener:236 - Patch created : /var/lib/smartsense/hst-server/updates/upload/config-update.tgz
  INFO [main] SupportToolServer:572 - Bundle Purge Scheduler enabled at :Thu Oct 19 13:30:21 EDT 2017. Bundle Purge job will run every 24 hrs.
  INFO [main] Server:266 - jetty-7.6.7.v20120910
  INFO [main] ContextHandler:744 - started o.e.j.s.ServletContextHandler{/,file:/usr/hdp/share/hst/hst-server/web/}
  INFO [main] AbstractConnector:338 - Started SelectChannelConnector@0.0.0.0:9000
  INFO [main] Server:266 - jetty-7.6.7.v20120910
  INFO [main] ContextHandler:744 - started o.e.j.s.ServletContextHandler{/,null}
  INFO [main] SslContextFactory:300 - Enabled Protocols [SSLv2Hello, TLSv1, TLSv1.1, TLSv1.2] of [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2]
  INFO [main] AbstractConnector:338 - Started SslSelectChannelConnector@0.0.0.0:9440
  INFO [main] SslContextFactory:300 - Enabled Protocols [SSLv2Hello, TLSv1, TLSv1.1, TLSv1.2] of [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2]
  INFO [main] AbstractConnector:338 - Started SslSelectChannelConnector@0.0.0.0:9441
  WARN [qtp943219925-85] nio:651 - javax.net.ssl.SSLException: Received fatal alert: unknown_ca
  WARN [qtp943219925-86] nio:651 - javax.net.ssl.SSLException: Received fatal alert: unknown_ca
  INFO [qtp943219925-85] SupportToolResource:142 - Unregistering agent slave3
  INFO [qtp943219925-86] SupportToolResource:142 - Unregistering agent slave2
  WARN [qtp943219925-87] nio:651 - javax.net.ssl.SSLException: Received fatal alert: unknown_ca
  WARN [qtp943219925-87] nio:651 - javax.net.ssl.SSLException: Received fatal alert: unknown_ca
  INFO [qtp943219925-85] CertificateManager:189 - Signing of agent certificate
  INFO [qtp943219925-85] CertificateManager:190 - Verifying passphrase
  INFO [qtp943219925-85] Configuration:562 - Reading password from existing file
  INFO [qtp943219925-85] CertificateManager:214 - Revoking of slave3 certificate.
  WARN [qtp943219925-87] nio:651 - javax.net.ssl.SSLException: Received fatal alert: unknown_ca
  INFO [qtp943219925-85] CertificateManager:265 - Command openssl ca -config /var/lib/smartsense/hst-server/keys/ca.config -keyfile /var/lib/smartsense/hst-server/keys/ca.key -revoke /var/lib/smartsense/hst-server/keys/slave3.crt -batch -passin pass:**** -cert /var/lib/smartsense/hst-server/keys/ca.crt was finished with exit code: 0 - the operation was completely successfully.
  WARN [qtp943219925-87] nio:651 - javax.net.ssl.SSLException: Received fatal alert: unknown_ca
  WARN [qtp943219925-88] nio:651 - javax.net.ssl.SSLException: Received fatal alert: unknown_ca
  INFO [qtp943219925-85] CertificateManager:265 - Command openssl ca -config /var/lib/smartsense/hst-server/keys/ca.config -in /var/lib/smartsense/hst-server/keys/slave3.csr -out /var/lib/smartsense/hst-server/keys/slave3.crt -batch -md sha256 -passin pass:**** -keyfile /var/lib/smartsense/hst-server/keys/ca.key -cert /var/lib/smartsense/hst-server/keys/ca.crt was finished with exit code: 0 - the operation was completely successfully.
  INFO [qtp943219925-89] SupportToolResource:142 - Unregistering agent slave1
  WARN [qtp943219925-87] nio:651 - javax.net.ssl.SSLException: Received fatal alert: unknown_ca
  WARN [qtp943219925-90] nio:651 - javax.net.ssl.SSLException: Received fatal alert: unknown_ca
  WARN [qtp943219925-85] nio:651 - javax.net.ssl.SSLException: Received fatal alert: unknown_ca
  INFO [qtp943219925-90] SupportToolResource:115 - Registering agent, id=slave3, version=1.4.0.2.5.0.3-7
  WARN [qtp943219925-90] nio:651 - javax.net.ssl.SSLException: Received fatal alert: unknown_ca
  WARN [qtp943219925-88] nio:651 - javax.net.ssl.SSLException: Received fatal alert: unknown_ca
  WARN [qtp943219925-90] nio:651 - javax.net.ssl.SSLException: Received fatal alert: unknown_ca
  WARN [qtp943219925-86] nio:651 - javax.net.ssl.SSLException: Received fatal alert: unknown_ca
  INFO [Thread-3] FileWatcher:232 - Watcher configuration has been changed. re-initializing watcher.
  INFO [Thread-3] ConfigChangeListener:131 - listner configuration has been changed. re-initializing listner.
  WARN [qtp943219925-87] nio:651 - javax.net.ssl.SSLException: Received fatal alert: unknown_ca
  WARN [qtp943219925-87] nio:651 - javax.net.ssl.SSLException: Received fatal alert: unknown_ca
  WARN [qtp943219925-87] nio:651 - javax.net.ssl.SSLException: Received fatal alert: unknown_ca
  WARN [qtp943219925-88] nio:651 - javax.net.ssl.SSLException: Received fatal alert: unknown_ca
&lt;/PRE&gt;</description>
      <pubDate>Fri, 20 Oct 2017 01:32:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SmartSense-HST-Agents-Fail-To-Come-Up/m-p/231149#M69989</guid>
      <dc:creator>bhadmn</dc:creator>
      <dc:date>2017-10-20T01:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: SmartSense HST Agents Fail To Come Up</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SmartSense-HST-Agents-Fail-To-Come-Up/m-p/231150#M69990</link>
      <description>&lt;P&gt;Can you please give me some directions/your inputs, &lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay SenSharma&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/18929/yaswanthmuppireddy.html" nodeid="18929"&gt;@Shu&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/14200/asirna.html" nodeid="14200"&gt;@Aditya Sirna&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/2056/ahadjidj.html" nodeid="2056"&gt;@Abdelkrim Hadjidj&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/13511/dineshchitlangia.html" nodeid="13511"&gt;@Dinesh Chitlangia&lt;/A&gt;. Please need your help.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 22:06:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SmartSense-HST-Agents-Fail-To-Come-Up/m-p/231150#M69990</guid>
      <dc:creator>bhadmn</dc:creator>
      <dc:date>2017-10-23T22:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: SmartSense HST Agents Fail To Come Up</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SmartSense-HST-Agents-Fail-To-Come-Up/m-p/231151#M69991</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/45478/bhadmn.html" nodeid="45478"&gt;@Bharath A&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please check the output of the following command:&lt;/P&gt;&lt;PRE&gt;  rpm -qa python-devel&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;  If you see the  version of this package is 2.7.5-58 then you should downgrade to 2.7.5-48. &lt;BR /&gt;&lt;BR /&gt;  As an alternate solution please refer to: &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;P&gt;Or try to do the following  as suggested in  &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;/P&gt;&lt;PRE&gt;sed -i 's/verify=platform_default/verify=disable/' /etc/python/cert-verification.cfg&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 22:29:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SmartSense-HST-Agents-Fail-To-Come-Up/m-p/231151#M69991</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-10-23T22:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: SmartSense HST Agents Fail To Come Up</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SmartSense-HST-Agents-Fail-To-Come-Up/m-p/231152#M69992</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/45478/bhadmn.html" nodeid="45478"&gt;@Bharath A&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If above does not solve the issue then please try the following:&lt;BR /&gt;&lt;BR /&gt;1. Check the hostname resolution on problematic hosts ?&lt;/P&gt;&lt;PRE&gt;# cat /etc/hosts
# hostname -&lt;/PRE&gt;&lt;P&gt;2. Try to delete/rename the "/usr/hdp/share/hst/hst-agent/keys" directory and then re-register hst agent as following:
&lt;/P&gt;&lt;PRE&gt;# cd /usr/hdp/share/hst/hst-agent/
# mv keys keys_OLD&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;3. From ambari UI:&lt;/P&gt;&lt;PRE&gt;Ambari --&amp;gt; Hosts (Tab) --&amp;gt; Click on the problematic hostname --&amp;gt; SmartSense HST Agent --&amp;gt;  Register&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;4 Verify if the keys are generated fine:&lt;/P&gt;&lt;PRE&gt;# ls /usr/hdp/share/hst/hst-agent/&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;5 Now Start SmartSense HST Agent from Ambari&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/45478/bhadmn.html" nodeid="45478"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 22:39:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SmartSense-HST-Agents-Fail-To-Come-Up/m-p/231152#M69992</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-10-23T22:39:41Z</dc:date>
    </item>
  </channel>
</rss>

