vagrant up errors

Error

@MINGW64 ~/propel-vagrant-dev (master)

vagrant up
Bringing machine 'default' up with 'virtualbox'provider...
==> default: Importing base box 'propel'...
==> default: Matching MAC address for NATnetworking...
==> default: Setting the name of the VM:propel.localtest.com
==> default: Clearing any previously setnetwork interfaces...
==> default: Preparing network interfacesbased on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 22 (guest) => 2222(host) (adapter 1)
==> default: Running 'pre-boot' VMcustomizations...
==> default: Booting VM...
There wasan error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm","0b24013a-6cef-4106-9657-8ed3723c54e2", "--type","headless
"]

Stderr: VBoxManage.exe: error: Failed to open/create the internal network'HostI
nterfaceNetworking-VirtualBox Host-Only Ethernet Adapter #5'(VERR_INTNET_FLT_IF
_NOT_FOUND).
VBoxManage.exe: error: Failed to attach the network LUN(VERR_INTNET_FLT_IF_NOT_
FOUND)
VBoxManage.exe: error: Details: code E_FAIL (
0x80004005), component ConsoleWrap,
 interface IConsole

 

Solution:

Installing VirtualBox with NDIS5 instead of NDIS6 by CLI.

$VirtualBox-5.0.14-105127-Win.exe -msiparamsNETWORKTYPE=NDIS5

 

Reference:

 

Thereply from https://caffinc.github.io/2015/11/fix-vbox-network/

·       Jan Nowak2 months ago

For me itdidn't work this way.
But fortunalety it worked the way mentioned in thread you pointed out.
For me instaling VirtualBox with NDIS5 instead of NDIS6 solved problem.
C:\Users\Me\Downloads>VirtualBox-5.0.11-104101-Win.exe -msiparamsNETWORKTYPE=NDIS5”


Error2

@ MINGW64 ~/propel-vagrant-dev (master)
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
The guest machine entered an invalid state while waiting for it
to boot. Valid states are 'starting, running'. The machine is in the
'poweroff' state. Please verify everything is configured
properly and try again.


If the provider you're using has a GUI that comes with it,
it is often helpful to open that and watch the machine, since the
GUI often has more helpful error messages than Vagrant can retrieve.
For example, if you're using VirtualBox, run `vagrant up` while the
VirtualBox GUI is open.


The primary issue for this error is that the provider you're using
is not properly configured. This is very rarely a Vagrant issue.


tiaxia@TIAXIA8 MINGW64 ~/propel-vagrant-dev (master)
$


Error3

tiaxia@TIAXIA8 MINGW64 ~/propel-vagrant-dev (master)
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'propel'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: propel.localtest.com
The name of your virtual machine couldn't be set because VirtualBox
is reporting another VM with that name already exists. Most of the
time, this is because of an error with VirtualBox not cleaning up
properly. To fix this, verify that no VMs with that name do exist
(by opening the VirtualBox GUI). If they don't, then look at the
folder in the error message from VirtualBox below and remove it
if there isn't any information you need in there.


VirtualBox error:


VBoxManage.exe: error: Could not rename the directory 'C:\Users\tiaxia\VirtualBo
x VMs\packer-centos-7-x86_64_1459827350335_10631' to 'C:\Users\tiaxia\VirtualBox
 VMs\propel.localtest.com' to save the settings file (VERR_ALREADY_EXISTS)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component SessionMachi
ne, interface IMachine, callee IUnknown
VBoxManage.exe: error: Context: "SaveSettings()" at line 3016 of file VBoxManage
ModifyVM.cpp


//
TASK [apply subscription saratoga changes] *************************************


