From ca4db1d965aca2111c25f1141bac9f7612a7f6fa Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Wed, 9 Sep 2015 18:56:30 -0700 Subject: [PATCH] Enable nova-libvirt to be updated Libvirt shuts down existing virtual machines. To solve this problem, the /var/lib/libvirt directory needs to be persisted. By persisting this directory in the nova data container, libvirt can communicate with the sockets setup by the previous data container. Change-Id: I362c533f8493984123686fe6e3f8e43d97434ca6 Closes-Bug: #1494060 --- ansible/roles/nova/tasks/bootstrap.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ansible/roles/nova/tasks/bootstrap.yml b/ansible/roles/nova/tasks/bootstrap.yml index 9022ae209d..c41fcf4494 100644 --- a/ansible/roles/nova/tasks/bootstrap.yml +++ b/ansible/roles/nova/tasks/bootstrap.yml @@ -41,7 +41,9 @@ insecure_registry: "{{ docker_insecure_registry }}" name: nova_data image: "{{ nova_data_image_full }}" - volumes: "/var/lib/nova/instances" + volumes: + - "/var/lib/nova/instances" + - "/var/lib/libvirt" - name: Starting Nova bootstrap container docker: