GitHub user JonZeolla opened a pull request:

    https://github.com/apache/incubator-metron/pull/411

    METRON-635: Vagrant provisioning fails on CentOS hosts

    ## Problem
    Vagrant provisioning of full or quick-dev fails when using various hosts 
(specifically tested on CentOS 6.8) with the following error message. 
    ```
    fatal: [node1]: FAILED! => {"failed": true, "msg": "ERROR! failed to 
transfer file to 
/home/vagrant/.ansible/tmp/ansible-tmp-1483495876.66-189750710960299/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"}
    ```
    
    ## Solution
    Add `scp_if_ssh = True` in the appropriate ansible.cfg.
    
    ## Testing
    
    Tested by running up full-dev-platform, quick-dev-platform, 
codelab-platform, and fastcapa-test-platform (testing fastcapa required merging 
[the PR](https://github.com/apache/incubator-metron/pull/410) for 
[METRON-645](https://issues.apache.org/jira/browse/METRON-645)) with and 
without the modifications in this PR.  I found that codelab and fastcapa did 
not require the modification in my environment to be successfully provisioned.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/JonZeolla/incubator-metron METRON-635

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-metron/pull/411.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #411
    
----
commit cffb4aa44c707395c99476dd6e912beb85f9be60
Author: Jon Zeolla <zeo...@gmail.com>
Date:   2017-01-04T13:47:24Z

    METRON-635: Vagrant provisioning fails on CentOS hosts

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to