An OpenStack Compute driver for LXD
Python Shell
Clone or download
Permalink
Failed to load latest commit information.
contrib Misc fixes for devstack gate tests Jun 12, 2017
devstack Add placement api and client to devstack configuration Feb 22, 2018
doc/source vif: redux interface wiring approach Jul 12, 2017
etc/nova/rootwrap.d Allow nova-lxd to also use mount & umount in rootwrap May 15, 2018
nova Add back in instance to logging entries Jun 12, 2018
nova_lxd_tempest_plugin
specs Update the documentation link for doc migration Jul 31, 2017
tools
.coveragerc
.gitignore Merge "Add stestr to .gitignore file" Feb 22, 2018
.gitreview Remove branch from 'master' branch .gitreview Feb 23, 2018
.mailmap Add missing files Jan 9, 2015
.stestr.conf Change the .testr.conf to .stestr.conf Feb 27, 2018
.zuul.yaml add lower-constraints job May 4, 2018
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
lower-constraints.txt add lower-constraints job May 4, 2018
openstack-common.conf Transition from nova-compute-lxd to nova-lxd Nov 23, 2015
requirements.txt add lower-constraints job May 4, 2018
run_tests.sh
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 add lower-constraints job May 4, 2018
tox.ini add lower-constraints job May 4, 2018

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