An OpenStack Compute driver for LXD
Go to file
Sahid Orentino Ferdjaoui d0faf787d9 driver: add missing use_cache parameter for get_info()
With 19cb8280232 The driver interface has been updated. Now that the
method get_info() has an extra parameter 'use_cache'. That one is
currently not going to be used in lxd driver since we don't cache such
info.

Change-Id: Iaa1c7e9717619b087b98cc5171de2984954ccc6e
Closes-Bug: #1824300
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com>
2019-04-12 12:16:13 +00:00
contrib On Bionic ensure that a default storage backend is configured 2019-04-02 12:45:03 +01:00
devstack devstack: remove HOST_IP and FLAT_INTERFACE from local.conf.sample 2019-04-04 09:21:54 +00:00
doc/source Add a feature support matrix 2018-10-09 08:29:52 +00:00
etc/nova/rootwrap.d Allow nova-lxd to also use mount & umount in rootwrap 2018-05-15 18:25:46 +01:00
nova driver: add missing use_cache parameter for get_info() 2019-04-12 12:16:13 +00:00
nova_lxd_tempest_plugin Merge "Update json module to jsonutils" 2019-03-01 10:15:49 +00:00
tools Fix broken debug logs and modernise string interpolation 2018-06-01 15:40:14 +01:00
.coveragerc Tidy tox targets, fix coverage reporting 2017-06-26 12:55:58 +01:00
.gitignore Merge "Add stestr to .gitignore file" 2018-02-22 20:58:51 +00:00
.gitreview Remove branch from 'master' branch .gitreview 2018-02-23 13:34:59 +00:00
.mailmap Add missing files 2015-01-09 13:18:48 -05:00
.stestr.conf Change the .testr.conf to .stestr.conf 2018-02-27 11:21:11 +00:00
.zuul.yaml Use template for lower-constraints 2019-01-23 16:28:10 +00:00
CONTRIBUTING.rst Update the documentation link for doc migration 2017-07-31 10:20:03 +00:00
HACKING.rst Update the documentation link for doc migration 2017-07-31 10:20:03 +00: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 readme: devstack comes with cirros for lxd 2019-04-04 09:26:57 +00:00
babel.cfg Frist commit 2015-01-09 11:33:42 -05:00
lower-constraints.txt Add a feature support matrix 2018-10-09 08:29:52 +00:00
openstack-common.conf Transition from nova-compute-lxd to nova-lxd 2015-11-23 11:06:10 -05:00
requirements.txt add lower-constraints job 2018-05-04 16:27:33 +01:00
run_tests.sh Update package defaults 2015-11-07 15:25:28 -05:00
setup.cfg Change openstack-dev to openstack-discuss 2019-01-23 18:38:15 +00:00
setup.py Change openstack-dev to openstack-discuss 2019-01-23 18:38:15 +00:00
test-requirements.txt Add a feature support matrix 2018-10-09 08:29:52 +00:00
tox.ini Fix bug in scenario/manager and cover it with pep8 2018-09-05 20:16:02 +00: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

# You should enable the following if you use lxd 3.0.
# In addition, this setting requires zfs >= 0.7.0.
#LXD_BACKEND_DRIVER=zfs

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 come cirros LXD, you can still download Ubuntu. Once your stack is up and you've configured authentication against your devstack, do the following::

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

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

DEFAULT_IMAGE_NAME=bionic-amd64 ./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