Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with machine config #5

Closed
yellis opened this issue Nov 6, 2013 · 18 comments
Closed

Error with machine config #5

yellis opened this issue Nov 6, 2013 · 18 comments

Comments

@yellis
Copy link

yellis commented Nov 6, 2013

With the new config update, the vagrant box completed download successfully. Now it is giving the following error (appeared immediately after the download completed):

Successfully added box 'ubuntu-12.04-amd64' with provider 'virtualbox'!
There are errors in the configuration of this machine. Please fix
the following errors and try again:

vm:
* The following settings shouldn't exist: customize, forward_port
@yellis
Copy link
Author

yellis commented Nov 6, 2013

(Sorry for causing problems)

Next error message, after the machine tries to boot up:

[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
'gurumeditation' 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.

I can't seem to find any type of log file that might say why it is not starting up properly.

@JasonPunyon
Copy link
Owner

@yellis Try vagrant destroy followed by vagrant up

@yellis
Copy link
Author

yellis commented Nov 6, 2013

Yeah, I tried that a few times already. Same result each time.

On Wed, Nov 6, 2013 at 3:07 PM, Jason Punyon [email protected]:

@yellis https://github.com/yellis Try vagrant destroy followed by vagrant
up


Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-27871561
.

@JasonPunyon
Copy link
Owner

hashicorp/vagrant#1871 Looks like this always means a bug with VirtualBox (which doesn't surprise me, they've been seriously fucking up lately). Maybe try an older version of VirtualBox. What OS are you on?

@yellis
Copy link
Author

yellis commented Nov 6, 2013

Windows 8.1

On Wed, Nov 6, 2013 at 3:12 PM, Jason Punyon [email protected]:

hashicorp/vagrant#1871 https://github.com/mitchellh/vagrant/issues/1871Looks like this always means a bug with VirtualBox (which doesn't surprise
me, they've been seriously fucking up lately). Maybe try an older version
of VirtualBox. What OS are you on?


Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-27871907
.

@yellis
Copy link
Author

yellis commented Nov 6, 2013

What version of VirtualBox is working for you?

On Wed, Nov 6, 2013 at 3:15 PM, Yaakov Ellis [email protected] wrote:

Windows 8.1

On Wed, Nov 6, 2013 at 3:12 PM, Jason Punyon [email protected]:

hashicorp/vagrant#1871 https://github.com/mitchellh/vagrant/issues/1871Looks like this always means a bug with VirtualBox (which doesn't surprise
me, they've been seriously fucking up lately). Maybe try an older version
of VirtualBox. What OS are you on?


Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-27871907
.

@JasonPunyon
Copy link
Owner

I'm not on Win 8.1, but I believe the last sane version was 4.12?

@JasonPunyon
Copy link
Owner

@rossipedia: Thoughts?

@rossipedia
Copy link

Hmmmm lemme give it a shot here

@rossipedia
Copy link

@yellis which version of Virtual Box are you running? I'm using 4.3 on 8.1 and wasn't able to reproduce this.

@yellis
Copy link
Author

yellis commented Nov 6, 2013

I was on 4.3, windows 8.1. Completely fresh install of virtual box and
vagrant with most up to date versions.
On Nov 6, 2013 8:36 PM, "Bryan J. Ross" [email protected] wrote:

@yellis https://github.com/yellis which version of Virtual Box are you
running? I'm using 4.3 on 8.1 and wasn't able to reproduce this.


Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-27900507
.

@rossipedia
Copy link

Try turning on gui mode for the box:

  # Set virtual machine memory size
  config.vm.provider :virtualbox do |vbox|
    vbox.customize ["modifyvm", :id, "--memory", 1024]
    vbox.gui = true # <- turn on GUI
  end

Hopefully the boot process of the vm will give some more insight as to what's going on.

This forum post indicates that gurumeditation is an error state for Virtual Box (not too helpful I know, but at least it's a start).

@yellis
Copy link
Author

yellis commented Nov 9, 2013

I tried it with VirtualBox 4.1.28, no go.

Gist of the log file here.

Looks like the issue happens around line 2280 when in the {vgatext} section. Unfortunately, all it logs in that section are blank lines, and then switches to gurumeditation mode.

Did some poking around to see if anyone else had something similar. The closest that I can find is this thread, but couldnt see any replies that added anything.

I also found this thread, which sites a very similar vagrant error. There is seems that the issue was with VirtualBox 4.2.14, with issue fixed in 4.2.16. So similar, but nothing there that I could use.

Any thoughts on something else to try? Otherwise I might have to throw in the towel on this one...

@rossipedia
Copy link

The error from the log file is:

The guest is trying to switch to the PAE mode which is currently disabled by default in VirtualBox. PAE support can be enabled using the VM settings (General/Advanced)

Are you using 32 bit Virtual Box? Also, I believe with recent VirtualBox versions PAE support is under the System -> Processor tab.

@yellis
Copy link
Author

yellis commented Nov 11, 2013

That did it! Thanks @rossipedia. The exact setting that I needed to change was in the Virtual Box GUI, Settings > Processor tab > check [Enable PAE/NX]. Then start up the box in the VB GUI (starting it using vagrant up from the command line still does not work).

@yellis
Copy link
Author

yellis commented Nov 24, 2013

Final fix on this - per here I had to enable virtualization in my computer bios.
2013-11-24 12 19 09
Only after I did this would the vagrant box really start up without issue.

@rossipedia
Copy link

Ahhhh that makes sense.

@yellis
Copy link
Author

yellis commented Nov 24, 2013

Makes sense...and quite annoying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants