Issues in Vagrant setup on Windows Vista 32bit

254 views
Skip to first unread message

amp

unread,
Jun 12, 2015, 3:32:58 AM6/12/15
to vagra...@googlegroups.com
I have downloaded the below version and trying to install them using the setup. But nothing is happening (The mouse cursor spins for a while and nothing happens after spinning stops).

Installer: vagrant_1.6.5.msi, vagrant_1.7.0.msi and vagrant_1.7.2.msi

My Machine Configuration: Windows Vista 32 bit with 3GB RAM (With NO virtualization/Hyper-V support)

Any pointer to this. Any other ways to view the logs why it is not getting installed.

Meanwhile, just to give a try, I tried with "Vagrant_1.4.3.msi" this got installed but my vagrant version criteria is 1.7.x (See above)

Please help.

dragon788

unread,
Jun 12, 2015, 2:40:44 PM6/12/15
to vagra...@googlegroups.com
Have you also installed Virtualbox? Vagrant is simply an abstraction layer on top of a virtualization solution. Its very likely that your 32 bit machine is unable to support the VM you are trying to run. You can run this tool to see if your CPU is capable, if it is and is enabled you *may* be able to run a 64 bit VM, otherwise you are stuck with 32 machines only.

amp

unread,
Jun 12, 2015, 9:41:33 PM6/12/15
to vagra...@googlegroups.com
Thanks for replying.

I had virtual box already installed on my machine and running good with Ubuntu as a guest OS.

I checked vagrant website and all the installer are universal irrespective of OS and architecture.

Any other pointers?

Ethan S.

unread,
Jun 12, 2015, 11:58:18 PM6/12/15
to vagra...@googlegroups.com

Do you have a copy of the vagrantfile you were using that you can post?


--
You received this message because you are subscribed to a topic in the Google Groups "Vagrant" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vagrant-up/mdxxrWc2lGI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vagrant-up+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

amp

unread,
Jun 13, 2015, 3:48:39 AM6/13/15
to vagra...@googlegroups.com
Thanks for replying again.

But this is the case w.r.t the installer only older version is getting installed at-least.

answering to your question, I am using one of the vagrant file by sparkedx (See here: https://groups.google.com/forum/#!topic/vagrant-up/li2j05uwaes).

Just to try with the older vagrant (Vagrant_1.4.3.msi), I managed to get installed but while running at command prompt, I get the following response:

Bringing machine 'sparkvm' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:

SSH:
* The following settings shouldn't exist: insert_key

vm:
* The box 'sparkmooc/base' could not be found.

I believe, I have to stick with the newer vagrant version or immediately to buy a new laptop (not a good deal of-course)

Any issues with the Vagrant universal installer.

Alvaro Miranda Aguilera

unread,
Jun 13, 2015, 4:12:26 AM6/13/15
to vagra...@googlegroups.com
user/vm is new for 1.5+ vagrant

as you are on 1.4
under

config.vm.box = "sparkmooc/base"

add

config.vm.box_url =
"https://atlas.hashicorp.com/sparkmooc/boxes/base/versions/0.0.7/providers/virtualbox.box"


the url can be found here:

https://atlas.hashicorp.com/sparkmooc/boxes/base.json
> 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

amp

unread,
Jun 13, 2015, 4:25:53 AM6/13/15
to vagra...@googlegroups.com
Thanks Alvaro.

I did that on my vagrant  1.4.2.

config.vm.define "sparkvm" do |master|
    master.vm.box = "sparkmooc/base"

and after that, huge downloading is going on .......

Hope this should work and will save my day . Will acknowledge, if it goes smoother.

Thanks to all.

P.S: But the question is still unanswered, why the newer universal installer 1.7.x/1.6.x is not installing. Hope Vagrant people should look at this

amp

unread,
Jun 13, 2015, 7:33:33 AM6/13/15
to vagra...@googlegroups.com
Updates 1:
Now getting "SSH: * The following settings shouldn't exist: insert_key" error.

Enter codeF:\MY_VAGRANT>vagrant up
Bringing machine 'sparkvm' up with 'virtualbox' provider...
[sparkvm] Box 'sparkmooc/base' was not found. Fetching box from specified URL for the provider 'virtualbox'. Note that if the URL does not have
a box for this provider, you should interrupt Vagrant now and add the box yourself. Otherwise Vagrant will attempt to download the
full box prior to discovering this error.
Box download is resuming from prior download progress
Extracting box...ate: 36599/s, Estimated time remaining: --:--:--)
Successfully added box 'sparkmooc/base' with provider 'virtualbox'!
There are errors in the configuration of this machine. Please fix
the following errors and try again:

SSH:
* The following settings shouldn't exist: insert_key here...

amp

unread,
Jun 13, 2015, 7:42:41 AM6/13/15
to vagra...@googlegroups.com
Update 2:
I tried with "config.ssh.insert_key = false" but nothing happens

Alvaro Miranda Aguilera

unread,
Jun 14, 2015, 12:31:13 AM6/14/15
to vagra...@googlegroups.com
comment that out

is fair new, and you are on a old vagrant..

amp

unread,
Jun 14, 2015, 12:37:43 AM6/14/15
to vagra...@googlegroups.com
I did that by 2 ways:
1. Commenting out
2. Completely removing that entire line from the config file

and got the similar error: SSH: * The following settings shouldn't exist: insert_key

dragon788

