<?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: Can not deploy to hosts in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-deploy-to-hosts/m-p/103090#M15387</link>
    <description>&lt;P&gt;Looks like a repository issue. Check your *.list files and try 
running "apt-get update" as suggested. Also, instead of downloading 
packages directly from the Internet it's better to setup local 
repositories, you can find details here &lt;/P&gt;&lt;P&gt;&lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_Installing_HDP_AMB/content/_using_a_local_repository.html"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_Installing_HDP_AMB/content/_using_a_local_repository.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jan 2016 07:29:57 GMT</pubDate>
    <dc:creator>pminovic</dc:creator>
    <dc:date>2016-01-19T07:29:57Z</dc:date>
    <item>
      <title>Can not deploy to hosts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-deploy-to-hosts/m-p/103089#M15386</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm having below error while deploying to hosts. Hosts are reachable using ssh without password. I have removed and re downloaded repo and updated apt. still having the same error. have any idea?&lt;/P&gt;&lt;PRE&gt;==========================
Creating target directory...
==========================
Command start time 2016-01-19 01:07:53
chmod: cannot access ‘/var/lib/ambari-agent/data’: No such file or directory
Connection to hadoop01 closed.
SSH command execution finished
host=hadoop01, exitcode=0
Command end time 2016-01-19 01:07:54
==========================
Copying common functions script...
==========================
Command start time 2016-01-19 01:07:54
scp /usr/lib/python2.6/site-packages/ambari_commons
host=hadoop01, exitcode=0
Command end time 2016-01-19 01:07:55
==========================
Copying OS type check script...
==========================
Command start time 2016-01-19 01:07:55
scp /usr/lib/python2.6/site-packages/ambari_server/os_check_type.py
host=hadoop01, exitcode=0
Command end time 2016-01-19 01:08:05
==========================
Running OS type check...
==========================
Command start time 2016-01-19 01:08:05
Cluster primary/cluster OS family is ubuntu14 and local/current OS family is ubuntu14
Connection to hadoop01 closed.
SSH command execution finished
host=hadoop01, exitcode=0
Command end time 2016-01-19 01:08:07
==========================
Checking 'sudo' package on remote host...
==========================
Command start time 2016-01-19 01:08:07
sudo             install
Connection to hadoop01 closed.
SSH command execution finished
host=hadoop01, exitcode=0
Command end time 2016-01-19 01:08:09
==========================
Copying repo file to 'tmp' folder...
==========================
Command start time 2016-01-19 01:08:09
scp /etc/apt/sources.list.d/ambari.list
host=hadoop01, exitcode=0
Command end time 2016-01-19 01:08:10
==========================
Moving file to repo dir...
==========================
Command start time 2016-01-19 01:08:10
Connection to hadoop01 closed.
SSH command execution finished
host=hadoop01, exitcode=0
Command end time 2016-01-19 01:08:10
==========================
Changing permissions for ambari.repo...
==========================
Command start time 2016-01-19 01:08:10
Connection to hadoop01 closed.
SSH command execution finished
host=hadoop01, exitcode=0
Command end time 2016-01-19 01:08:10
==========================
Update apt cache of repository...
==========================
Command start time 2016-01-19 01:08:10
0% [Working]
   
Hit &lt;A href="http://public-repo-1.hortonworks.com" target="_blank"&gt;http://public-repo-1.hortonworks.com&lt;/A&gt; Ambari InRelease
0% [Working]
   
0% [InRelease gpgv 3.187 B]
   
33% [Working]
   
Hit &lt;A href="http://public-repo-1.hortonworks.com" target="_blank"&gt;http://public-repo-1.hortonworks.com&lt;/A&gt; Ambari/main i386 Packages
33% [Working]
   
33% [Packages 0 B] [Waiting for headers]
   
50% [Waiting for headers]
50% [Waiting for headers]
50% [Waiting for headers]
   
Ign &lt;A href="http://public-repo-1.hortonworks.com" target="_blank"&gt;http://public-repo-1.hortonworks.com&lt;/A&gt; Ambari/main Translation-en_US
   
67% [Working]
   
