使用流浪汉

时间:2018-12-30 05:08:54

标签: mesos dcos

我正在尝试按照here的步骤使用流浪汉在本地安装minidcos。

我已经使用以下命令here安装了minidcos-

$ 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命令输出为

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

我假设上面的命令成功了,因为输出没有错误。

$ 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.

从上面的错误日志中,我认为VBoxManage list vms命令失败。

所以我手动执行,但是工作正常。

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

我在笔记本电脑中安装的minidcos版本是

$ minidcos --version
minidcos, version 2018.12.10.0

我的ubuntu版本是:

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

我做错了什么。那是我所缺少的吗?

谢谢。

0 个答案:

没有答案