unread,
Jun 15, 2015, 12:15:21 PM6/15/15
to vagra...@googlegroups.com
A box can also have an embedded Vagrantfile, if that is in the embedded Vagrantfile then you NEED to use a newer version of Vagrant in order to handle it. The order of Vagrantfile inheritance always prefers the one "closest" to the box first, which in this case means the one included in it. You may need to file a bug on the vagrant github (mitchellh/vagrant) and show out your logging with the 1.6.x and 1.7.x versions after installing and during the vagrant up. You can capture these with 'VAGRANT_LOG=debug vagrant up' in the command prompt and then save those out. You might also need to increase the scrollback or redirect the output to a file.

amp

unread,
Jun 17, 2015, 12:15:47 PM6/17/15
to vagra...@googlegroups.com
Thanks again.

 " ........ and show out your logging with the 1.6.x and 1.7.x versions after installing and during the vagrant up. "
So, as I mentioned earlier, I cannot even install both after double clicking the installer etc. So I cannot do 'VAGRANT_LOG=debug vagrant up'

Meanwhile, I tried with a weird approach:
On Vista 32 bit as Host OS (no virtualization support), I installed Ubuntu 14.0.4 32bit as a a Guest OS and later downloaded the latest vagrant and virtual box inside the Guest OS.
Both these newer vagrant and virtual box (all debian format) installed successfully and I got the following and now stucked to "Connection Timeout" error

==> sparkvm: Clearing any previously set forwarded ports...
==> sparkvm: Clearing any previously set network interfaces...
==> sparkvm: Preparing network interfaces based on configuration...
    sparkvm: Adapter 1: nat
==> sparkvm: Forwarding ports...
    sparkvm: 8001 => 8001 (adapter 1)
    sparkvm: 4040 => 4040 (adapter 1)
    sparkvm: 22 => 2222 (adapter 1)
==> sparkvm: Booting VM...
==> sparkvm: Waiting for machine to boot. This may take a few minutes...
    sparkvm: SSH address: 127.0.0.1:2222
    sparkvm: SSH username: vagrant
    sparkvm: SSH auth method: private key
    sparkvm: Warning: Connection timeout. Retrying...
    sparkvm: Warning: Connection timeout. Retrying...


I google for this error and modified the file and added the following:
config.vm.provider :virtualbox do |vb|
  vb.gui = true
end
 but still it is timeouting.
P.S: I have an open-ssh service is running and open the firewall port 22 (ideas are from google)

Do you see this as a feasible approach.
Any pointers ?

Ethan S.

unread,
Jun 17, 2015, 7:12:16 PM6/17/15
to vagra...@googlegroups.com
Have you disabled the firewall on your host Windows Vista system or have the network type set to Home or Work? You could try adding the setting config.ssh.host = localhost instead of 127.0.0.1 and see if that helps any.

amp

unread,
Jun 17, 2015, 10:19:00 PM6/17/15
to vagra...@googlegroups.com
I disabled Windows Firewall and changed to localhost.
But No results.

Ethan S.

unread,
Jun 18, 2015, 11:24:14 AM6/18/15
to vagra...@googlegroups.com
Can you post the log from 'VAGRANT_LOG=debug vagrant up >vagrant-debug.log 2>&1' after making these changes? I'd be really curious to see what's happening when it tries to connect.

amp

unread,
Jun 18, 2015, 11:45:14 AM6/18/15
to vagra...@googlegroups.com
Thanks for replying.

Sure. I will run 'VAGRANT_LOG=debug vagrant up >vagrant-debug.log 2>&1' on my Ubuntu-Guest OS and let you know.

amp

unread,
Jun 18, 2015, 12:38:41 PM6/18/15
to vagra...@googlegroups.com
Ok. Here is the log output on Ubuntu Guest OS.
Files:
1. vagrant-debug_1.log ---> When gui is off in vagrant conf file (v.gui=false)
2. vagrant-debug_2.log ---> When gui is on in vagrant conf file (v.gui=true)
vagrant-debug_1.log
vagrant-debug_2.log

Ethan S.

unread,
Jun 18, 2015, 1:33:56 PM6/18/15
to vagra...@googlegroups.com
Are you trying to run Vagrant from Windows Vista 32 bit to run a 32 or 64 bit guest or are you running Vagrant INSIDE a VM and trying to run 32 or 64 bit guests inside something that is already a VM?

amp

unread,
Jun 18, 2015, 2:00:07 PM6/18/15
to vagra...@googlegroups.com
So Actually it is like this (As none of the Windows installer was working except 1.4.x), what I did and to just give a try:
1. I installed VirtualBox on my Vista 32bit (Host OS)
2. On this VB, I have installed Ubuntu 14.04  (32bit) as a Guest OS.
3. Inside my Ubuntu 14.04  (Guest OS-32bit), I installed Virtual Box and Vagrant :)
4. and after that I installed the spark-edx box on my Ubuntu 14.04  (Guest OS-32bit)


Vista-32bit OS (Guest)
  |
  --- Installed Ubuntu14.0.4 -32bit(As a Guest) on Windows VB (4.3.28)
|
        --- On Guest, installed Vagrant and VB (both in .deb format)
|
--- Ran, 'vagrant up --provider=virtualbox'
--- Downloaded lots of stuff .... and then ...Connection timeout Error


Ethan S.

unread,
Jun 18, 2015, 5:18:20 PM6/18/15
to vagra...@googlegroups.com
Nested networking is a nightmare. You will probably need to set a NAT network IP range for Virtualbox in your Vagrantfile and make sure it doesn't conflict with the VMware NAT network range that your initial guest VM is using.

amp

unread,
Jun 24, 2015, 8:41:51 AM6/24/15
to vagra...@googlegroups.com
 I tried bit by google help (being I am not aware of networking concepts/jargons), but no results.
It seems like I have to give up :(
Reply all
Reply to author
Forward
0 new messages