<?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: Metron Quick-dev-platform installation timeout error at ​Task - [pycapa : Install dependencies] in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Quick-dev-platform-installation-timeout-error-at-Task/m-p/155134#M40820</link>
    <description>&lt;P&gt;you can try out the following to deploy pycapa later :-&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Navigate to metron-deployment folder&lt;/LI&gt;&lt;LI&gt;Run the following command if you deployed metron using quick-dev-deployment env earlier&lt;/LI&gt;&lt;/OL&gt;&lt;PRE&gt;ansible-playbook -i inventory/full-dev-platform --tags=“pycapa” playbooks/metron_full_install -vvv

&lt;/PRE&gt;&lt;P&gt;Note:- you can use the above command to run the skipped ansible tags.Just make sure to provide the tags comma separated to the --tags parameter.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2016 16:53:45 GMT</pubDate>
    <dc:creator>nsinha</dc:creator>
    <dc:date>2016-09-16T16:53:45Z</dc:date>
    <item>
      <title>Metron Quick-dev-platform installation timeout error at ​Task - [pycapa : Install dependencies]</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Quick-dev-platform-installation-timeout-error-at-Task/m-p/155131#M40817</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am running with below configurations to install Metron Quick-dev-platform:&lt;/P&gt;&lt;P&gt;Managed machine OS - Redhat 7&lt;/P&gt;&lt;P&gt;# ansible --version&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ansible 2.0.0.2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;# python2.7 -V&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Python 2.7.12&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Somehow the task - [&lt;STRONG&gt;pycapa : Install dependencies&lt;/STRONG&gt;] keeps failing because of timeouts while downloading &lt;STRONG&gt;libgcj-4.4.7-17.el6.x86_64.rpm&lt;/STRONG&gt; package. The network connectivity seems to be just fine, according to our network admin.&lt;/P&gt;&lt;P&gt;I want to know if I can comment out the content in: "/metron-deployment/roles/pycapa/tasks/pycapa.yml" so that I can skip pycapa setup completely and Metron would still get installed without any hiccups. Or is it okay to ssh node1 and install this package alone and continue with rest of installation/deployment? Whatever works &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 13:47:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Quick-dev-platform-installation-timeout-error-at-Task/m-p/155131#M40817</guid>
      <dc:creator>naveen_maheswar</dc:creator>
      <dc:date>2016-09-16T13:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Metron Quick-dev-platform installation timeout error at ​Task - [pycapa : Install dependencies]</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Quick-dev-platform-installation-timeout-error-at-Task/m-p/155132#M40818</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/12625/naveenmaheswaran.html"&gt;Naveen Maheswaran&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you want to skip the pycapa role installation , you can edit the run.sh file at /metron-deployment/vagrant/quick-dev-platform/run.sh and add "pycapa" to the list of "--ansible-skip-tags".&lt;/P&gt;&lt;P&gt;Your edited run.sh file should look like below :-&lt;/P&gt;&lt;PRE&gt;vagrant \  

--ansible-tags="hdp-deploy,metron" \  

--ansible-skip-tags="solr,pycapa" \  

up&lt;/PRE&gt;&lt;P&gt;Run the quick-dev-deployment after making the mentioned changes.&lt;/P&gt;&lt;P&gt;Please let me know if this serves your purpose.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 14:15:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Quick-dev-platform-installation-timeout-error-at-Task/m-p/155132#M40818</guid>
      <dc:creator>nsinha</dc:creator>
      <dc:date>2016-09-16T14:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Metron Quick-dev-platform installation timeout error at ​Task - [pycapa : Install dependencies]</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Quick-dev-platform-installation-timeout-error-at-Task/m-p/155133#M40819</link>
      <description>&lt;P&gt;Thanks! I don't have sufficient knowledge of Ansible, so pls bare with me. &lt;/P&gt;&lt;P&gt;Can you also let me know if, at a later point, I need to add pycapa, what procedure is to be followed? &lt;/P&gt;&lt;P&gt;In general, how to run skipped ansible tags at a later point in time?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 14:38:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Quick-dev-platform-installation-timeout-error-at-Task/m-p/155133#M40819</guid>
      <dc:creator>naveen_maheswar</dc:creator>
      <dc:date>2016-09-16T14:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Metron Quick-dev-platform installation timeout error at ​Task - [pycapa : Install dependencies]</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Quick-dev-platform-installation-timeout-error-at-Task/m-p/155134#M40820</link>
      <description>&lt;P&gt;you can try out the following to deploy pycapa later :-&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Navigate to metron-deployment folder&lt;/LI&gt;&lt;LI&gt;Run the following command if you deployed metron using quick-dev-deployment env earlier&lt;/LI&gt;&lt;/OL&gt;&lt;PRE&gt;ansible-playbook -i inventory/full-dev-platform --tags=“pycapa” playbooks/metron_full_install -vvv

