Support Questions

Find answers, ask questions, and share your expertise

Failure when running Metron Single Node Vagrant installer

avatar
Contributor

Environment Setup: Python2.7 / Ansible 2.0.0.2 / Vagrant 1.8.1 / Virtualbox 5.0.16 / Maven 3.3.9 / incubator-metron-Metron_0.1_tc3

# vagrant up

Bringing machine 'node1' up with 'virtualbox' provider...

==> node1: Checking if box 'bento/centos-6.7' is up to date...

==> node1: VirtualBox VM is already running.

# vagrant provision

==> node1: Running provisioner: ansible...

node1: Running ansible-playbook...

PLAY ***************************************************************************

skipping: no hosts matched

PLAY ***************************************************************************

skipping: no hosts matched

PLAY ***************************************************************************

TASK [setup] *******************************************************************

fatal: [node1]: FAILED! => {"failed": true, "msg": "ERROR! failed to transfer file to /home/vagrant/.ansible/tmp/ansible-tmp-1466407020.4-160303380097709/setup:\n\nsftp: illegal option -- i\nusage: sftp [-1Cv] [-B buffer_size] [-b batchfile] [-F ssh_config]\n [-o ssh_option] [-P sftp_server_path] [-R num_requests]\n [-S program] [-s subsystem | sftp_server] host\n sftp [user@]host[:file ...]\n sftp [user@]host[:dir[/]]\n sftp -b batchfile [user@]host\n"}

NO MORE HOSTS LEFT *************************************************************

PLAY RECAP *********************************************************************

node1 : ok=0 changed=0 unreachable=0 failed=1

Ansible failed to complete successfully. Any error output should be visible above. Please fix these errors and try again.

# ./platform-info.sh

Metron 0.1BETA

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.6.6

-- Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T22:11:47+05:30)

Maven home: /opt/apache-maven-3.3.9

Java version: 1.7.0_79, vendor: Oracle Corporation

Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.79.x86_64/jre

Default locale: en_US, platform encoding: UTF-8

OS name: "linux", version: "2.6.32-573.el6.x86_64", arch: "amd64", family: "unix"

--

Linux nortem 2.6.32-573.el6.x86_64 #1 SMP Thu Jul 23 15:44:03 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

1 ACCEPTED SOLUTION

avatar
Expert Contributor

You can set scp_if_ssh=True under [ssh_connection] in the ansible.cfg in the full-dev-platform dir, and then works.

View solution in original post

4 REPLIES 4

avatar
Expert Contributor

All your software versions look correct. I would recommend trying master versus that TP1 release. There is a lot more functionality and the deployment process should be smoother.

avatar
Contributor

What is the difference between TP1, TP2 & TP3 Releases?

avatar
Expert Contributor

You can set scp_if_ssh=True under [ssh_connection] in the ansible.cfg in the full-dev-platform dir, and then works.

avatar
Contributor

Thank you very much. This solved my problem.