-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
vagrant up hangs #884
Comments
I am having a similar problem with Vagrant 1.0.2, Ubuntu 11.10, Ruby 1.7.8 and Virtualbox 4.1.2_Ubuntu |
Same problem with vagrant 1.0.1 and vbox 4.1.10. Managed to capture some debug logs if it helps: DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 |
@mitchellh I guess this is not related to #391. I experienced the same issue and it was a controller issue. Host: VirtualBox 4.0 on a Debian stable (squeeze 32), vagrant 1.0.5 To be more precise, I tried to boot the image using VirtualBox GUI. I used the It failed and an initramfs prompt has been displayed. Most of the time, this appears because no disk can be found. That's why I tried to change the disk controller, I removed the SATA controller and attached the disk to the IDE controller. With this configuration, I was able to boot the image, and to log in. \o/ I made a change in the Back to vagrant, I was able to boot the VM. As you can't really tell people to edit the
I noticed you used Mac OSX and VirtualBox 4.2 to create the lucid32 box. That could be the cause. A solution could be to use the Thank you. |
I'm running a fresh install of OSX 10.7.3 on a Intel Core 2 Duo.
Virtual Box 4.1.12
Ruby 1.9.3
Latest version of Vagrant
I've added lucid32 and then ran vagrant up, at this point, I get the message 'Waiting for VM to boot. This may take a few minutes' and vagrant seems to hang.
Virtual Box says the machine is running.
Below is the Vagrant log (Sorry I can't give anymore info!).
INFO global: Vagrant version: 1.0.2
INFO vagrant:
vagrant
invoked: ["up"]INFO environment: Environment initialized (#Vagrant::Environment:0x007fdb5388c300)
INFO environment: - cwd: /Users/gibo/workspace
INFO environment: Home path: /Users/gibo/.vagrant.d
INFO plugin: Searching and loading any available plugins...
INFO plugin: Loaded 0 plugins.
INFO environment: Loading configuration...
INFO cli: CLI: [] "up" []
INFO datastore: Created: /Users/gibo/workspace/.vagrant
INFO virtualbox_base: VBoxManage path: VBoxManage
INFO subprocess: Starting process: ["VBoxManage", "--version"]
INFO virtualbox: Using VirtualBox driver: Vagrant::Driver::VirtualBox_4_1
INFO virtualbox_base: VBoxManage path: VBoxManage
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de"]
INFO vm: Loading guest: linux
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO up: Booting: default
INFO interface: info: VM already created. Booting if it's not already running...
[default] VM already created. Booting if it's not already running...
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO hosts: Host class: Vagrant::Hosts::BSD
INFO runner: Running action: start
INFO warden: Calling action: #Vagrant::Action::General::CheckVirtualbox:0x007fdb5390c708
INFO subprocess: Starting process: ["VBoxManage", "list", "hostonlyifs"]
INFO warden: Calling action: #Vagrant::Action::General::Validate:0x007fdb5390c6b8
INFO warden: Calling action: #Vagrant::Action::VM::CheckAccessible:0x007fdb5390c690
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO warden: Calling action: #Vagrant::Action::VM::CleanMachineFolder:0x007fdb5390c5f0
INFO subprocess: Starting process: ["VBoxManage", "list", "systemproperties"]
INFO warden: Calling action: #Vagrant::Action::VM::ClearForwardedPorts:0x007fdb5390c578
INFO interface: info: Clearing any previously set forwarded ports...
[default] Clearing any previously set forwarded ports...
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO subprocess: Starting process: ["VBoxManage", "modifyvm", "de0d3366-4f87-4398-b266-1fe54eb737de", "--natpf1", "delete", "ssh"]
INFO warden: Calling action: #Vagrant::Action::Env::Set:0x007fdb5390c528
INFO warden: Calling action: #Vagrant::Action::VM::CheckPortCollisions:0x007fdb5390c4d8
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO subprocess: Starting process: ["VBoxManage", "list", "vms"]
INFO warden: Calling action: #Vagrant::Action::VM::ForwardPorts:0x007fdb5390c460
INFO interface: info: Forwarding ports...
[default] Forwarding ports...
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO interface: info: -- 22 => 2222 (adapter 1)
[default] -- 22 => 2222 (adapter 1)
INFO subprocess: Starting process: ["VBoxManage", "modifyvm", "de0d3366-4f87-4398-b266-1fe54eb737de", "--natpf1", "ssh,tcp,,2222,,22"]
INFO warden: Calling action: #Vagrant::Action::VM::Provision:0x007fdb5390c438
INFO warden: Calling action: #Vagrant::Action::VM::PruneNFSExports:0x007fdb539bace0
INFO subprocess: Starting process: ["VBoxManage", "list", "vms"]
INFO warden: Calling action: #Vagrant::Action::VM::NFS:0x007fdb539baba0
INFO warden: Calling action: #Vagrant::Action::VM::ClearSharedFolders:0x007fdb54024860
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO subprocess: Starting process: ["VBoxManage", "sharedfolder", "remove", "de0d3366-4f87-4398-b266-1fe54eb737de", "--name", "v-root"]
INFO warden: Calling action: #Vagrant::Action::VM::ShareFolders:0x007fdb54024838
INFO interface: info: Creating shared folders metadata...
[default] Creating shared folders metadata...
INFO subprocess: Starting process: ["VBoxManage", "sharedfolder", "add", "de0d3366-4f87-4398-b266-1fe54eb737de", "--name", "v-root", "--hostpath", "/Users/gibo/workspace"]
INFO warden: Calling action: #Vagrant::Action::VM::HostName:0x007fdb54055a50
INFO warden: Calling action: #Vagrant::Action::VM::ClearNetworkInterfaces:0x007fdb54055a28
INFO interface: info: Clearing any previously set network interfaces...
[default] Clearing any previously set network interfaces...
INFO subprocess: Starting process: ["VBoxManage", "modifyvm", "de0d3366-4f87-4398-b266-1fe54eb737de", "--nic2", "none", "--nic3", "none", "--nic4", "none", "--nic5", "none", "--nic6", "none", "--nic7", "none", "--nic8", "none"]
INFO warden: Calling action: #Vagrant::Action::VM::Network:0x007fdb54055a00
INFO warden: Calling action: #Vagrant::Action::VM::SaneDefaults:0x007fdb540874d8
INFO subprocess: Starting process: ["VBoxManage", "storagectl", "de0d3366-4f87-4398-b266-1fe54eb737de", "--name", "SATA Controller", "--hostiocache", "on"]
INFO sanedefaults: Enabling the Host I/O cache on the SATA controller... (exit status = 0)
INFO subprocess: Starting process: ["VBoxManage", "modifyvm", "de0d3366-4f87-4398-b266-1fe54eb737de", "--natdnsproxy1", "on"]
INFO sanedefaults: Enable the NAT DNS proxy on adapter 1... (exit status = 0)
INFO warden: Calling action: #Vagrant::Action::VM::Customize:0x007fdb53b48698
INFO warden: Calling action: #Vagrant::Action::VM::Boot:0x007fdb53b485d0
INFO interface: info: Booting VM...
[default] Booting VM...
INFO subprocess: Starting process: ["VBoxManage", "startvm", "de0d3366-4f87-4398-b266-1fe54eb737de", "--type", "headless"]
INFO interface: info: Waiting for VM to boot. This can take a few minutes.
[default] Waiting for VM to boot. This can take a few minutes.
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO ssh: Connecting to SSH: 127.0.0.1:2222
INFO ssh: SSH not up: #<Timeout::Error: execution expired>
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO ssh: Connecting to SSH: 127.0.0.1:2222
INFO ssh: SSH not up: #<Timeout::Error: execution expired>
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO ssh: Connecting to SSH: 127.0.0.1:2222
INFO ssh: SSH not up: #<Timeout::Error: execution expired>
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO ssh: Connecting to SSH: 127.0.0.1:2222
INFO ssh: SSH not up: #<Timeout::Error: execution expired>
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO ssh: Connecting to SSH: 127.0.0.1:2222
INFO ssh: SSH not up: #<Timeout::Error: execution expired>
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO ssh: Connecting to SSH: 127.0.0.1:2222
INFO ssh: SSH not up: #<Timeout::Error: execution expired>
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO ssh: Connecting to SSH: 127.0.0.1:2222
INFO ssh: SSH not up: #<Timeout::Error: execution expired>
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO ssh: Connecting to SSH: 127.0.0.1:2222
INFO ssh: SSH not up: #<Timeout::Error: execution expired>
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO ssh: Connecting to SSH: 127.0.0.1:2222
INFO ssh: SSH not up: #<Timeout::Error: execution expired>
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO ssh: Connecting to SSH: 127.0.0.1:2222
INFO ssh: SSH not up: #<Timeout::Error: execution expired>
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO ssh: Connecting to SSH: 127.0.0.1:2222
INFO ssh: SSH not up: #<Timeout::Error: execution expired>
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO ssh: Connecting to SSH: 127.0.0.1:2222
INFO ssh: SSH not up: #<Timeout::Error: execution expired>
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO ssh: Connecting to SSH: 127.0.0.1:2222
INFO ssh: SSH not up: #<Timeout::Error: execution expired>
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO ssh: Connecting to SSH: 127.0.0.1:2222
INFO ssh: SSH not up: #<Timeout::Error: execution expired>
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO ssh: Connecting to SSH: 127.0.0.1:2222
INFO ssh: SSH not up: #<Timeout::Error: execution expired>
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO ssh: Connecting to SSH: 127.0.0.1:2222
INFO ssh: SSH not up: #<Timeout::Error: execution expired>
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO ssh: Connecting to SSH: 127.0.0.1:2222
INFO ssh: SSH not up: #<Timeout::Error: execution expired>
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO subprocess: Starting process: ["VBoxManage", "showvminfo", "de0d3366-4f87-4398-b266-1fe54eb737de", "--machinereadable"]
INFO ssh: Connecting to SSH: 127.0.0.1:2222
The text was updated successfully, but these errors were encountered: