Juju Charm - LXD
Go to file
Doug Hellmann e2a5aec2cd
fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: Ib824a32b3135ccc6a6d64f41f5172838677b0189
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-11-02 12:13:51 -05:00
actions Update tox.ini files from release-tools gold copy 2016-09-09 19:22:09 +00:00
hooks Series Upgrade 2018-10-23 10:26:19 -07:00
lib Update tox.ini files from release-tools gold copy 2016-09-09 19:22:09 +00:00
templates Update upstart/systemd templates 2015-09-10 15:37:05 -04:00
tests Update requirements 2018-10-03 13:09:59 -05:00
unit_tests Fix lint in unit tests re: py3-first and py2 compat 2018-11-01 22:39:54 -05:00
.gitignore Remove old nova-compute / mysql relation and patch for nova-lxd bug 2018-09-18 14:46:58 +02:00
.gitreview Add gitreview prior to migration to openstack 2016-02-24 21:53:32 +00:00
.project Resync helpers, add pydev project files 2015-09-09 09:34:37 +01:00
.pydevproject Enable xenial/queens amulet tests 2018-02-28 14:54:16 +00:00
.testr.conf Add basic tox configuration 2016-02-25 16:40:47 +00:00
.zuul.yaml import zuul job settings from project-config 2018-09-11 13:15:49 -04:00
bindep.txt Move other-requirements.txt to bindep.txt 2016-08-12 20:53:03 +02:00
charm-helpers.yaml Update repo to do ch-sync from Git 2017-09-26 10:23:02 +02:00
config.yaml Cleanup config.yaml 2017-06-06 10:29:48 -04:00
copyright Re-license charm as Apache-2.0 2016-07-01 17:30:16 +01:00
icon.svg Update charm icon 2017-08-02 18:25:32 +01:00
LICENSE Re-license charm as Apache-2.0 2016-07-01 17:30:16 +01:00
Makefile Tests dir no longer need copy of charmhelpers 2018-10-10 12:40:49 +00:00
metadata.yaml Update series metadata 2018-07-11 14:05:37 -05:00
README.md Update the README 2016-04-20 10:45:48 +01:00
requirements.txt Update requirements 2018-10-03 13:09:59 -05:00
revision Initial commit 2015-07-23 22:29:09 -04:00
test-requirements.txt Update requirements 2018-10-03 13:09:59 -05:00
tox.ini fix tox python3 overrides 2018-11-02 12:13:51 -05:00

Overview

LXD is a hypervisor for managing Linux Containers; it provides a simple RESTful API for creation and management of containers. This charm is currently specific to LXD's use with nova-lxd, but that's only by usage, rather than specific design.

Usage with nova-compute and nova-lxd

While the lxd charm can be used with any charm to enable use of LXD, its primary use is with the nova-compute Openstack charm, for provisioning LXD based OpenStack Nova instances.

For example:

juju deploy nova-compute
juju set nova-compute virt-type=lxd
juju deploy lxd
juju set lxd block-devices=/dev/sdb storage-type=lvm
juju add-relation lxd nova-compute

The caveat is that nova-compute is part of a greater ecosystem of many OpenStack service charms. For a full OpenStack Mitaka deployment using LXD, please refer to the OpenStack LXD bundle.

At this time, nova-lxd is only supported on Ubuntu 16.04 or above, with OpenStack Mitaka (provided as part of Ubuntu 16.04).

Contact Information

Report bugs on Launchpad