Juju Charm - LXD
Go to file
James Page 8a7e9753c5 Guard calls which won't work from within containers
Ensure that calls to setup live migration are not made if
the charm is running from inside a LXD container, as the
calls will fail (config needs to be done on the host, not
from within the container).

Change-Id: I1633ba0ef5030b4d170bcea9d0c90a781863b168
Closes-Bug: 1633633
2017-03-30 11:46:42 +01:00
actions Update tox.ini files from release-tools gold copy 2016-09-09 19:22:09 +00:00
hooks Guard calls which won't work from within containers 2017-03-30 11:46:42 +01: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 Enable Ocata Amulet Tests 2017-03-22 11:24:33 +00:00
unit_tests Increase subuid/subgid range for root user 2016-12-07 15:24:49 +00:00
.gitignore Fix lxd thinpool creation. 2016-03-23 14:41:04 -06: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 Resync helpers, add pydev project files 2015-09-09 09:34:37 +01:00
.testr.conf Add basic tox configuration 2016-02-25 16:40:47 +00:00
LICENSE Re-license charm as Apache-2.0 2016-07-01 17:30:16 +01:00
Makefile Use bundletester for amulet test execution 2016-07-20 21:54:09 +00:00
README.md Update the README 2016-04-20 10:45:48 +01:00
bindep.txt Move other-requirements.txt to bindep.txt 2016-08-12 20:53:03 +02:00
charm-helpers-tests.yaml Pre-release charm-helpers sync 17.02 2017-02-14 14:58:19 -08:00
charm-helpers.yaml Add support for application version 2016-09-21 10:30:19 +01:00
config.yaml Enable use of ext4 in unpriviledged containers by default 2017-01-12 17:50:10 +02:00
copyright Re-license charm as Apache-2.0 2016-07-01 17:30:16 +01:00
icon.svg Update icon 2015-11-02 09:33:16 +00:00
metadata.yaml Enable Ocata Amulet Tests 2017-03-22 11:24:33 +00:00
requirements.txt Use bundletester for amulet test execution 2016-07-20 21:54:09 +00:00
revision Initial commit 2015-07-23 22:29:09 -04:00
test-requirements.txt Use bundletester for amulet test execution 2016-07-20 21:54:09 +00:00
tox.ini Enable Ocata Amulet Tests 2017-03-22 11:24:33 +00:00

README.md

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