Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 05-03-2016 09:36 PM
I've been following the single node vagrant instructions on my mac and I'm getting the following error during provisioning:
TASK [ambari_config : Deploy cluster with Ambari; http://node1:8080] *********** fatal: [node1]: FAILED! => {"changed": false, "failed": true, "msg": "Request failed with status FAILED"} PLAY RECAP ********************************************************************* node1 : ok=36 changed=12 unreachable=0 failed=1 Ansible failed to complete successfully. Any error output should be visible above. Please fix these errors and try again.Any suggestions would be much appreciated!
Chris
Created 05-04-2016 04:47 PM
I decided to start over from the beginning with my build. I uninstalled my pkg version of python and used to brew to install it. From there I followed the commands I was able to get successfully complete the deploy cluster with Ambari step.
Created 05-03-2016 09:42 PM
Which is your ansible version? See that its version 2.0.0.2. There are issues with other versions.
Created 05-03-2016 09:47 PM
Yes I am using the correct version of ansible.
ansible --version ansible 2.0.0.2 config file = /Users/cpmiller/incubator-metron-Metron_0.1BETA_rc7/deployment/vagrant/singlenode-vagrant/ansible.cfg configured module search path = ../../extra_modules
Created 05-04-2016 04:47 PM
I decided to start over from the beginning with my build. I uninstalled my pkg version of python and used to brew to install it. From there I followed the commands I was able to get successfully complete the deploy cluster with Ambari step.
Created 09-07-2016 06:02 AM
Hi,
I am getting same problem. Can you please help as I have already rebuild and fixed all the version as requirements.
TASK [ambari_config : Start the ambari cluster - wait] *************************
task path: /root/incubator-metron/metron-deployment/roles/ambari_config/tasks/start_hdp.yml:34
<node1> ESTABLISH SSH CONNECTION FOR USER: vagrant
<node1> SSH: EXEC ssh -C -q -o UserKnownHostsFile=/dev/null -o IdentitiesOnly=yes -i /root/incubator-metron/metron-deployment/vagrant/quick-dev-platform/.vagrant/machines/node1/virtualbox/private_key -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 User=vagrant -o ConnectTimeout=30 -o ControlPath=/root/.ansible/cp/%h-%p-%r -tt node1 '( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1473209385.32-98455003105714 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1473209385.32-98455003105714 )" )'
<node1> PUT /tmp/tmpAn0m91 TO /home/vagrant/.ansible/tmp/ansible-tmp-1473209385.32-98455003105714/ambari_cluster_state
<node1> SSH: EXEC scp -C -o UserKnownHostsFile=/dev/null -o IdentitiesOnly=yes -i /root/incubator-metron/metron-deployment/vagrant/quick-dev-platform/.vagrant/machines/node1/virtualbox/private_key -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 User=vagrant -o ConnectTimeout=30 -o ControlPath=/root/.ansible/cp/%h-%p-%r /tmp/tmpAn0m91 '[node1]:/home/vagrant/.ansible/tmp/ansible-tmp-1473209385.32-98455003105714/ambari_cluster_state'
<node1> ESTABLISH SSH CONNECTION FOR USER: vagrant
<node1> SSH: EXEC ssh -C -q -o UserKnownHostsFile=/dev/null -o IdentitiesOnly=yes -i /root/incubator-metron/metron-deployment/vagrant/quick-dev-platform/.vagrant/machines/node1/virtualbox/private_key -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 User=vagrant -o ConnectTimeout=30 -o ControlPath=/root/.ansible/cp/%h-%p-%r -tt node1 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-lukrmkykcdxpjwukrwnhwnmcbbllwrap; LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /home/vagrant/.ansible/tmp/ansible-tmp-1473209385.32-98455003105714/ambari_cluster_state; rm -rf "/home/vagrant/.ansible/tmp/ansible-tmp-1473209385.32-98455003105714/" > /dev/null 2>&1'"'"'"'"'"'"'"'"''"'"''
fatal: [node1]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_args": {"blueprint_name": null, "blueprint_var": null, "cluster_name": "metron_cluster", "cluster_state": "started", "configurations": null, "host": "node1", "password": "admin", "port": 8080, "username": "admin", "wait_for_complete": true}, "module_name": "ambari_cluster_state"}, "msg": "Request failed with status TIMEDOUT"}
PLAY RECAP *********************************************************************
node1 : ok=15 changed=1 unreachable=0 failed=1 Following is my platform information
[root@CentOS17 ~]# ./incubator-metron/metron-deployment/scripts/platform-info.sh Metron 0.2.0BETA fatal: Not a git repository (or any of the parent directories): .git -- ansible 2.0.0.2 config file = configured module search path = Default w/o overrides -- Vagrant 1.8.1 -- Python 2.7.11 -- Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T21:41:47+05:00) Maven home: /usr/share/apache-maven Java version: 1.8.0_45, vendor: Oracle Corporation Java home: /usr/java/jdk1.8.0_45/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "2.6.32-642.el6.x86_64", arch: "amd64", family: "unix" -- Linux CentOS17 2.6.32-642.el6.x86_64 #1 SMP Tue May 10 17:27:01 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux