Member since
08-22-2016
7
Posts
4
Kudos Received
0
Solutions
09-30-2016
07:39 AM
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. I ran the command: ansible-playbook -i inventory/full-dev-platform --tags=“pycapa” playbooks/metron_full_install.yml -vvv and encountered this: Loaded callback default of type stdout, v2.0 21 plays in playbooks/metron_full_install.yml ... TASK [setup] ******************************************************************* <node1> ESTABLISH SSH CONNECTION FOR USER: None <node1> 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 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1475220609.2-93846986252640 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1475220609.2-93846986252640 )" )' ... PLAY RECAP ********************************************************************* node1 : ok=0 changed=0 unreachable=1 failed=0 Looks like it caused unreachable host error because of User: None. Can you have a look?
... View more
09-16-2016
07:38 AM
Thanks! I don't have sufficient knowledge of Ansible, so pls bare with me. Can you also let me know if, at a later point, I need to add pycapa, what procedure is to be followed? In general, how to run skipped ansible tags at a later point in time?
... View more
09-16-2016
06:47 AM
1 Kudo
Hi, I am running with below configurations to install Metron Quick-dev-platform: Managed machine OS - Redhat 7 # ansible --version ansible 2.0.0.2 # python2.7 -V Python 2.7.12 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 🙂
... View more
Labels:
- Labels:
-
Apache Metron
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
09-15-2016
01:16 PM
2 Kudos
I am running with below configurations: Managed machine OS - Redhat 7 # ansible --version ansible 2.0.0.2 # python2.7 -V Python 2.7.12 (Note: The command python -V gives me 2.7.5 while python2.7 -V gives me 2.7.12) And I am getting the below error: TASK [kibana : Download Nodesource Yum Repository Setup] *********************** fatal: [node1]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to validate the SSL certificate for rpm.nodesource.com:443. Make sure your managed systems have a valid CA certificate installed. If the website serving the url uses SNI you need python >= 2.7.9 on your managed machine. You can use validate_certs=False if you do not need to confirm the server\\s identity but this is unsafe and not recommended Paths checked for this platform: /etc/ssl/certs, /etc/pki/ca-trust/extracted/pem, /etc/pki/tls/certs, /usr/share/ca-certificates/cacert.org, /etc/ansible"}
PLAY RECAP ********************************************************************* node1 : ok=182 changed=40 unreachable=0 failed=1 I tried adding config.vm.box_download_insecure = true to the Vagrantfile and then reloaded vagrant by vagrant reload and provisioning vagrant again. But the error still occurs. What did I miss? Or is there any way to tell ansible to do this? I saw this validate_certs=False solution on the web, but I am not sure where to add this, if it's a good workaround. Please help. Sorry for this naive question though 🙂 Thanks!
... View more
Labels:
- Labels:
-
Apache Metron