changed: [default] => (item=rm -f /opt/hp/propel/subscription/lib/subscription.j
ar) => {"changed": true, "cmd": ["rm", "-f", "/opt/hp/propel/subscription/lib/su
bscription.jar"], "delta": "0:00:00.004328", "end": "2016-04-05 07:42:33.839655"
, "item": "rm -f /opt/hp/propel/subscription/lib/subscription.jar", "rc": 0, "st
art": "2016-04-05 07:42:33.835327", "stderr": "", "stdout": "", "stdout_lines":
[], "warnings": ["Consider using file module with state=absent rather than runni
ng rm"]}
changed: [default] => (item=aria2c -x4 ftp://ftp.hpetech.tk/propel/tmp/subscript
ion.jar --conditional-get=true --dir=/opt/hp/propel/subscription/lib --out subsc
ription.jar) => {"changed": true, "cmd": ["aria2c", "-x4", "ftp://ftp.hpetech.tk
/propel/tmp/subscription.jar", "--conditional-get=true", "--dir=/opt/hp/propel/s
ubscription/lib", "--out", "subscription.jar"], "delta": "0:00:05.889712", "end"
: "2016-04-05 07:42:39.802171", "item": "aria2c -x4 ftp://ftp.hpetech.tk/propel/
tmp/subscription.jar --conditional-get=true --dir=/opt/hp/propel/subscription/li
b --out subscription.jar", "rc": 0, "start": "2016-04-05 07:42:33.912459", "stde
rr": "", "stdout": "[#afe5e1 0B/0B CN:1 DL:0B]\n[#afe5e1 0B/0B CN:1 DL:0B]\n[#af
e5e1 0B/0B CN:1 DL:0B]\n[#afe5e1 9.5MiB/22MiB(41%) CN:1 DL:11MiB ETA:1s]\n[#afe5
e1 20MiB/22MiB(90%) CN:1 DL:11MiB]\n\n04/05 07:42:39 [\u001b[1;32mNOTICE\u001b[0
m] Download complete: /opt/hp/propel/subscription/lib/subscription.jar\n\nDownlo
ad Results:\ngid   |stat|avg speed  |path/URI\n======+====+===========+=========
==============================================\nafe5e1|OK  |    11MiB/s|/opt/hp/
propel/subscription/lib/subscription.jar\n\nStatus Legend:\n(OK):download comple
ted.", "stdout_lines": ["[#afe5e1 0B/0B CN:1 DL:0B]", "[#afe5e1 0B/0B CN:1 DL:0B
]", "[#afe5e1 0B/0B CN:1 DL:0B]", "[#afe5e1 9.5MiB/22MiB(41%) CN:1 DL:11MiB ETA:
1s]", "[#afe5e1 20MiB/22MiB(90%) CN:1 DL:11MiB]", "", "04/05 07:42:39 [\u001b[1;
32mNOTICE\u001b[0m] Download complete: /opt/hp/propel/subscription/lib/subscript
ion.jar", "", "Download Results:", "gid   |stat|avg speed  |path/URI", "======+=
===+===========+=======================================================", "afe5e
1|OK  |    11MiB/s|/opt/hp/propel/subscription/lib/subscription.jar", "", "Statu
s Legend:", "(OK):download completed."], "warnings": []}


TASK [apply subscription-ui saratoga changes] **********************************


failed: [default] => (item=aria2c -x4 ftp://itoecsl0.asiapacific.hpqcorp.net/sar
atoga_team/build//subscription-ui.2016.03.02.tar.gz --conditional-get=true --dir
=/opt/hp/propel/subscription-ui/) => {"changed": true, "cmd": ["aria2c", "-x4",
"ftp://itoecsl0.asiapacific.hpqcorp.net/saratoga_team/build//subscription-ui.201
6.03.02.tar.gz", "--conditional-get=true", "--dir=/opt/hp/propel/subscription-ui
/"], "delta": "0:00:00.238415", "end": "2016-04-05 07:42:40.152464", "failed": t
rue, "item": "aria2c -x4 ftp://itoecsl0.asiapacific.hpqcorp.net/saratoga_team/bu
ild//subscription-ui.2016.03.02.tar.gz --conditional-get=true --dir=/opt/hp/prop
el/subscription-ui/", "rc": 3, "start": "2016-04-05 07:42:39.914049", "stderr":
"", "stdout": "\n04/05 07:42:40 [\u001b[1;31mERROR\u001b[0m] CUID#6 - Download a
borted. URI=ftp://itoecsl0.asiapacific.hpqcorp.net/saratoga_team/build//subscrip
tion-ui.2016.03.02.tar.gz\nException: [AbstractCommand.cc:350] errorCode=3 URI=f
tp://itoecsl0.asiapacific.hpqcorp.net/saratoga_team/build//subscription-ui.2016.
03.02.tar.gz\n  -> [FtpNegotiationCommand.cc:832] errorCode=3 Resource not found
\n\n04/05 07:42:40 [\u001b[1;32mNOTICE\u001b[0m] Download GID#46f03cdcedf95cfa n
ot complete: /opt/hp/propel/subscription-ui//subscription-ui.2016.03.02.tar.gz\n
\nDownload Results:\ngid   |stat|avg speed  |path/URI\n======+====+===========+=
======================================================\n46f03c|ERR |       0B/s|
/opt/hp/propel/subscription-ui//subscription-ui.2016.03.02.tar.gz\n\nStatus Lege
nd:\n(ERR):error occurred.\n\naria2 will resume download if the transfer is rest
arted.\nIf there are any errors, then see the log file. See '-l' option in help/
man page for details.", "stdout_lines": ["", "04/05 07:42:40 [\u001b[1;31mERROR\
u001b[0m] CUID#6 - Download aborted. URI=ftp://itoecsl0.asiapacific.hpqcorp.net/
saratoga_team/build//subscription-ui.2016.03.02.tar.gz", "Exception: [AbstractCo
mmand.cc:350] errorCode=3 URI=ftp://itoecsl0.asiapacific.hpqcorp.net/saratoga_te
am/build//subscription-ui.2016.03.02.tar.gz", "  -> [FtpNegotiationCommand.cc:83
2] errorCode=3 Resource not found", "", "04/05 07:42:40 [\u001b[1;32mNOTICE\u001
b[0m] Download GID#46f03cdcedf95cfa not complete: /opt/hp/propel/subscription-ui
//subscription-ui.2016.03.02.tar.gz", "", "Download Results:", "gid   |stat|avg
speed  |path/URI", "======+====+===========+====================================
===================", "46f03c|ERR |       0B/s|/opt/hp/propel/subscription-ui//s
ubscription-ui.2016.03.02.tar.gz", "", "Status Legend:", "(ERR):error occurred."
, "", "aria2 will resume download if the transfer is restarted.", "If there are
any errors, then see the log file. See '-l' option in help/man page for details.
"], "warnings": []}

changed: [default] => (item=rm -rf /opt/hp/propel/subscription-ui/bower_componen
ts) => {"changed": true, "cmd": ["rm", "-rf", "/opt/hp/propel/subscription-ui/bo
wer_components"], "delta": "0:00:00.036488", "end": "2016-04-05 07:42:40.260286"
, "item": "rm -rf /opt/hp/propel/subscription-ui/bower_components", "rc": 0, "st
art": "2016-04-05 07:42:40.223798", "stderr": "", "stdout": "", "stdout_lines":
[], "warnings": ["Consider using file module with state=absent rather than runni
ng rm"]}
changed: [default] => (item=rm -rf /opt/hp/propel/subscription-ui/dist) => {"cha
nged": true, "cmd": ["rm", "-rf", "/opt/hp/propel/subscription-ui/dist"], "delta
": "0:00:00.003002", "end": "2016-04-05 07:42:40.335154", "item": "rm -rf /opt/h
p/propel/subscription-ui/dist", "rc": 0, "start": "2016-04-05 07:42:40.332152",
"stderr": "", "stdout": "", "stdout_lines": [], "warnings": ["Consider using fil
e module with state=absent rather than running rm"]}
failed: [default] => (item=tar -xvf /opt/hp/propel/subscription-ui/subscription-
ui.2016.03.02.tar.gz -C /opt/hp/propel/subscription-ui) => {"changed": true, "cm
d": ["tar", "-xvf", "/opt/hp/propel/subscription-ui/subscription-ui.2016.03.02.t
ar.gz", "-C", "/opt/hp/propel/subscription-ui"], "delta": "0:00:00.037799", "end
": "2016-04-05 07:42:40.443934", "failed": true, "item": "tar -xvf /opt/hp/prope
l/subscription-ui/subscription-ui.2016.03.02.tar.gz -C /opt/hp/propel/subscripti
on-ui", "rc": 2, "start": "2016-04-05 07:42:40.406135", "stderr": "tar: This doe
s not look like a tar archive\n\ngzip: stdin: unexpected end of file\ntar: Child
 returned status 1\ntar: Error is not recoverable: exiting now", "stdout": "", "
stdout_lines": [], "warnings": ["Consider using unarchive module rather than run
ning tar"]}

 [WARNING]: Consider using unarchive module rather than running tar


changed: [default] => (item=rm -f /opt/hp/propel/subscription-ui/subscription-ui
.2016.03.02.tar.gz) => {"changed": true, "cmd": ["rm", "-f", "/opt/hp/propel/sub
scription-ui/subscription-ui.2016.03.02.tar.gz"], "delta": "0:00:00.002034", "en
d": "2016-04-05 07:42:40.516970", "item": "rm -f /opt/hp/propel/subscription-ui/
subscription-ui.2016.03.02.tar.gz", "rc": 0, "start": "2016-04-05 07:42:40.51493
6", "stderr": "", "stdout": "", "stdout_lines": [], "warnings": ["Consider using
 file module with state=absent rather than running rm"]}


NO MORE HOSTS LEFT *************************************************************




PLAY RECAP *********************************************************************


default                    : ok=135  changed=101  unreachable=0    failed=1


Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.



tiaxia@TIAXIA8 MINGW64 ~/propel-vagrant-dev (master)
$ vagrant ssh

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值