[lxc-users] LXD in OpenStack confusion

Muneeb Ahmad muneeb.gandapur at gmail.com
Fri Apr 29 13:29:09 UTC 2016


Hello guys,

I'm running containers on OpenStack using LXD as a hypervisor.
I have two questions in my mind regarding LXC containers in OpenStack.
First I'm confused about how flavors in OpenStack work when we are dealing
with LXC containers. Because one of the ideas behind containers is that
they can use as much resources as they want unless there's a limitation. So
I'm confused when we have to choose a flavor for any instance, is it really
going to limit the resources used by that container-instance? And let's say
my compute node has 1gb RAM and I use a flavor that has 256mb RAM
allocation, I can only launch 3 containers, after that I get 'no valid
hosts found' error although in reality I can run much more containers than
that. How all this work in containers environment?

Another question I have is that when we run a container on OpenStack, it
automatically copy an image into local lxc image list. Even if all the
containers are using the same image, it just keeps on adding the image to
it's list with a different name. Isn't this a waste of memory?

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160429/50a9598d/attachment.html>


More information about the lxc-users mailing list