[
https://issues.apache.org/jira/browse/METRON-635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15798305#comment-15798305
]
ASF GitHub Bot commented on METRON-635:
---------------------------------------
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 <[email protected]>
Date: 2017-01-04T13:47:24Z
METRON-635: Vagrant provisioning fails on CentOS hosts
----
> Vagrant provisioning fails on CentOS hosts
> ------------------------------------------
>
> Key: METRON-635
> URL: https://issues.apache.org/jira/browse/METRON-635
> Project: Metron
> Issue Type: Bug
> Affects Versions: 0.3.0
> Reporter: Jon Zeolla
> Assignee: Jon Zeolla
>
> Vagrant provisioning fails on CentOS hosts with an sftp error message.
> Adding `scp_if_ssh = True` in ansible.cfg fixes things.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)