Skip to main content

native lxd driver for openstack

Project description

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 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nova-lxd-19.0.0.tar.gz (103.9 kB view details)

Uploaded Source

Built Distribution

nova_lxd-19.0.0-py2.py3-none-any.whl (73.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file nova-lxd-19.0.0.tar.gz.

File metadata

  • Download URL: nova-lxd-19.0.0.tar.gz
  • Upload date:
  • Size: 103.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.2

File hashes

Hashes for nova-lxd-19.0.0.tar.gz
Algorithm Hash digest
SHA256 0caa6c0543fbbf423bbd53a41f4f16466dab9e13f033ceab124bdc0b126ab406
MD5 3612c4e6bc23a6068cbc4c6fca583dde
BLAKE2b-256 4c9d48531fb5e4e5997d09222edeb04e968be2f9b13004aaf49a82b9087781e1

See more details on using hashes here.

File details

Details for the file nova_lxd-19.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: nova_lxd-19.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 73.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.2

File hashes

Hashes for nova_lxd-19.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5ceb3ebfd228b465b51df911ded37e540c7e7319e757a5e28a2fc0968a90c927
MD5 3ad3b1f5cb3e31e4dbc0dde8d648ac45
BLAKE2b-256 d4bf3e6ef4c505b17ea27fce79bd558442a5b7a2a78ee4597e07085c0e92bd37

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page