Vagrant up hangs

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Vagrant up hangs

Madhurranjan Mohaan
Hi,

I've been using Vagrant for 4 months and have had a great experience. So far it was on a Physical machine but now wanted to install it on a VM to sync it up with our CI. I have a Centos 6.4 machine (64 bit) on Vmware on which I've installed Virtual Box 4.1 and am trying to get another centos 6.3 vm(64bit) up on that. Initially had issues, when I ran "Vagrant up" due to Virtualbox . I was able to solve those and then I went ahead and ran VAGRANT_LOG=DEBUG vagrant ssh. Things seemed to go well till the time the  ssh  hung. I see the following logs ( around the time it hangs) :

GuestMemoryBalloon=0
GuestOSType="RedHat_64"
GuestAdditionsRunLevel=0
GuestAdditionsVersion="4.1.18"
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
DEBUG virtualbox_4_1:   - [1, "ssh", 2222, 22]
DEBUG ssh: Checking key permissions: /root/.vagrant.d/insecure_private_key
 INFO ssh: Attempting SSH. Retries: 100. Timeout: 30
 INFO ssh: Attempting to connect to SSH: 127.0.0.1:2222
DEBUG ssh: == Net-SSH connection debug-level log START ==
DEBUG ssh: D, [2013-03-22T14:25:22.123128 #10083] DEBUG -- net.ssh.transport.session[165acec]: establishing connection to 127.0.0.1:2222
D, [2013-03-22T14:25:22.123742 #10083] DEBUG -- net.ssh.transport.session[165acec]: connection established
I, [2013-03-22T14:25:22.123984 #10083]  INFO -- net.ssh.transport.server_version[165a1d4]: negotiating protocol version

DEBUG ssh: == Net-SSH connection debug-level log END ==
 INFO retryable: Retryable exception raised: #<Timeout::Error: execution expired>
 INFO ssh: Attempting to connect to SSH: 127.0.0.1:2222

Vagrantfile :
Vagrant.configure("2") do |config|
  config.vm.box = "centos"
  config.vm.network :public_network
end

I've removed everything else from the Vagrantfile as I tried to get this to work  . I am trying to bind to eth2 ( the box has 4 interfaces)

I've went through and tried certain options that were mentioned in the Vagrantfile but that didn't work .

The port however seems to be listening.

Can you please help ?

Ranjan

--
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: Vagrant up hangs

Madhurranjan Mohaan
Hi ,

I tried installing Vnc server to see if I can figure out some error via GUI.However, the Virtual Box display is completely muddled when I start .  Could this be a case of not installing the right libraries ? Also tried with a couple of other base boxes and downgraded Virtual box from 1.1.2 to 1.1.1 and I still get the exact same issue.

Ranjan

On Friday, March 22, 2013 2:30:42 PM UTC+5:30, Madhurranjan Mohaan wrote:
Hi,

I've been using Vagrant for 4 months and have had a great experience. So far it was on a Physical machine but now wanted to install it on a VM to sync it up with our CI. I have a Centos 6.4 machine (64 bit) on Vmware on which I've installed Virtual Box 4.1 and am trying to get another centos 6.3 vm(64bit) up on that. Initially had issues, when I ran "Vagrant up" due to Virtualbox . I was able to solve those and then I went ahead and ran VAGRANT_LOG=DEBUG vagrant ssh. Things seemed to go well till the time the  ssh  hung. I see the following logs ( around the time it hangs) :

GuestMemoryBalloon=0
GuestOSType="RedHat_64"
GuestAdditionsRunLevel=0
GuestAdditionsVersion="4.1.18"
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
DEBUG virtualbox_4_1:   - [1, "ssh", 2222, 22]
DEBUG ssh: Checking key permissions: /root/.vagrant.d/insecure_private_key
 INFO ssh: Attempting SSH. Retries: 100. Timeout: 30
 INFO ssh: Attempting to connect to SSH: 127.0.0.1:2222
DEBUG ssh: == Net-SSH connection debug-level log START ==
DEBUG ssh: D, [2013-03-22T14:25:22.123128 #10083] DEBUG -- net.ssh.transport.session[165acec]: establishing connection to 127.0.0.1:2222
D, [2013-03-22T14:25:22.123742 #10083] DEBUG -- net.ssh.transport.session[165acec]: connection established
I, [2013-03-22T14:25:22.123984 #10083]  INFO -- net.ssh.transport.server_version[165a1d4]: negotiating protocol version

DEBUG ssh: == Net-SSH connection debug-level log END ==
 INFO retryable: Retryable exception raised: #<Timeout::Error: execution expired>
 INFO ssh: Attempting to connect to SSH: 127.0.0.1:2222

Vagrantfile :
Vagrant.configure("2") do |config|
  config.vm.box = "centos"
  config.vm.network :public_network
end

I've removed everything else from the Vagrantfile as I tried to get this to work  . I am trying to bind to eth2 ( the box has 4 interfaces)

I've went through and tried certain options that were mentioned in the Vagrantfile but that didn't work .

The port however seems to be listening.

Can you please help ?

Ranjan

--
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.