Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

NS_ERROR_FAILURE when running Metron Single Node Vagrant installer

avatar
Super Collaborator

I'm trying to install the single node vagrant installer.

https://github.com/apache/incubator-metron/tree/Metron_0.1BETA_rc5/deployment/vagrant/singlenode-vag...

Steps that I ran were the following:

  1. Downloaded the RC_5 tech preview candiate here; http://home.apache.org/~jsirota/metron/Metron_0.1BETA_RC/RC_5/
  2. cd incubator-metron
  3. Built source: mvn apache-rat:check && cd metron-streaming && mvn clean integration-test

    && cd ..

  4. cd deployment/vagrant/singlenode-vagrant
  5. Ran vagrant scripts:
    1. vagrant plugin install vagrant-hostmanager
    2. vagrant up

The error that I'm getting when running vagrant up is the following

Georges-MacBook-Pro-3:singlenode-vagrant gvetticaden$ vagrant up
Bringing machine 'node1' up with 'virtualbox' provider...

==> node1: Box 'bento/centos-6.7' could not be found. Attempting to find and install...

    node1: Box Provider: virtualbox

    node1: Box Version: >= 0

==> node1: Loading metadata for box 'bento/centos-6.7'

    node1: URL: https://atlas.hashicorp.com/bento/centos-6.7

==> node1: Adding box 'bento/centos-6.7' (v2.2.3) for provider: virtualbox

    node1: Downloading: https://atlas.hashicorp.com/bento/boxes/centos-6.7/versions/2.2.3/providers/virtualbox.box

==> node1: Successfully added box 'bento/centos-6.7' (v2.2.3) for 'virtualbox'!

==> node1: Importing base box 'bento/centos-6.7'...

==> node1: Matching MAC address for NAT networking...

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

==> node1: Setting the name of the VM: singlenode-vagrant_node1_1458751896067_60751

==> node1: Clearing any previously set network interfaces...

There was an error while executing `VBoxManage`, a CLI used by Vagrant

for controlling VirtualBox. The command and stderr is shown below.



Command: ["hostonlyif", "create"]



Stderr: 0%...

Progress state: NS_ERROR_FAILURE

VBoxManage: error: Failed to create the host-only adapter

VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory

VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterface, interface IHostNetworkInterface

VBoxManage: error: Context: "int handleCreate(HandlerArg*, int, int*)" at line 68 of file VBoxManageHostonly.cpp
1 ACCEPTED SOLUTION

avatar
Super Collaborator

I solved the problem by upgrading my virtual box from 4.2.4 to 5.0.16.

Ensure that you have the latest virtual box.

View solution in original post

2 REPLIES 2

avatar
Super Collaborator

I solved the problem by upgrading my virtual box from 4.2.4 to 5.0.16.

Ensure that you have the latest virtual box.

avatar
New Member

I just want to tack onto this that the documentation that George cites in his question should be found at https://github.com/apache/incubator-metron/tree/master/deployment

More complete documentation is coming around this.