CoreOS as base for KVM virtualization

3,137 views
Skip to first unread message

Stefan Majer

unread,
Sep 19, 2013, 3:11:53 AM9/19/13
to coreo...@googlegroups.com
Hi,

i really like the coreos approach because its the missing kind of distribution for datacenter needs.
running all services inside a docker container is the way to go. 
On the other side the is still a huge need for HVM virtualization especially in multi tenant environments or cloud deployments.
I want to try to use coreos for bare metal deployment and use them as base for openstack for example.
To make this possible it is necessary to have some packages (qemu-kvm, libvirt etc.) available in the coreos distribution.

Is this a feasible approach ?

Comments welcome

Greetings
Stefan

Brandon Philips

unread,
Sep 19, 2013, 12:16:37 PM9/19/13
to Stefan Majer, coreos-dev
Hello Stefan-

On Thu, Sep 19, 2013 at 2:11 AM, Stefan Majer <stefan...@gmail.com> wrote:
> To make this possible it is necessary to have some packages (qemu-kvm,
> libvirt etc.) available in the coreos distribution.

We are thinking of using libvirt-lxc and if we end up going that route
adding qemu becomes more reasonable.

Alternatively it is possible to use containers as the nova driver for OpenStack:
https://github.com/dotcloud/openstack-docker

Would something like using containers as the backing driver for
OpenStack work for you?

Thanks,

Brandon

Travis Dixon

unread,
Mar 16, 2015, 7:15:43 PM3/16/15
to coreo...@googlegroups.com
> To make this possible it is necessary to have some packages (qemu-kvm, libvirt etc.) available in the coreos distribution.
> Is this a feasible approach ?

So, I take it this was never resolved?  I'm looking to run KVM on a CoreOS host and coming up empty

Michael Marineau

unread,
Mar 16, 2015, 7:56:58 PM3/16/15
to coreos-dev
You can provide qemu, libvirt, or any other vm management tools you
need in containers. The only extra bit you need is to give the
container running qemu access to the /dev/kvm device.

Travis Dixon

unread,
Mar 16, 2015, 8:26:58 PM3/16/15
to coreo...@googlegroups.com
> The only extra bit you need is to give the container running qemu access to the /dev/kvm device.

Are you able to explain that in a little more detail?

Seán C. McCord

unread,
Mar 17, 2015, 11:52:07 AM3/17/15
to coreo...@googlegroups.com
I think I've done a reasonable job of explanation here:

https://github.com/Ulexus/docker-qemu

Take a look at the entrypoint.sh script.  I use this container myself for running KVM instances on CoreOS via fleet.


Reply all
Reply to author
Forward
0 new messages