Vagrant with Xen/KVM

7,068 views
Skip to first unread message

Lucas S.

unread,
Jun 20, 2011, 11:00:46 PM6/20/11
to Vagrant
It will be possible, in next releases, use vagrant with xen or kvm,
instead of vbox?

What about the boxes, is there any repository to find them? I'm
looking for configured boxes with LAMP and django stacks.

Regards,
Lucas S.

Hedge Hog

unread,
Jun 21, 2011, 3:41:37 AM6/21/11
to vagra...@googlegroups.com
I think there was an issue open for lxc may be see if my memory is
correct and subscribe to the issue.

--
πόλλ' οἶδ ἀλώπηξ, ἀλλ' ἐχῖνος ἓν μέγα
[The fox knows many things, but the hedgehog knows one big thing.]
  Archilochus, Greek poet (c. 680 BC – c. 645 BC)
http://hedgehogshiatus.com

elf Pavlik

unread,
Jun 21, 2011, 3:47:00 AM6/21/11
to vagrant-up
Hi Lucas,

> It will be possible, in next releases, use vagrant with xen or kvm,
> instead of vbox?

I don't know myself if in next release but I've read about plans for it. Maybe someone else here can comment on this one?

> What about the boxes, is there any repository to find them? I'm
> looking for configured boxes with LAMP and django stacks.

You can find list of base boxes on vagrant's github wiki:
https://github.com/mitchellh/vagrant/wiki/Available-Vagrant-Boxes

to provision them you can find tons of chef cookbooks here:
https://github.com/opscode/cookbooks (apache2, mysql, php, ...)

here I've found something for django:
https://github.com/ericholscher/chef-django-example

but with some searching I believe you can find more...

Good luck!
=)
elf Pavlik

gareth rushgrove

unread,
Jun 21, 2011, 3:55:36 AM6/21/11
to vagra...@googlegroups.com
On 21 June 2011 04:00, Lucas S. <magal...@gmail.com> wrote:
> It will be possible, in next releases, use vagrant with xen or kvm,
> instead of vbox?

I think Mitchell has been looking at libvert which would allow for
this, but it's a sizable change.

>
> What about the boxes, is there any repository to find them? I'm
> looking for configured boxes with LAMP and django stacks.
>

You can find lots of base boxes on http://www.vagrantbox.es/
(disclaimer: I maintain the site).

Personally I tend to favour plain OS base boxes, then using Chef or
Puppet to provision the relevant services. The main reason is that
their isn't really one LAMP stack, and their certainly isn't one
django stack.

Here are links to puppet/chef manifests/recipes for Django for instance:

https://github.com/easel/puppet-django-stack
http://www.opscode.com/blog/2011/05/23/deploy-django-cms-with-chef/
https://gist.github.com/701221
http://ericholscher.com/blog/2010/nov/8/building-django-app-server-chef/

All look good, all are subtly different. Gunicorn vs mod_wsgi, to
nginx or not?, memcached?, varnish?, mysql vs postgresql

If you really want a basebox with your particular stack I'd recommend
taking a basebox, installing what you require via chef/puppet, then
packaging up the resulting box with veewee.

G

> Regards,
> Lucas S.
>

--
Gareth Rushgrove
Web Geek

morethanseven.net
garethrushgrove.com

Mitchell Hashimoto

unread,
Jun 21, 2011, 6:20:00 AM6/21/11
to vagra...@googlegroups.com
Lucas,

On Tue, Jun 21, 2011 at 5:00 AM, Lucas S. <magal...@gmail.com> wrote:
It will be possible, in next releases, use vagrant with xen or kvm,
instead of vbox?

Yes, this will be possible.

More details on this: The current plan is to work on performance and minor features to a 1.0 release (soon). This will be a stable release that people can hang on to for awhile. After 1.0, I plan on radically changing things, which will help support multiple hypervisors, as well as generally make things easier to install, easier to maintain, etc. I hope to have 1.0 out before the end of summer (September).

