0d7caa889f
This patch implements a replacement of the legacy functional test previously implemented using openstack-ansible. The job and pipeline is defined in-repo to ensure that the nova-lxd team has complete control over the voting status, pipelines it is in, etc. The test uses the 'func_lxd' tox environment in the openstack/openstack-ansible-os_nova repository which executes an integration build of nova services in a container, using the nova-lxd compute driver, using linuxbridge for networking and using the nodepool host for compute. Depends-On: If39e4bec8db0be04b13dfc005ee404b73c0b65d3 Depends-On: Ia5ab6aa43f912b3cb4adf98154cd3da12688c2e0 Depends-On: I4995fcac48889bd189cc1f25adb442b7a6637a46 Change-Id: I49075be82daf62b1ca564c77bf835ae83cd6595b |
||
---|---|---|
contrib | ||
devstack | ||
doc/source | ||
etc/nova/rootwrap.d | ||
nova | ||
nova_lxd_tempest_plugin | ||
specs | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.md | ||
babel.cfg | ||
openstack-common.conf | ||
requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.md
nova-lxd
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