Ask Your Question

jeff.kowalczyk@gmail.com's profile - activity

2018-04-21 14:25:16 -0600 received badge  Self-Learner (source)
2018-04-21 14:25:16 -0600 received badge  Teacher (source)
2018-04-21 14:25:14 -0600 received badge  Student (source)
2016-11-11 22:37:00 -0600 received badge  Famous Question (source)
2016-11-11 22:37:00 -0600 received badge  Popular Question (source)
2016-11-11 22:37:00 -0600 received badge  Notable Question (source)
2016-07-28 17:38:14 -0600 answered a question Can nova-compute-lxd run lxd instances alongside kvm instances

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 @@
 [DEFAULT]
-compute_driver=libvirt.LibvirtDriver
-[libvirt]
-virt_type=kvm
+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
+
+[Filters]
+tar: CommandFilter, tar, root
2016-07-27 20:00:05 -0600 asked a question Can nova-compute-lxd run lxd instances alongside kvm instances

When installing nova-compute-lxd on a compute node, is there any conflict with continuing to run normal kvm instances on that compute node?

This is a basic question, but the https://linuxcontainers.org/lxd/getting-started-openstack/ (getting started with LXD on Openstack page) currently makes no mention of it.