Member since
08-22-2016
7
Posts
4
Kudos Received
0
Solutions
10-03-2016
09:49 AM
1 Kudo
Hi @Naveen Maheswaran, 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. 1) To deploy without pycapa role - Edit run.sh and add 'pycapa' to the skip tags (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
2) Verify /opt/pycapa is absent in the vagrant node (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
3) Next deploy 'pycapa' role alone using the vagrant command: (testmetron) ➜ quick-dev-platform git:(master) ✗ vagrant --ansible-tags="pycapa" provision
Running with ansible-tags: ["pycapa"]
==> node1: Running provisioner: ansible...
node1: Running ansible-playbook...
<snip> 4) Now see that the pycapa installables are created under /opt (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
Let me know if this works. Cheers, Anand
... View more
09-16-2016
06:29 AM
It worked! Thanks and cheers! I am past this hurdle, but somehow the task - [pycapa : Install dependencies] keeps failing because of timeouts while downloading libgcj-4.4.7-17.el6.x86_64.rpm package. The network connectivity seems to be just fine, according to our network admin. 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 🙂 Thanks in advance!
... View more