Ign &lt;A href="http://public-repo-1.hortonworks.com" target="_blank"&gt;http://public-repo-1.hortonworks.com&lt;/A&gt; Ambari/main Translation-en
83% [Working]
   
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 6%
Reading package lists... Done
W: Duplicate sources.list entry &lt;A href="http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.2.0.0/" target="_blank"&gt;http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.2.0.0/&lt;/A&gt; Ambari/main i386 Packages (/var/lib/apt/lists/public-repo-1.hortonworks.com_ambari_ubuntu14_2.x_updates_2.2.0.0_dists_Ambari_main_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
Connection to hadoop01 closed.
SSH command execution finished
host=hadoop01, exitcode=0
Command end time 2016-01-19 01:08:13
==========================
Copying setup script file...
==========================
Command start time 2016-01-19 01:08:13
scp /usr/lib/python2.6/site-packages/ambari_server/setupAgent.py
host=hadoop01, exitcode=0
Command end time 2016-01-19 01:08:13
==========================
Running setup agent script...
==========================
Command start time 2016-01-19 01:08:13
E: No packages found
E: No packages found
('', None)
Connection to hadoop01 closed.
SSH command execution finished
host=hadoop01, exitcode=1
Command end time 2016-01-19 01:08:18
ERROR: Bootstrap of host hadoop01 fails because previous action finished with non-zero exit code (1)
ERROR MESSAGE: Connection to hadoop01 closed.
STDOUT: E: No packages found
E: No packages found
('', None)
Connection to hadoop01 closed.&lt;/PRE&gt;</description>
      <pubDate>Tue, 19 Jan 2016 07:12:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-deploy-to-hosts/m-p/103089#M15386</guid>
      <dc:creator>necipenesgengec</dc:creator>
      <dc:date>2016-01-19T07:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can not deploy to hosts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-deploy-to-hosts/m-p/103090#M15387</link>
      <description>&lt;P&gt;Looks like a repository issue. Check your *.list files and try 
running "apt-get update" as suggested. Also, instead of downloading 
packages directly from the Internet it's better to setup local 
repositories, you can find details here &lt;/P&gt;&lt;P&gt;&lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_Installing_HDP_AMB/content/_using_a_local_repository.html"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_Installing_HDP_AMB/content/_using_a_local_repository.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2016 07:29:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-deploy-to-hosts/m-p/103090#M15387</guid>
      <dc:creator>pminovic</dc:creator>
      <dc:date>2016-01-19T07:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Can not deploy to hosts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-deploy-to-hosts/m-p/103091#M15388</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2251/necipenesgengec.html" nodeid="2251"&gt;@Necip Gengeç&lt;/A&gt; +1 on what &lt;A rel="user" href="https://community.cloudera.com/users/177/pminovic.html" nodeid="177"&gt;@Predrag Minovic&lt;/A&gt; had said, additionally, I'd login to the node, make sure there are no redundant repositories, if all else fails, clean the cache and retry.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2016 09:33:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-deploy-to-hosts/m-p/103091#M15388</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-01-19T09:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can not deploy to hosts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-deploy-to-hosts/m-p/103092#M15389</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2251/necipenesgengec.html" nodeid="2251"&gt;@Necip Gengeç&lt;/A&gt;&lt;OL&gt;
&lt;/OL&gt;&lt;P&gt;host=hadoop01, &lt;STRONG&gt;&lt;EM&gt;exitcode=1&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Commandend time 2016-01-1901:08:18&lt;/P&gt;&lt;P&gt;ERROR:Bootstrap of host hadoop01 fails because previous action finished with non-zero exit code (1)&lt;/P&gt;&lt;P&gt;ERROR MESSAGE:Connection to hadoop01 closed.&lt;/P&gt;&lt;P&gt;STDOUT: E:No packages found&lt;/P&gt;&lt;P&gt;E:No packages found&lt;/P&gt;&lt;P&gt;('',None)&lt;/P&gt;&lt;P&gt;I would try to install ambari-agent manually &amp;amp; see if it works or not  "just to test"&lt;/P&gt;&lt;P&gt;yum install ambari-agent &lt;/P&gt;&lt;P&gt;Re: duplicate entries ..see this &lt;A target="_blank" href="http://askubuntu.com/questions/456321/duplicate-sources-list-entry-ubuntu-14-04"&gt;http://askubuntu.com/questions/456321/duplicate-sources-list-entry-ubuntu-14-04&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2016 09:49:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-deploy-to-hosts/m-p/103092#M15389</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-19T09:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can not deploy to hosts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-deploy-to-hosts/m-p/103093#M15390</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2251/necipenesgengec.html" nodeid="2251"&gt;@Necip Gengeç&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2251/necipenesgengec.html" nodeid="2251"&gt;&lt;/A&gt;If you do not have data on the host, then format the host(re install OS) and try.&lt;/P&gt;&lt;P&gt;Note: This is not a recommended solution if you want to do Root cause analysis.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 11:30:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-deploy-to-hosts/m-p/103093#M15390</guid>
      <dc:creator>rahulpathak109</dc:creator>
      <dc:date>2016-01-20T11:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can not deploy to hosts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-deploy-to-hosts/m-p/103094#M15391</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2251/necipenesgengec.html" nodeid="2251"&gt;@Necip Gengeç&lt;/A&gt; are you still having issues with this? Can you accept the best answer or post your solution?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 10:41:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-deploy-to-hosts/m-p/103094#M15391</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-04T10:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Can not deploy to hosts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-deploy-to-hosts/m-p/103095#M15392</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/2251/necipenesgengec.html"&gt;Necip Gengeç&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The problem in my case was the hdp.repo and ambari.repo files were missing from /etc/yum.repos.d/ directory on the host.&lt;/P&gt;&lt;P&gt;Resolution:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Copy the repository files hdp.repo and amabari.repo from the ambari host to the rest of the hosts&lt;/LI&gt;&lt;LI&gt;Install ambari-agent manually: &lt;STRONG&gt;# yum install ambari-agent&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This successfully fixed my problem.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 19:13:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-deploy-to-hosts/m-p/103095#M15392</guid>
      <dc:creator>kib</dc:creator>
      <dc:date>2016-07-21T19:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can not deploy to hosts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-deploy-to-hosts/m-p/103096#M15393</link>
      <description>&lt;P&gt;The answer given is worthless this issue comes down to not having the ambari agents setup on the nodes. Run a &lt;STRONG&gt;yum install &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ambari-agent&lt;/STRONG&gt; then configure the agent and start the agent with&lt;STRONG&gt; ambari-agent start.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;Any issues at this point check:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Agents are up and running&lt;/LI&gt;&lt;LI&gt;/etc/hosts files are correct&lt;/LI&gt;&lt;LI&gt;Ssh is working&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;There is another potential problem. If this is your SECOND attempt after restarting the entire process, there is a BUG.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If this is the second attempt after a successful SSH. Then try the alternative option for manual install. It will work if the agents are running and &lt;/STRONG&gt;&lt;STRONG&gt;vi /etc/ambari-agent/conf/ambari-agent.ini&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;
&lt;LI&gt;&lt;CODE&gt;[server]&lt;/CODE&gt;
&lt;P&gt;&lt;CODE&gt;hostname=&amp;lt;your.ambari.server.hostname&amp;gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;url_port=8440&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;secured_url_port=8441&lt;/CODE&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Start the agent on every host in your cluster.
&lt;P&gt;&lt;CODE&gt;ambari-agent start&lt;/CODE&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Fri, 21 Apr 2017 16:14:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-deploy-to-hosts/m-p/103096#M15393</guid>
      <dc:creator>jpetro416</dc:creator>
      <dc:date>2017-04-21T16:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can not deploy to hosts</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-deploy-to-hosts/m-p/103097#M15394</link>
      <description>&lt;P&gt;it is strange, I relaunched again Registering host, his passed !!?&lt;/P&gt;&lt;P&gt;would not it be a performance problem of memory (RAM) or network?&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="109421-screenshot-1.png" style="width: 1169px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23662iBC5FB13D8BE06A29/image-size/medium?v=v2&amp;amp;px=400" role="button" title="109421-screenshot-1.png" alt="109421-screenshot-1.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 12:09:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-not-deploy-to-hosts/m-p/103097#M15394</guid>
      <dc:creator>a_boughedda</dc:creator>
      <dc:date>2019-08-19T12:09:44Z</dc:date>
    </item>
  </channel>
</rss>

