An OpenStack Compute driver for LXD
Go to file
Chuck Short 98af131065 Add scenario tests for block storage
Add unit test that does the following:

    1. Boot an instance "instance"
    2. Create a volume "volume1"
    3. Attach volume1 to instance
    4. Create a filesystem on volume1
    5. Mount volume1
    6. Create a file which timestamp is written in volume1
    7. Check for file on instnace
    7. Unmount volume1
    8. Detach volume1 from instance

Change-Id: Id2e062e8d682440276e28683323dbbcd945f4457
Signed-off-by: Chuck Short <chuck.short@canonical.com>
2016-09-27 13:28:52 -04:00
contrib Update blacklist 2016-09-19 10:25:35 -04:00
devstack Set volume device name for tempest 2016-09-27 10:41:22 -04:00
doc/source Add the exclusive machine scheduling docs. 2016-09-22 16:02:03 -06:00
etc/nova/rootwrap.d Update filters 2016-07-22 12:15:44 -04:00
nova Fix the issue where the host cpu socket count is incorrect 2016-09-27 10:35:50 -06:00
nova_lxd_tempest_plugin Add scenario tests for block storage 2016-09-27 13:28:52 -04:00
specs Update todo list 2015-11-07 15:28:54 -05:00
tools Fix PEP8 errors 2015-07-06 12:16:29 +02:00
.coveragerc Fix coverage 2016-01-19 20:30:51 -05:00
.gitignore final code refactor 2015-06-22 15:18:48 -04:00
.gitreview Correct repository location for gitreview 2016-06-09 14:51:45 +01:00
.mailmap Add missing files 2015-01-09 13:18:48 -05:00
.testr.conf Fix unit tests with py27 2016-05-11 12:57:49 -04:00
CONTRIBUTING.rst add code-block to CONTRIBUTING.rst 2016-09-16 22:19:10 -04:00
HACKING.rst Transition from nova-compute-lxd to nova-lxd 2015-11-23 11:06:10 -05:00
LICENSE Frist commit 2015-01-09 11:33:42 -05:00
MANIFEST.in Frist commit 2015-01-09 11:33:42 -05:00
README.md Remove all traces of github usage 2016-06-09 09:00:11 -06:00
babel.cfg Frist commit 2015-01-09 11:33:42 -05:00
openstack-common.conf Transition from nova-compute-lxd to nova-lxd 2015-11-23 11:06:10 -05:00
requirements.txt Re-add pylxd to requirements.txt 2016-09-25 14:19:17 -04:00
run_tests.sh Update package defaults 2015-11-07 15:25:28 -05:00
setup.cfg Add nova-lxd tempest plugin 2016-09-14 09:41:39 -07:00
setup.py Update requirements 2015-11-20 12:55:08 -05:00
test-requirements.txt Updated from global requirements 2016-09-27 10:04:33 +00:00
tox.ini Re-add pylxd to requirements.txt 2016-09-25 14:19:17 -04:00

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