[Openstack] Nova and Magnum on the same host?

Tomas Vondra vondra at czech-itc.cz
Thu Jun 9 09:03:05 UTC 2016


Turbo Fredriksson <turbo at ...> writes:

> 
> My use-case require me to have Containers for certain rings
> and real VMs for others.
> 
> But I also want to utilize my hardware to max, while keeping
> the electricity bill (and cooling) as low as possible. This
> means that I need (want!) to run both the VMs and the Containers
> on the same host.
> 
> I've just started with Openstack, so I have _many_ questions,
> and this is the first one: Can I run both Nova (full VMs) and
> Magnum (Containers) on the same physical host?
> 
> As in, will Openstack realize that the physical host is full
> (with mixed VMs and Containers) so that it will start filling
> the next physical machine? Because I'm assuming that's what it
> does, realize that there's no more "space" (resources) left
> on the host and know that it can't put any new instance on there,
> but need to start filling another one.
> 
> Or does it just throw the instances out randomly on physical
> nodes?
> --


Hi!
AFAIK the Magnum service will run containers inside VMs. It is a
provisioning system for container orchestration services like Kubernetes. 

There are drivers like nova-lxc and nova-docker, which run containers
directly on bare metal, and I would not mix it with KVM on the same nodes. 

Although it might just work - each compute driver periodically reports free
resources to Nova and will regard the other one as non-Openstack load. So I
think 

And you can run Magnum and Ironic for containers on bare metal, but you
won't be able to run VMs on that.
Tomas






More information about the Openstack mailing list