aa8f652756
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 |
||
---|---|---|
actions | ||
hooks | ||
lib | ||
templates | ||
tests | ||
unit_tests | ||
.gitignore | ||
.gitreview | ||
.project | ||
.pydevproject | ||
.testr.conf | ||
bindep.txt | ||
charm-helpers-tests.yaml | ||
charm-helpers.yaml | ||
config.yaml | ||
copyright | ||
icon.svg | ||
LICENSE | ||
Makefile | ||
metadata.yaml | ||
README.md | ||
requirements.txt | ||
revision | ||
test-requirements.txt | ||
tox.ini |
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