stackfoundation / issues

Public issue tracker for stack.foundation
0 stars 0 forks source link

Issue with Virtualbox #1

Open Jefnull opened 6 years ago

Jefnull commented 6 years ago

When trying to run a test for a sandbox workflow, I get the following error

Setting up and starting a local Kubernetes v1.7.2+$Format:%h$ cluster...
Starting Sandbox VM...
Creating new host
Error starting host: Error creating host: Error executing step: Running precreate checks.
: We support Virtualbox starting with version 5. Your VirtualBox install is "WARNING: The character device /dev/vboxdrv does not exist.\n\t Please install the virtualbox-dkms package and the appropriate\n\t headers, most likely linux-headers-lowlatency.\n\n\t You will not be able to start VMs until this problem is fixed.\n5.1.30_Ubuntur118389". Please upgrade at https://www.virtualbox.org.

the virtualbox-dkms package is installed and up to date and I installed linux-headers-lowlatency

Running Ubuntu 17.10

contents of run.wflow

steps:
- image: ubuntu

Let me know if you need more information

rchodava commented 6 years ago

Thanks for reporting Jefnull. It's likely due to a problem during the installation of VirtualBox. Did it report that it was installing VirtualBox, and ask you for the root password while doing that? Can you try uninstalling VirtualBox, and manually re-installing VirtualBox yourself, and then try running a workflow?

I will try and reproduce the issue in the mean-time.

Jefnull commented 6 years ago

At the point of me running sandbox, Virtualbox had already been installed (and worked). however, a re-install fixed the issue.

Thanks! I'm excited to try this out.

rchodava commented 6 years ago

Ah, interesting - I'm glad that reinstalling worked for you.  And thanks for trying it out, let us know if you run into any trouble.

I'll keep this issue open for the moment for ourselves to see if we can detect failed VirtualBox installs better and improve the suggestions for folks.