Juju Charm - LXD
Go to file
James Page aa8f652756 Guard enablement of ext4 mounts in containers
Its not possible to enable usernamespace ext4 mounting when LXD
is being run from inside a container; leverage charm-helpers
is_container function to guard writes to the /sys filesystem.

Change-Id: Ie479dcf45cb4834308a055dde22d919830c60671
Closes-Bug: 1635659
2016-11-09 11:41:29 +00:00
actions Update tox.ini files from release-tools gold copy 2016-09-09 19:22:09 +00:00
hooks Guard enablement of ext4 mounts in containers 2016-11-09 11:41:29 +00: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 Guard enablement of ext4 mounts in containers 2016-11-09 11:41:29 +00: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
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
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
metadata.yaml Add charm series data to metadata.yaml 2016-09-14 09:30:30 +01:00
README.md Update the README 2016-04-20 10:45:48 +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

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