Virtualbox + Vagrant Failures After El Capitan Upgrade

The TL;DR version: make sure to upgrade your VirtualBox and Vagrant to the latest version(i.e v 5.0.6, v 1.7.4 respectively).

This is a follow up to our previous Vagrant post. After upgrading to El Capitan, I was unable to start any of my local Vagrant instances. When I tried to do a vagrant up, I got this from the command line:

The guest machine entered an invalid state while waiting for itto boot. Valid states are 'starting, running'. The machine is in the'aborted' state. Please verify everything is configuredproperly 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 theGUI often has more helpful error messages than Vagrant can retrieve.For example, if you're using VirtualBox, run `vagrant up` while theVirtualBox GUI is open.

a vagrant status return this

$ vagrant statusCurrent VM states:default abortedThe VM is in an aborted state. This means that it was abruptlystopped without properly closing the session. Run `vagrant up`to resume this virtual machine. If any problems persist, you mayhave to destroy and restart the virtual machine.

Even after vagrant reload and a vagrant destroy, I was still unable to get vagrant up (even though the status of those instances are now powered off). My new hypothesis was that this was related to Virtual Box. When I tried to manually start those VMs via the Virtual Box UI, I saw these messages in the log:

Long story short, after reading through their latest release change log, an upgrade to v 5.0.6 seems to fix the problem. Depending on what your current version of Vagrant is (mine was 1 year old), you also need to upgrade your Vagrant version to the latest (v 1.7.4).

About the Author

Convey

Convey is an agile team of supply chain and technology professionals.
Bringing entirely new data intelligence and real-time visibility, Convey helps companies maintain a strong brand with their customers and unlocks true growth potential. Convey on LinkedIn