Ask Your Question

What images to use to launch instances using LXC with OpenStack

asked 2013-12-14 18:54:47 -0600

anonymous user


I have successfully deployed OpenStack Havana using Juju and MAAS. Virt type is LXC. What kind of images should I use to be able to launch LXC containers from Openstack and how to overcome the lack of volume support to add storage? Any leads will do :) Thanks!

edit retag flag offensive close merge delete

1 answer

Sort by ┬╗ oldest newest most voted

answered 2013-12-16 10:28:11 -0600

Nuriel gravatar image

updated 2013-12-16 10:29:40 -0600

You need to create an image which can be used (but I guess you've already figured that one out :)). It took me some time but eventually I've managed to get a Centos image working and a libvirt LXC could boot from it. I combined information from the following two links: and mainly

One important thing to note is, that because the host system had its selinux disabled, I had to remove the /selinux directory from the container's image. Also important was that the cgroups are properly mounted on the host and that the services cgconfig and cgred should be started, then libvirtd restarted to pick-up the changes and you should be good to go.

edit flag offensive delete link more


Thanks, I will look into it. I have to create and Ubuntu image. but I guess the principle would be the same! Cheers, Isein!

inko gravatar imageinko ( 2013-12-16 11:39:30 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-12-14 18:54:47 -0600

Seen: 757 times

Last updated: Dec 16 '13