Juju Charm - LXD
Go to file
James Page 534017af7f Resync charm-helpers
Avoid use of 'service --status-all' which is currently
broken on trusty for upstart managed daemons; the change
moves to detecting how the daemon is managed, and then
using upstart status XXX or the return code of service XXX
status to determine whether a process is running.

Fixes for IPv6 network address detection under Ubuntu
16.04 which changes the output format of the ip commands
slightly.

Update the version map to include 8.1.x as a Neutron
version for Mitaka.

Change-Id: I3290a1e2f3886e02f606002612c83750cfd6de20
Closes-Bug: 1581171
Closes-Bug: 1581598
Closes-Bug: 1580674
2016-05-18 14:06:42 +01:00
hooks Resync charm-helpers 2016-05-18 14:06:42 +01:00
templates Update upstart/systemd templates 2015-09-10 15:37:05 -04:00
tests Rename block-device -> block-devices 2016-04-18 21:21:48 +01: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
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