ubuntu image for libvirt_type=lxc

Asked by Alan McDuff

Hello,
I am looking for an image of ubuntu 12.04 that can be used with lxc virtualization in a devstack system.

Here: https://answers.launchpad.net/devstack/+question/189704 is a vague explanation, how to convert an existing (cirros) image for lxc ("Make a copy of cirros-0.3.0-x86_64-blank.img (name it cirros-lxc.img or whatever), mount, and copy everything from foobar over").
But I would need precise steps with clear links to the original file, that may be possibly converted for lxc.

Can any of the images at http://cloud-images.ubuntu.com/precise/current/ be converted for lxc? I have made several attempts extracting the "/" filesystem from these images and converting them to raw image format with qemu-img, but none of them boots in the openstack dashboard (going to "Error" state everytime).
I have also created a lxc root filesystem (using "lxc-create -t ubuntu"). Can I use this for lxc under devstack?

Thanks
Alan

Question information

Language:
English Edit question
Status:
Answered
For:
devstack Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Winston Mayers (winstonmeyers) said :
#1

Alan,
the LXC virtualization type has been discontinued by Openstack. Important tasks such as migrating or stopping/restarting an instance is not possible at the moment., because saving all processes state to disk won't be possible until the LXC developers integrate the necessary functions into the Linux kernel.

The "LXC Containers - Coming soon!" notice on the devstack homepage has now been removed. You can still use the nova LXC components from previous Openstack releases, but there is no support offering LXC based cloud images.
Good luck!

Can you help with this problem?

Provide an answer of your own, or ask Alan McDuff for more information if necessary.

To post a message you must log in.