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.
On Thu, Jun 18, 2015 at 1:00 PM amp <[email protected]> wrote: > 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 > > > On Thursday, 18 June 2015 23:03:56 UTC+5:30, dragon788 wrote: > >> 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? >> >> On Thu, Jun 18, 2015 at 11:38 AM amp <[email protected]> wrote: >> >>> 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) >>> >>> >>> On Thursday, 18 June 2015 21:15:14 UTC+5:30, amp wrote: >>>> >>>> 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. >>>> >>>> >>>> On Thursday, 18 June 2015 20:54:14 UTC+5:30, dragon788 wrote: >>>>> >>>>> 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. >>>>> >>>>> On Wed, Jun 17, 2015 at 9:19 PM amp <[email protected]> wrote: >>>>> >>>>>> I disabled Windows Firewall and changed to localhost. >>>>>> But No results. >>>>>> >>>>>> >>>>>> On Thursday, June 18, 2015 at 4:42:16 AM UTC+5:30, dragon788 wrote: >>>>>> >>>>>>> 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. >>>>>>> >>>>>>> On Wed, Jun 17, 2015 at 11:15 AM amp <[email protected]> wrote: >>>>>>> >>>>>> 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 ? >>>>>>>> >>>>>>>> >>>>>>>> On Monday, 15 June 2015 21:45:21 UTC+5:30, dragon788 wrote: >>>>>>>>> >>>>>>>>> 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. >>>>>>>>> >>>>>>>>> On Saturday, June 13, 2015 at 11:37:43 PM UTC-5, amp wrote: >>>>>>>>>> >>>>>>>>>> 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* >>>>>>>>>> >>>>>>>>>> On Sunday, 14 June 2015 10:01:13 UTC+5:30, Alvaro Miranda >>>>>>>>>> Aguilera wrote: >>>>>>>>>>> >>>>>>>>>>> comment that out >>>>>>>>>>> >>>>>>>>>>> is fair new, and you are on a old vagrant.. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Sat, Jun 13, 2015 at 11:42 PM, amp <[email protected]> >>>>>>>>>>> wrote: >>>>>>>>>>> > Update 2: >>>>>>>>>>> > I tried with "config.ssh.insert_key = false" but nothing >>>>>>>>>>> happens >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > On Saturday, June 13, 2015 at 5:03:33 PM UTC+5:30, amp wrote: >>>>>>>>>>> >> >>>>>>>>>>> >> 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. >>>>>>>>>>> >> Downloading box from URL: >>>>>>>>>>> >> >>>>>>>>>>> https://atlas.hashicorp.com/sparkmooc/boxes/base/versions/0.0.7.1/providers/virtualbox.box >>>>>>>>>>> >> 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... >>>>>>>>>>> >> >>>>>>>>>>> >> >>>>>>>>>>> >> >>>>>>>>>>> >> On Saturday, June 13, 2015 at 1:55:53 PM UTC+5:30, amp wrote: >>>>>>>>>>> >>> >>>>>>>>>>> >>> Thanks Alvaro. >>>>>>>>>>> >>> >>>>>>>>>>> >>> I did that on my vagrant 1.4.2. >>>>>>>>>>> >>> >>>>>>>>>>> >>> config.vm.define "sparkvm" do |master| >>>>>>>>>>> >>> master.vm.box_url = >>>>>>>>>>> >>> " >>>>>>>>>>> https://atlas.hashicorp.com/sparkmooc/boxes/base/versions/0.0.7.1/providers/virtualbox.box" >>>>>>>>>>> >>>>>>>>>>> >>> 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 >>>>>>>>>>> >>> >>>>>>>>>>> >>> >>>>>>>>>>> >>> >>>>>>>>>>> >>> >>>>>>>>>>> >>> >>>>>>>>>>> >>> >>>>>>>>>>> >>> >>>>>>>>>>> >>> On Saturday, June 13, 2015 at 1:42:26 PM UTC+5:30, Alvaro >>>>>>>>>>> Miranda >>>>>>>>>>> >>> Aguilera wrote: >>>>>>>>>>> >>>> >>>>>>>>>>> >>>> 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 >>>>>>>>>>> >>>> >>>>>>>>>>> >>>> >>>>>>>>>>> >>>> >>>>>>>>>>> >>>> On Sat, Jun 13, 2015 at 7:48 PM, amp <[email protected]> >>>>>>>>>>> wrote: >>>>>>>>>>> >>>> > 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. >>>>>>>>>>> >>>> > >>>>>>>>>>> >>>> > On Saturday, 13 June 2015 09:28:18 UTC+5:30, dragon788 >>>>>>>>>>> wrote: >>>>>>>>>>> >>>> >> >>>>>>>>>>> >>>> >> Do you have a copy of the vagrantfile you were using >>>>>>>>>>> that you can >>>>>>>>>>> >>>> >> post? >>>>>>>>>>> >>>> >> >>>>>>>>>>> >>>> >> >>>>>>>>>>> >>>> >> On Fri, Jun 12, 2015, 8:41 PM amp <[email protected]> >>>>>>>>>>> wrote: >>>>>>>>>>> >>>> >>> >>>>>>>>>>> >>>> >>> 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? >>>>>>>>>>> >>>> >>> >>>>>>>>>>> >>>> >>> -- >>>>>>>>>>> >>>> >>> 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 >>>>>>>>>>> >>>> >>> [email protected]. >>>>>>>>>>> >>>> >>> For more options, visit >>>>>>>>>>> https://groups.google.com/d/optout. >>>>>>>>>>> >>>> > >>>>>>>>>>> >>>> > -- >>>>>>>>>>> >>>> > 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 [email protected]. >>>>>>>>>>> >>>> > For more options, visit >>>>>>>>>>> https://groups.google.com/d/optout. >>>>>>>>>>> > >>>>>>>>>>> > -- >>>>>>>>>>> > 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 [email protected]. >>>>>>>>>>> > For more options, visit https://groups.google.com/d/optout. >>>>>>>>>>> >>>>>>>>>> -- >>>>>>>> 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 >>>>>>>> [email protected]. >>>>>>> >>>>>>> >>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>> >>>>>>> -- >>>>>> 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 >>>>>> [email protected]. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> -- >>> 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 >>> [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- > 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 > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
