diff options
| author | Steven Dake <stdake@cisco.com> | 2015-09-09 18:56:30 -0700 |
|---|---|---|
| committer | Steven Dake <stdake@cisco.com> | 2015-09-09 21:08:34 -0700 |
| commit | ca4db1d965aca2111c25f1141bac9f7612a7f6fa (patch) | |
| tree | 0c759a5f59cdafbf05bb6dd8e0bf25e9f9d5452b | |
| parent | 1025890e99e33e58236586bff23290dbbd3f2126 (diff) | |
| download | kolla-ca4db1d965aca2111c25f1141bac9f7612a7f6fa.tar.gz kolla-ca4db1d965aca2111c25f1141bac9f7612a7f6fa.zip | |
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
| -rw-r--r-- | ansible/roles/nova/tasks/bootstrap.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ansible/roles/nova/tasks/bootstrap.yml b/ansible/roles/nova/tasks/bootstrap.yml index 9022ae209..c41fcf449 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: |
