Discussion:
[vagrant-up] VBoxManage.exe: error: Context: “enum RTEXITCODE __cdecl handleImportAppliance(s truct HandlerArg *)” at line 886 of file VBoxManageAppliance.cpp
kaliyatensionia
2018-10-02 13:28:55 UTC
Permalink
Based on a suggestion here
https://serverfault.com/questions/506025/vagrant-box-most-similar-to-amazon-ec2-instances

down votefavorite
<https://serverfault.com/questions/933615/vboxmanage-exe-error-context-enum-rtexitcode-cdecl-handleimportappliances#>

I am trying to setup amazon ec2 linux instance in vagrant. Based on
suggestion here Vagrant box most similar to Amazon EC2 instances
<https://serverfault.com/questions/506025/vagrant-box-most-similar-to-amazon-ec2-instances> suggestion
of *eneset*

vagrant init mvbcoding/awslinux; vagrant up --provider virtualbox

so I got error

G:\vagrant projects\raddi>vagrant up --provider virtualbox
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'mvbcoding/awslinux'...
Progress: 90%There was an error while executing `VBoxManage`, a CLI used by Vagr
ant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["import", "\\\\?\\C:\\Users\\HPLKO\\.vagrant.d\\boxes\\mvbcoding-VAGRA
NTSLASH-awslinux\\2017.03.0.20170401\\virtualbox\\box.ovf", "--vsys", "0", "--vm
name", "amzn-ami-hvm-201703020170401-x86_64-gp2-201704051103-guest-72463CQOefdxv
_default_1491390639577_72670_1538486354557_95437", "--vsys", "0", "--unit", "7",
"--disk", "C:\\Users\\HPLKO\\VirtualBox VMs\\amzn-ami-hvm-201703020170401-x86_6
4-gp2-201704051103-guest-72463CQOefdxv_default_1491390639577_72670_1538486354557
_95437\\box-disk001.vmdk"]

Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting \\?\C:\Users\HPLKO\.vagrant.d\boxes\mvbcoding-VAGRANTSLASH-awslinux
\2017.03.0.20170401\virtualbox\box.ovf...
OK.
0%...
Progress state: VBOX_E_FILE_ERROR
VBoxManage.exe: error: Appliance import failed
VBoxManage.exe: error: Could not create the imported medium 'C:\Users\HPLKO\Virt
ualBox VMs\amzn-ami-hvm-201703020170401-x86_64-gp2-201704051103-guest-72463CQOef
dxv_default_1491390639577_72670_1538486354557_95437\box-disk001.vmdk'.
VBoxManage.exe: error: VMDK: could not create new file 'C:\Users\HPLKO\VirtualBo
x VMs\amzn-ami-hvm-201703020170401-x86_64-gp2-201704051103-guest-72463CQOefdxv_d
efault_1491390639577_72670_1538486354557_95437\box-disk001.vmdk' (VERR_ALREADY_E
XISTS)
VBoxManage.exe: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component A
pplianceWrap, interface IAppliance
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleImportAppliance(s
truct HandlerArg *)" at line 886 of file VBoxManageAppliance.cpp

What is this error and how can I fix this?
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/7ec5683a-5a21-4ce4-86d2-345a887314f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Alvaro Miranda Aguilera
2018-10-02 18:45:34 UTC
Permalink
Hello.

This error says the disk / path etc already exists.

So I will suggest open virtualbox, delete the VMS that are not needed, open
media manager and check a disk on the path of the error.

Then last, check that path on the Machine to ensure are no disk there.

Alvaro.

could not create new file 'C:\Users\HPLKO\VirtualBo
x VMs\amzn-ami-hvm-201703020170401-x86_64-gp2-201704051103-guest-72463CQOefdxv_d
efault_1491390639577_72670_1538486354557_95437\box-disk001.vmdk' (VERR_ALREADY_E
XISTS)
VBoxManage.exe: error: Details: code VBOX_E_FILE_ERR
Post by kaliyatensionia
Based on a suggestion here
https://serverfault.com/questions/506025/vagrant-box-most-similar-to-amazon-ec2-instances
down votefavorite
<https://serverfault.com/questions/933615/vboxmanage-exe-error-context-enum-rtexitcode-cdecl-handleimportappliances#>
I am trying to setup amazon ec2 linux instance in vagrant. Based on
suggestion here Vagrant box most similar to Amazon EC2 instances
<https://serverfault.com/questions/506025/vagrant-box-most-similar-to-amazon-ec2-instances> suggestion
of *eneset*
vagrant init mvbcoding/awslinux; vagrant up --provider virtualbox
so I got error
G:\vagrant projects\raddi>vagrant up --provider virtualbox
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'mvbcoding/awslinux'...
Progress: 90%There was an error while executing `VBoxManage`, a CLI used by Vagr
ant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["import", "\\\\?\\C:\\Users\\HPLKO\\.vagrant.d\\boxes\\mvbcoding-VAGRA
NTSLASH-awslinux\\2017.03.0.20170401\\virtualbox\\box.ovf", "--vsys", "0", "--vm
name", "amzn-ami-hvm-201703020170401-x86_64-gp2-201704051103-guest-72463CQOefdxv
_default_1491390639577_72670_1538486354557_95437", "--vsys", "0", "--unit", "7",
"--disk", "C:\\Users\\HPLKO\\VirtualBox VMs\\amzn-ami-hvm-201703020170401-x86_6
4-gp2-201704051103-guest-72463CQOefdxv_default_1491390639577_72670_1538486354557
_95437\\box-disk001.vmdk"]
Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting \\?\C:\Users\HPLKO\.vagrant.d\boxes\mvbcoding-VAGRANTSLASH-awslinux
\2017.03.0.20170401\virtualbox\box.ovf...
OK.
0%...
Progress state: VBOX_E_FILE_ERROR
VBoxManage.exe: error: Appliance import failed
VBoxManage.exe: error: Could not create the imported medium 'C:\Users\HPLKO\Virt
ualBox VMs\amzn-ami-hvm-201703020170401-x86_64-gp2-201704051103-guest-72463CQOef
dxv_default_1491390639577_72670_1538486354557_95437\box-disk001.vmdk'.
VBoxManage.exe: error: VMDK: could not create new file 'C:\Users\HPLKO\VirtualBo
x VMs\amzn-ami-hvm-201703020170401-x86_64-gp2-201704051103-guest-72463CQOefdxv_d
efault_1491390639577_72670_1538486354557_95437\box-disk001.vmdk' (VERR_ALREADY_E
XISTS)
VBoxManage.exe: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component A
pplianceWrap, interface IAppliance
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleImportAppliance(s
truct HandlerArg *)" at line 886 of file VBoxManageAppliance.cpp
What is this error and how can I fix this?
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in
violation of those guidelines may result in your removal from this mailing
list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/7ec5683a-5a21-4ce4-86d2-345a887314f2%40googlegroups.com
<https://groups.google.com/d/msgid/vagrant-up/7ec5683a-5a21-4ce4-86d2-345a887314f2%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Alvaro
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ey4cVVv04a_NQQsNPG3AM4fFApWe0hOkztMGEhFP%3DZ67Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Loading...