The undertaking involved in supporting multiple hypervisors was just too much and too uncertain to mix into Vagrant right now, and would introduce a vast amount of instability, which I'd like to hold off on as we are already at 0.7.
 

What about the boxes, is there any repository to find them? I'm
looking for configured boxes with LAMP and django stacks.

 

Regards,
Lucas S.

Patrick Debois

unread,
Jun 21, 2011, 6:21:59 AM6/21/11
to vagra...@googlegroups.com
I'm setting out this and next week to get  libvirt into fog library.

So that might ease future vagrant integrations. FYI. fog is a cloud abstraction library in ruby and now already has virtualbox too.

Bradford Smith

unread,
Sep 2, 2012, 10:08:23 AM9/2/12
to vagra...@googlegroups.com
Hi Mitchell,

Are there still plans for this?  I'm looking for a tool to easily spin up new VMs in a production environment, preferably on Xen.

Thanks,
Bradford

Wolfgang Richter

unread,
Feb 20, 2013, 4:47:38 PM2/20/13
to vagra...@googlegroups.com
I haven't seen working plugins for KVM or Xen, although I'd like KVM (could assist in making it if Vagrant core is getting ready to accept an alternative plugin over VirtualBox).

But I have seen work getting prepared to support more than just VirtualBox :-)

Here is the core merge that pulls VirtualBox basically out into a plugin: https://github.com/mitchellh/vagrant/commit/391dc392675c73518ebf04252d824fe916e8860b


On Wed, Feb 20, 2013 at 2:11 PM, Denis J. Cirulis <denis....@gmail.com> wrote:
Hi all,

are there any changes on this ? I would rather like to use vargant instead of self written ruby/libvirt provisioning stack. The target platform is kvm.

Thanks in advance.

воскресенье, 2 сентября 2012 г., 17:08:23 UTC+3 пользователь Bradford Smith написал:

--
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 vagrant-up+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Patrick Debois

unread,
Feb 21, 2013, 3:07:13 AM2/21/13
to vagra...@googlegroups.com
In the meantime you might want to use - https://github.com/jedi4ever/mccloud

It has ec2, kvm and vagrant support.

Patrick

On 20/02/13 20:11, Denis J. Cirulis wrote:
Hi all,

are there any changes on this ? I would rather like to use vargant instead of self written ruby/libvirt provisioning stack. The target platform is kvm.

Thanks in advance.

О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫, 2 О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ 2012О©╫О©╫., 17:08:23 UTC+3 О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ Bradford Smith О©╫О©╫О©╫О©╫О©╫О©╫О©╫:
Hi Mitchell,

Are there still plans for this?О©╫ I'm looking for a tool to easily spin up new VMs in a production environment, preferably on Xen.


Thanks,
Bradford

On Tuesday, June 21, 2011 6:20:00 AM UTC-4, Mitchell Hashimoto wrote:
Lucas,

On Tue, Jun 21, 2011 at 5:00 AM, Lucas S. <magal...@gmail.com> wrote:
It will be possible, in next releases, use vagrant with xen or kvm,
instead of vbox?

Yes, this will be possible.

More details on this: The current plan is to work on performance and minor features to a 1.0 release (soon). This will be a stable release that people can hang on to for awhile. After 1.0, I plan on radically changing things, which will help support multiple hypervisors, as well as generally make things easier to install, easier to maintain, etc. I hope to have 1.0 out before the end of summer (September).

The undertaking involved in supporting multiple hypervisors was just too much and too uncertain to mix into Vagrant right now, and would introduce a vast amount of instability, which I'd like to hold off on as we are already at 0.7.
О©╫

What about the boxes, is there any repository to find them? I'm
looking for configured boxes with LAMP and django stacks.

О©╫

Regards,
Lucas S.

--
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 vagrant-up+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
О©╫
О©╫

Reply all
Reply to author
Forward
0 new messages