[ 
https://issues.apache.org/jira/browse/METRON-645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15796039#comment-15796039
 ] 

ASF GitHub Bot commented on METRON-645:
---------------------------------------

GitHub user nickwallen opened a pull request:

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

    METRON-645 Unable to Start Fastcapa Test Environment

    The Fastcapa Test Environment could not be started.  There were three 
problems that needed addressed.
    
    1. The version of DPDK being used (2.2.0) does not work with newer versions 
of the Linux kernel.  See [this 
thread](http://dpdk.org/ml/archives/dev/2016-June/040968.html) for more 
information. Updating to the latest DPDK release, 16.11 which is N+3 from 
2.2.0, resolved this problem.
    
    2. The `install_pcap_replay` variable was not defined.  This variable is 
required and was added sometime after the creation of the Fastcapa test 
environment.
    
    3. In the Fastcapa Ansible deployment scripts, I moved all tasks into a 
separate `tasks` block.  Previously, Ansible was more forgiving and allowed 
tasks to be embedded in the `roles` block.
    
    Testing
    
    The Ansible deployment includes a complete validation process at the tail 
end of deployment.  If the process completes successfully, then you know that 
it is working.  Look for the message "Successfully received a Kafka message 
from fastcapa!"  The message, or absence thereof, is hard to miss.
    
    ```
    cd incubator-metron/metron-deployment/vagrant/fastcapa-test-platform
    vagrant up
    ```
    


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

    $ git pull https://github.com/nickwallen/incubator-metron METRON-645

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

    https://github.com/apache/incubator-metron/pull/410.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 #410
    
----
commit 88e378e7332f711b54982190d67b647210fcdabf
Author: Nick Allen <[email protected]>
Date:   2017-01-03T19:29:45Z

    METRON-645 Unable to Start Fastcapa Test Environment

----


> Unable to Start Fastcapa Test Environment
> -----------------------------------------
>
>                 Key: METRON-645
>                 URL: https://issues.apache.org/jira/browse/METRON-645
>             Project: Metron
>          Issue Type: Bug
>            Reporter: Nick Allen
>            Assignee: Nick Allen
>
> {code}
> $ vagrant up
> Bringing machine 'source' up with 'virtualbox' provider...
> Bringing machine 'sink' up with 'virtualbox' provider...
> ...
> ==> sink: Running provisioner: ansible...
>     sink: Running ansible-playbook...
> ERROR! role definitions must contain a role name
> The error appears to have been in 
> '/Users/nallen/Development/incubator-metron/metron-deployment/vagrant/fastcapa-test-platform/playbook.yml':
>  line 30, column 7, but may
> be elsewhere in the file depending on the exact syntax problem.
> The offending line appears to be:
>     - { role: sensor-test-mode, pcap_replay: True, install_yaf: False, 
> install_snort: False }
>     - service: name=pcap-replay state=started
>       ^ here
> Ansible failed to complete successfully. Any error output should be
> visible above. Please fix these errors and try again.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to