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