Revision history [back]

Answering my own question: as of OpenStack Mitaka on Ubuntu 16.04, the packages nova-compute-kvm and nova-compute-lxd are mutually exclusive. Installing nova-compute-lxd uninstalls nova-compute-kvm. The package install makes one edit to nova-compute.conf to switch compute_driver, and one new file rootwrap.d/lxd.filters is added.

diff --git a/nova-compute.conf b/nova-compute.conf
index 48ad489..d5ea654 100644
--- a/nova-compute.conf
+++ b/nova-compute.conf
@@ -1,4 +1,2 @@
+compute_driver = nova_lxd.nova.virt.lxd.LXDDriver
diff --git a/rootwrap.d/lxd.filters b/rootwrap.d/lxd.filters
new file mode 100644
index 0000000..ff47c31
--- /dev/null
+++ b/rootwrap.d/lxd.filters
@@ -0,0 +1,5 @@
+# nova-rootwrap filters for compute nodes running flex
+# This file should be owned by (and only-writable by) the root user
+tar: CommandFilter, tar, root