An OpenStack Compute driver for LXD
Python Shell
Permalink
Failed to load latest commit information.
contrib Misc fixes for devstack gate tests Jun 12, 2017
devstack Fix traceback when running nova-console Jul 31, 2017
doc/source vif: redux interface wiring approach Jul 12, 2017
etc/nova/rootwrap.d Redux use of InstanceInfo object Sep 12, 2017
nova Unblock nova-lxd gate Nov 3, 2017
nova_lxd_tempest_plugin Replace deprecated test.attr with decorators.attr Jul 31, 2017
specs Update the documentation link for doc migration Jul 31, 2017
tools Fix PEP8 errors Jul 6, 2015
.coveragerc Tidy tox targets, fix coverage reporting Jun 26, 2017
.gitignore Tidy tox targets, fix coverage reporting Jun 26, 2017
.gitreview Update gitreview for stable/ocata branch Feb 23, 2017
.mailmap Add missing files Jan 9, 2015
.testr.conf Redux use of InstanceInfo object Sep 12, 2017
.zuul.yaml Add non-voting nova-lxd functional test Oct 25, 2017
CONTRIBUTING.rst Update the documentation link for doc migration Jul 31, 2017
HACKING.rst Update the documentation link for doc migration Jul 31, 2017
LICENSE Frist commit Jan 9, 2015
MANIFEST.in Frist commit Jan 9, 2015
README.md Remove all traces of github usage Jun 9, 2016
babel.cfg Frist commit Jan 9, 2015
openstack-common.conf Transition from nova-compute-lxd to nova-lxd Nov 23, 2015
requirements.txt Updated from global requirements Dec 3, 2017
run_tests.sh Update package defaults Nov 7, 2015
setup.cfg Fixed import error of nova-lxd-tempest-plugin Nov 13, 2017
setup.py Updated from global requirements Mar 13, 2017
test-requirements.txt Updated from global requirements Dec 3, 2017
tox.ini Tidy tox targets, fix coverage reporting Jun 26, 2017

README.md

nova-lxd Build Status

An OpenStack Compute driver for managing containers using LXD.

nova-lxd on Devstack

For development purposes, nova-lxd provides a devstack plugin. To use it, just include the following in your devstack local.conf:

[[local|localrc]]
enable_plugin nova-lxd https://git.openstack.org/openstack/nova-lxd

Change git repositories as needed (it's probably not very useful to point to the main nova-lxd repo). If you have a local tree you'd like to use, you can symlink your tree to /opt/stack/nova-lxd and do your development from there.

The devstack default images won't work with lxd, as lxd doesn't support them. Once your stack is up and you've configured authentication against your devstack, do the following::

wget http://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-root.tar.gz
glance image-create --name xenial --disk-format raw --container-format bare --file xenial-server-cloudimg-amd64-root.tar.gz

You can test your configuration using the exercise scripts in devstack. For instance,

DEFAULT_IMAGE_NAME=xenial ./exercises/volumes.sh

Please note: the exercise scripts in devstack likely won't work, as they have requirements for using the cirros images.

Support and discussions

We use the LXC mailing-lists for developer and user discussions, you can find and subscribe to those at: https://lists.linuxcontainers.org

If you prefer live discussions, some of us also hang out in #lxcontainers on irc.freenode.net.

Bug reports

Bug reports can be filed at https://bugs.launchpad.net/nova-lxd