&lt;/PRE&gt;&lt;P&gt;Note:- you can use the above command to run the skipped ansible tags.Just make sure to provide the tags comma separated to the --tags parameter.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 16:53:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Quick-dev-platform-installation-timeout-error-at-Task/m-p/155134#M40820</guid>
      <dc:creator>nsinha</dc:creator>
      <dc:date>2016-09-16T16:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Metron Quick-dev-platform installation timeout error at ​Task - [pycapa : Install dependencies]</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Quick-dev-platform-installation-timeout-error-at-Task/m-p/155135#M40821</link>
      <description>&lt;P&gt;Thanks for the help, Neha! I was able to set up Metron without pycapa. But now when I try to set up pycapa, I face issues.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I ran the command:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ansible-playbook -i inventory/full-dev-platform --tags=“pycapa” playbooks/metron_full_install.yml -vvv&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and encountered this:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Loaded callback default of type stdout, v2.0 &lt;/P&gt;&lt;P&gt;21 plays in playbooks/metron_full_install.yml&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;TASK [setup] ******************************************************************* &lt;/P&gt;&lt;P&gt;&amp;lt;node1&amp;gt; ESTABLISH SSH CONNECTION FOR USER: &lt;STRONG&gt;None &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;node1&amp;gt; SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/%h-%p-%r -tt node1 '( umask 22 &amp;amp;&amp;amp; mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1475220609.2-93846986252640 )" &amp;amp;&amp;amp; echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1475220609.2-93846986252640 )" )'&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;PLAY RECAP ********************************************************************* &lt;/P&gt;&lt;P&gt;node1                      : ok=0    changed=0    unreachable=1    failed=0&lt;/P&gt;&lt;P&gt;Looks like it caused unreachable host error because of &lt;EM&gt;User: None&lt;/EM&gt;. Can you have a look?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2016 14:39:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Quick-dev-platform-installation-timeout-error-at-Task/m-p/155135#M40821</guid>
      <dc:creator>naveen_maheswar</dc:creator>
      <dc:date>2016-09-30T14:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Metron Quick-dev-platform installation timeout error at ​Task - [pycapa : Install dependencies]</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Quick-dev-platform-installation-timeout-error-at-Task/m-p/155136#M40822</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/12625/naveenmaheswaran.html" nodeid="12625"&gt;@Naveen Maheswaran&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I found the following to be working fine. I tried with a quick dev deployment and it went through fine. Please check if you are able to get similar results in your case.&lt;/P&gt;&lt;P&gt;1) To deploy without pycapa role&lt;/P&gt;&lt;P&gt;- Edit run.sh and add 'pycapa' to the skip tags&lt;/P&gt;&lt;PRE&gt;(testmetron) ➜  quick-dev-platform git:(master) ✗ pwd
~/Metron/incubator-metron-fork/incubator-metron/metron-deployment/vagrant/quick-dev-platform
(testmetron) ➜  quick-dev-platform git:(master) ✗ tail -5 run.sh
vagrant \
  --ansible-tags="hdp-deploy,metron" \
  --ansible-skip-tags="solr,yaf,pycapa" \
  up

&lt;/PRE&gt;&lt;P&gt;2) Verify /opt/pycapa is absent in the vagrant node&lt;/P&gt;&lt;PRE&gt;(testmetron) ➜  quick-dev-platform git:(master) ✗ vagrant ssh
Last login: Mon Oct  3 09:14:30 2016 from 192.168.66.1
[vagrant@node1 ~]$ ls /opt/pycapa
ls: cannot access /opt/pycapa: No such file or directory
&lt;/PRE&gt;&lt;P&gt;3) Next deploy 'pycapa' role alone using the vagrant command:&lt;/P&gt;&lt;PRE&gt;(testmetron) ➜  quick-dev-platform git:(master) ✗ vagrant --ansible-tags="pycapa" provision
 Running with ansible-tags: ["pycapa"]
==&amp;gt; node1: Running provisioner: ansible...
    node1: Running ansible-playbook...
&amp;lt;snip&amp;gt;&lt;/PRE&gt;&lt;P&gt;4) Now see that the pycapa installables are created under /opt&lt;/P&gt;&lt;PRE&gt;(testmetron) ➜  quick-dev-platform git:(master) ✗ vagrant ssh
[vagrant@node1 ~]$ ls /opt/pycapa/pycapa*
/opt/pycapa/pycapa:
build  dist  LICENSE  pycapa  pycapa.egg-info  README.md  requirements.txt  setup.py  VERSION

/opt/pycapa/pycapa-venv:
bin  include  lib  lib64  pip-selfcheck.json  share  tests
&lt;/PRE&gt;&lt;P&gt;Let me know if this works.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2016 16:49:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-Quick-dev-platform-installation-timeout-error-at-Task/m-p/155136#M40822</guid>
      <dc:creator>asubramanian</dc:creator>
      <dc:date>2016-10-03T16:49:01Z</dc:date>
    </item>
  </channel>
</rss>

