Hi Leo,

Ian's xenserver vagrant works on host-only too. If you do 'vagrant up' and
if the VMs boot up you verify with VirtualBox that the second VM
(xenserver) will have nic0 (NAT) and nic1 (host-only with promiscuous mode
enabled). If that is not the case I suspect some issue in Chef/Vagrant that
needs debugging.

Regards.


On Mon, Jun 16, 2014 at 9:48 PM, Leo Simons <lsim...@schubergphilis.com>
wrote:

> Hey Ian,
>
> Nice work! I got this working on my home PC on the weekend [1].
>
> The readme on github could probably do with pointers to how to set up the
> host-only network which is also used for devcloud:
>
>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/DevCloud#DevCloud-Se
> ttingup(VirtualBox)
>
>
> Cheers,
>
>
> Leo
>
> [1] today, on my corporate laptop (mac) I cannot quite get it working
> since my silly corporate firewall is preventing connection from the VMs
> back to the host. I did hack and ssh-tunnel up to the point that the vms
> come up (so at least I know it is not a mac-compat or script issue), but
> then cloudstack fails to create the system vm instances. Basically what I
> need to use here is design 2 or 3; my own local setup at the moment
> basically matches design 2.
>
> On 6/13/14, 9:05 PM, "Ian Duffy" <i...@ianduffy.ie> wrote:
>
> >Awesome!
> >
> >I'm still tweaking things here and there. For whatever reason my internet
> >connection to S3 is very poor so I'm insuring that caching of templates on
> >the host via vagrant-cachier works 100%.
> >
> >Will do out more in-depth documentation over the next 2 weeks. Will
> >explain
> >what makes up the boxes and how all the projects tie into each other.
> >
> >Still need to deliver on the two other designs 2
> >
> http://www.google-melange.com/gsoc/proposal/public/google/gsoc2014/imduffy
> >15/5662278724616192
> >
> >
> >On 13 June 2014 20:02, Rohit Yadav <bhais...@apache.org> wrote:
> >
> >> Thanks for your work Ian, it's up and running, and I finally have a Xen
> >> vm/box to play with.
> >>
> >> Cheers.
> >>
> >>
> >> On Fri, Jun 13, 2014 at 11:51 PM, Ian Duffy <i...@ianduffy.ie> wrote:
> >>
> >>> Hi Rohit,
> >>>
> >>> Thank you for the PR :) was meaning to add a section on the vagrant
> >>>setup.
> >>>
> >>> I've recently extended some of it to use vagrant-cachier for caching
> >>>the
> >>> systemvm templates.
> >>>
> >>>
> >>> On 13 June 2014 19:05, Rohit Yadav <bhais...@apache.org> wrote:
> >>>
> >>>> I've fixed README: https://github.com/imduffy15/GSoC-2014/pull/1
> >>>>
> >>>> I installed two vagrant plugins and now it has started to work :)
> >>>>Still
> >>>> under progress.
> >>>>
> >>>> Cheers.
> >>>>
> >>>>
> >>>>
> >>>> On Fri, Jun 13, 2014 at 11:21 PM, Rohit Yadav <bhais...@apache.org>
> >>>> wrote:
> >>>>
> >>>>> Hi Ian,
> >>>>>
> >>>>> I tried to launch using vagrant up and getting following errors
> >>>>>related
> >>>>> to librarian_chef and omnibus. I just followed the README file -
> >>>>>cloned
> >>>>> your repo, updated submodules (so they are cloned too) and did
> >>>>>vagrant up.
> >>>>>
> >>>>> Before opening issue on JIRA, I thought I share it here. Here's the
> >>>>> full log;
> >>>>>
> >>>>> $ vagrant up
> >>>>>
> >>>>>[21:48:22]
> >>>>>
> >>>>> Bringing machine 'management' up with 'virtualbox' provider...
> >>>>>
> >>>>> Bringing machine 'xenserver' up with 'virtualbox' provider...
> >>>>>
> >>>>> ==> management: Box 'chef/centos-6.5' could not be found. Attempting
> >>>>>to
> >>>>> find and install...
> >>>>>
> >>>>>     management: Box Provider: virtualbox
> >>>>>
> >>>>>     management: Box Version: >= 0
> >>>>>
> >>>>> ==> management: Loading metadata for box 'chef/centos-6.5'
> >>>>>
> >>>>>     management: URL: https://vagrantcloud.com/chef/centos-6.5
> >>>>>
> >>>>> ==> management: Adding box 'chef/centos-6.5' (v1.0.0) for provider:
> >>>>> virtualbox
> >>>>>
> >>>>>     management: Downloading:
> >>>>>
> >>>>>
> https://vagrantcloud.com/chef/centos-6.5/version/1/provider/virtualbox
> >>>>>.box
> >>>>>
> >>>>> ==> management: Successfully added box 'chef/centos-6.5' (v1.0.0) for
> >>>>> 'virtualbox'!
> >>>>>
> >>>>> There are errors in the configuration of this machine. Please fix
> >>>>>
> >>>>> the following errors and try again:
> >>>>>
> >>>>> Vagrant:
> >>>>>
> >>>>> * Unknown configuration section 'librarian_chef'.
> >>>>>
> >>>>> * Unknown configuration section 'omnibus'.
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> On Fri, Jun 13, 2014 at 9:41 PM, Rohit Yadav <bhais...@apache.org>
> >>>>> wrote:
> >>>>>
> >>>>>> On Fri, Jun 13, 2014 at 9:25 PM, Daan Hoogland <
> >>>>>> daan.hoogl...@gmail.com> wrote:
> >>>>>>
> >>>>>>> Thanks Sebastien and of course Ian,
> >>>>>>>
> >>>>>>> I will try. BUT i think the reason is that xcp is not well
> >>>>>>>supported
> >>>>>>> and devcloud is not based on xenserver but on xcp or even a vanilla
> >>>>>>> (debian/ubuntu?) xen. So will we continue on Ians path or go back
> >>>>>>>and
> >>>>>>> fix devcloud?
> >>>>>>>
> >>>>>>
> >>>>>> I think there is no point in supporting XCP, so we should continue
> >>>>>> with Ian's path and start using/testing ACS with xenserver ( or
> >>>>>>xenproject).
> >>>>>>
> >>>>>>  Thanks Ian and Sebastien, trying it out now.
> >>>>>>
> >>>>>> The ttylinux image is also accessible here:
> >>>>>> http://people.apache.org/~bhaisaab/vms/ttylinux_pv.vhd
> >>>>>>
> >>>>>> Cheers.
> >>>>>>
> >>>>>>
> >>>>>>>
> >>>>>>> On Fri, Jun 13, 2014 at 5:36 PM, sebgoa <run...@gmail.com> wrote:
> >>>>>>> > Hi folks,
> >>>>>>> >
> >>>>>>> > As you know I love Devcloud, but it has its pains and lately it
> >>>>>>>got
> >>>>>>> broken in 4.3, and I don't think it works with 4.4.
> >>>>>>> >
> >>>>>>> > So I encourage you to check out:
> >>>>>>> >
> >>>>>>> > https://github.com/imduffy15/GSoC-2014
> >>>>>>> >
> >>>>>>> > This works out of the box.
> >>>>>>> >
> >>>>>>> > It is from Ian , it uses Vagrant boxes that are available in the
> >>>>>>> vagrant cloud . It sets up NFS and MySql on a centOS6.5 VM, and
> >>>>>>>uses a
> >>>>>>> xenserver box for the hypervisor.
> >>>>>>> > You then build locally, 3306 is forwarded localhost, so it looks
> >>>>>>> like your db is local. NAT routing is setup nicely.
> >>>>>>> > Devcloud cfg file used .
> >>>>>>> >
> >>>>>>> > You start bhaissab ttylinux image.
> >>>>>>> >
> >>>>>>> > It uses Chef recipes Š
> >>>>>>> >
> >>>>>>> > It works out of the box.
> >>>>>>> >
> >>>>>>> > Enjoy the week-end,
> >>>>>>> >
> >>>>>>> > -Sebastien
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> --
> >>>>>>> Daan
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>>
> >>>
> >>
>
>

Reply via email to