Vagrant Error when importing a Box

I am running on Mac with VirtualBox 4.2.18 and out of no where started getting these errors.

/// Problem

Bringing machine ‘default’ up with ‘virtualbox’ provider…

[default] Importing base box ‘centos64’…

Progress: 20%There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: [“import”, “/Users/mbaldwin/.vagrant.d/boxes/centos64/virtualbox/box.ovf”]

Stderr: 0%…10%…20%…30%…40%…50%…60%…70%…80%…90%…100%

Interpreting /Users/mbaldwin/.vagrant.d/boxes/centos64/virtualbox/box.ovf…

OK.

0%…10%…20%…

Progress state: VBOX_E_FILE_ERROR

VBoxManage: error: Appliance import failed

VBoxManage: error: Could not create the clone medium ‘/Users/mbaldwin/VirtualBox VMs/centos64_1/box-disk1.vmdk’ (VERR_VD_VMDK_INVALID_FORMAT)

VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Appliance, interface IAppliance

VBoxManage: error: Context: “int handleImportAppliance(HandlerArg*)” at line 781 of file VBoxManageAppliance.cpp

//// Solution 

execute “vagrant box remove centos64”
execute “vagrant up” – reinstall the image…

As they say…it worked for me.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: