aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamYaple <sam@yaple.net>2016-02-04 12:15:36 +0000
committerSamYaple <sam@yaple.net>2016-02-04 12:15:36 +0000
commit1ca35e688f020689121e98dc18ab998bf639c2b7 (patch)
treec5fbed42e187bda034f7e17b7d39f7b83f30d215
parent495a030301a236f7b4fc9b2d224e9349275b467b (diff)
downloadkolla-1ca35e688f020689121e98dc18ab998bf639c2b7.tar.gz
kolla-1ca35e688f020689121e98dc18ab998bf639c2b7.zip
Make libvirt reestablish connection with qemu
Libvirt stores some information in /run at runtime that is needed to automatically reestablish a connection with the VM when a new container is created. Without this information a long (and manual) process is needed to redefine the running vms and reattach to the running qemu process. This mountpoint was removed as "unneeded" in the past, but it does exist in Liberty branch enabling a no-vm-downtime upgrade. TrivialFix Change-Id: I2eb31c602d8d17cbd6a8e405daf4123070794843
-rw-r--r--ansible/roles/nova/tasks/start.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/ansible/roles/nova/tasks/start.yml b/ansible/roles/nova/tasks/start.yml
index 4df7f4d84..22a4bec35 100644
--- a/ansible/roles/nova/tasks/start.yml
+++ b/ansible/roles/nova/tasks/start.yml
@@ -10,6 +10,7 @@
volumes:
- "{{ node_config_directory }}/nova-libvirt/:{{ container_config_directory }}/:ro"
- "/lib/modules:/lib/modules:ro"
+ - "/run/:/run/"
- "/sys/fs/cgroup:/sys/fs/cgroup"
- "nova_compute:/var/lib/nova/"
- "nova_libvirt:/var/lib/libvirt"