"VBoxManage: error: Failed to create the VirtualBox object" error while creating local dcos environment using vagrant

0

I'm trying to follow the steps here to install minidcos locally using vagrant.

I've installed minidcos using the below command here -

$ curl --fail -L https://github.com/dcos/dcos-e2e/releases/download/2018.12.10.0/minidcos -o /usr/local/bin/minidcos && \
  chmod +x /usr/local/bin/minidcos

minidcos vagrant doctor command output is

$ minidcos vagrant doctor
5/5 checks complete: ██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████rajkumar@rajkumarnatarajan:~/Coding/dcos$ minidcos vagrant create ./dcos_generate_config.sh --agents 0 

I assumed the above command is successfully snce there is no error in the output.

$ sudo minidcos vagrant create ./dcos_generate_config.sh --agents 0
VBoxManage: error: Failed to create the VirtualBox object!
VBoxManage: error: Code NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154) - Class not registered (extended info not available)
VBoxManage: error: Most likely, the VirtualBox COM server is not running or failed to start.
Traceback (most recent call last):
  File "minidcos", line 4, in <module>
  File "site-packages/click/core.py", line 764, in __call__
  File "site-packages/click/core.py", line 717, in main
  File "site-packages/click/core.py", line 1137, in invoke
  File "site-packages/click/core.py", line 1137, in invoke
  File "site-packages/click/core.py", line 956, in invoke
  File "site-packages/click/core.py", line 555, in invoke
  File "site-packages/click/decorators.py", line 17, in new_func
  File "site-packages/dcos_e2e_cli/dcos_vagrant/commands/create.py", line 136, in create
  File "site-packages/dcos_e2e_cli/dcos_vagrant/commands/_common.py", line 61, in existing_cluster_ids
  File "site-packages/dcos_e2e_cli/_vendor/vertigo_py/vertigo.py", line 45, in ls
  File "subprocess.py", line 336, in check_output
  File "subprocess.py", line 418, in run
subprocess.CalledProcessError: Command '['VBoxManage', 'list', 'vms']' returned non-zero exit status 1.

From the above error log I think VBoxManage list vms command failed.

So I executed manually but it is working fine.

$ VBoxManage list vms
"Fedora28GNome" {386e23bc-9905-4dd9-ba35-100cf498cb5e}
"OpenSuseTumbleweed" {91f9de56-7a48-4dfe-9f3f-7cf6b764a0d1}

My minidcos version installed in my laptop is

$ minidcos --version
minidcos, version 2018.12.10.0

My ubuntu version is :

$ lsb_release  -a
Distributor ID: Ubuntu
Description:    Ubuntu 17.10
Release:        17.10
Codename:       artful

What is that I'm doing wrong. Is that anything that I'm missing.

Thanks in advance.

mesos
dcos

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0