Juju Charm - LXD
Go to file
Chuck Short 017246768e Add support for use of ext4 in containers
By default, LXD won't allow an unpriviledged container
to format and mount a block device, so although a block
device can be passed to a container, its not possible
to use it from inside the container.

Add a configuration flag to turn on support for use of
ext4 within user namespaces, allow unpriviledged LXD
containers to format and mount ext4 formatted block
devices from inside of the container.

Change-Id: I8eace1e7b7d4db14a3dc9f82080ac1b0ca29e892
2016-10-06 11:03:22 +01:00
actions Update tox.ini files from release-tools gold copy 2016-09-09 19:22:09 +00:00
hooks Add support for use of ext4 in containers 2016-10-06 11:03:22 +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 Pre-release charm-helpers sync 16.10 2016-09-30 09:06:08 -07:00
unit_tests Add support for application version 2016-09-21 10:30:19 +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
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 add charm-helpers-tests.yaml 2016-01-28 21:08:00 +00:00
charm-helpers.yaml Add support for application version 2016-09-21 10:30:19 +01:00
config.yaml Add support for use of ext4 in containers 2016-10-06 11:03:22 +01: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 Add charm series data to metadata.yaml 2016-09-14 09:30:30 +01: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 Update tox.ini files from release-tools gold copy 2016-09-09 19:22:09 +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