hashicorp / vagrant

Vagrant is a tool for building and distributing development environments.
https://www.vagrantup.com
Other
26.18k stars 4.43k forks source link

VirtualBox 4.2.14 Breaks Vagrant 1.2.2 When Importing Boxes #1850

Closed terrywang closed 11 years ago

terrywang commented 11 years ago

Vagrant 1.2.2 was working perfectly fine with VirtualBox 4.2.12.

After upgrading to 4.2.14, Vagrant fails to at init - importing the box opscode_ubuntu-12.04_chef-11.4.4.box.

It happens on both Linux and OS X, with the same base box (could be related to base box format).

Screen shot Vagrant 1.2.2 breaks

Workaround

Official Fix

It's been confirmed that this is a VirtualBox bug, see Ticket 11895. It'll be fixed in the next VirtualBox maintenance release. Hopefully it'll be released soon.

marsmensch commented 11 years ago

Works fine for me on Linux, but most parts of your issue report are simply confusing.

Which "Germans" are you referring to? Why do you mention your switch from pacman? Which linux distribution and version are you using? Which osx version are you using? Why are you dist-upgrading?

Try to structure your issue feedback a bit, you can do better.

Cheers

Florian

Am 22.06.2013 um 14:08 schrieb Terry Wang notifications@github.com:

Vagrant 1.2.2 was working perfectly fine with VirtualBox 4.2.12.

When testing some cookbooks using chef-solo, I did a apt-get update && apt-get dist-upgrade -y (used to run pacman -Syu but for some reason I switched;-) which Linux dudes do all the time and it updated to 4.2.14.

The Germans like to release new versions at their Friday, LOL

After the update vagrant init breaks. I have verified that it happens on both Linux and OS X.

Screen shot [image: Vagrant 1.2.2 breaks]https://a248.e.akamai.net/camo.github.com/be1d4ea35ab2a0280ca26043f2b058c65d17761e/687474703a2f2f6661726d362e737461746963666c69636b722e636f6d2f353534372f393130373834303637325f333639346161396666645f6f2e706e67

Rolling back to 4.2.12, everything started to work again.

Looking at the Changelog https://www.virtualbox.org/wiki/Changelog, I reckon the following 3 OVF related items may be the culprit.

I'll add more details, hopefully debug logs VAGRANT_LOG=debug on Monday when I get back to work.

— Reply to this email directly or view it on GitHubhttps://github.com/mitchellh/vagrant/issues/1850 .

bradleyy commented 11 years ago

I believe this is a duplicate of issue #1847 .

terrywang commented 11 years ago

Heads up: VirtualBox team is investigating the issue. Looks like there is a problem with importing appliances without manifests.

offby1 commented 11 years ago

@terrywang Have you got a URL to the relevant discussion in VirtualBox?

athiele commented 11 years ago

We also had this error with Vagrant 1.0.7 and VBox 4.2.14 on Windows. Downgrading to 4.2.10 helped.

terrywang commented 11 years ago

Public VirtualBox Ticket => https://www.virtualbox.org/ticket/11895

The problem has already been fix in mainline/master (whatever you call it), a maintenance release will be available soon;-)

benben commented 11 years ago

:+1:

jrgifford commented 11 years ago

For those of us on Raring 64 bit who are impatient and need this fixed now, we can try the test build on comment 2 on the upstream ticket.

terrywang commented 11 years ago

@jrgifford Thanks for mentioning this. I didn't notice there was a hidden link in comment 2.

I just tried the test build 4.2.15-86695 on Ubuntu 13.04 amd64. It does fix the import issue, Vagrant is up and running again;-)

Once an official maintenance release is available, I'll update and close this issue.

ngpestelos commented 11 years ago

:thumbsup:

petems commented 11 years ago

Awesome, was having this issue as well, downgrading in the meantime fixed it :+1:

ghost commented 11 years ago

Same issue on OS X 10.9 (13A497d), downgrading Virtualbox 4.2.12 fixes it.

Bringing machine 'default' up with 'virtualbox' provider...
[default] Importing base box 'precise32'...
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/edg3e/.vagrant.d/boxes/precise32/virtualbox/box.ovf"]

Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting /Users/mp4976qpa/.vagrant.d/boxes/precise32/virtualbox/box.ovf...
OK.
0%...
Progress object failure: NS_ERROR_CALL_FAILED 
ehthayer commented 11 years ago

Worked around this issue on Centos 5.9 by going to ~/.vagrant.d/boxes/MyBoxName/virtualbox and doing

openssl sha1 .vmdk .ovf > box.mf

vagrant up then worked fine with VirtualBox 4.2.14

science commented 11 years ago

Downgrading to VirtualBox 4.2.12 on Win8 64 pro fixed the issue I was having..

plexus commented 11 years ago

:+1: for @ehthayer 's workaround, works perfectly and no need to up/downgrade virtualbox

rossipedia commented 11 years ago

:+1: for @ehthayer's workaround. Worked perfectly for me on Win 8 Pro command line using Git for Windows' openssl.exe

php-coder commented 11 years ago

:+1: for @ehthayer's workaround. Thanks for sharing this!

fooblahblah commented 11 years ago

@ehthayer +1. Fixed me up on ArchLinux!

oieduardorabelo commented 11 years ago

+1 for @ehthayer 's workaround, fixed me on Mac OS X 10.8.4

oliverhr commented 11 years ago

Same issue on windows7 , even with self generated box. issue fixed Create Manifest File like in @ehthayer's workaround with msysgit. http://www.virtuallyghetto.com/2012/01/how-to-create-manifest-file-for-ovf.html

aphorise commented 11 years ago

As detailed earlier this results in: Progress object failure: NS_ERROR_CALL_FAILED

:v: To Confirm: downgrading VirtualBox to 4.2.12 resolved - and updating VirtualBox (to 4.2.14) thereafter worked for a colleague but not for me.

Wanted to try @ehthayer suggestion with SHA1 signature - I was however unable to upgrade to 4.2.14.

terrywang commented 11 years ago

Guys, just to let you know that VirtualBox 4.2.16 has just been released. The OVF/OVA import issue has been fixed.

I have confirmed that Vagrant 1.2.2 works perfectly fine with 4.2.16, just like the old times.

Closing this issue, cc @mitchellh

Include the ChangeLog for your reference.


VirtualBox 4.2.16 (released 2013-07-04)

This is a maintenance release. The following items were fixed and/or added:

lucasdavila commented 11 years ago

:+1: tks @ehthayer, you tip fixed the error on my mac os x 10.8.4 :D