Juju Charm - LXD
Go to file
Chuck Short 994b52de3f Switch to using charm-store for amulet tests
All OpenStack charms are now directly published to the charm store
on landing; switch Amulet helper to resolve charms using the
charm store rather than bzr branches, removing the lag between
charm changes landing and being available for other charms to
use for testing.

This is also important for new layered charms where the charm must
be build and published prior to being consumable.

Change-Id: I1bcb20ab061fa639cc1116d2fe0bbf4c5a4464bc
Signed-off-by: Chuck Short <chuck.short@canonical.com>
2016-06-27 13:49:33 +00:00
hooks Switch to using charm-store for amulet tests 2016-06-27 13:49:33 +00:00
templates Update upstart/systemd templates 2015-09-10 15:37:05 -04:00
tests Switch to using charm-store for amulet tests 2016-06-27 13:49:33 +00:00
unit_tests Ensure ZFS pool management is idempotent 2016-04-20 21:32:46 +01: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
Makefile Fix lxd thinpool creation. 2016-03-23 14:41:04 -06:00
README.md Update the README 2016-04-20 10:45:48 +01:00
charm-helpers-tests.yaml add charm-helpers-tests.yaml 2016-01-28 21:08:00 +00:00
charm-helpers.yaml Initial commit 2015-07-23 22:29:09 -04:00
config.yaml Rename block-device -> block-devices 2016-04-18 21:21:48 +01:00
copyright Initial commit 2015-07-23 22:29:09 -04:00
icon.svg Update icon 2015-11-02 09:33:16 +00:00
metadata.yaml Update maintainer 2015-11-18 10:36:43 +00:00
other-requirements.txt Drop check for LVM thinpool name 2016-06-27 09:48:53 +01:00
requirements.txt Fix pbr requirement 2016-04-13 10:24:43 +00:00
revision Initial commit 2015-07-23 22:29:09 -04:00
test-requirements.txt Fix lxd thinpool creation. 2016-03-23 14:41:04 -06:00
tox.ini Fix lxd thinpool creation. 2016-03-23 14:41:04 -06: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