Merge "Keep existing data for containerized Libvirt"
This commit is contained in:
commit
8716d9f769
@ -83,6 +83,11 @@ outputs:
|
|||||||
- /lib/modules:/lib/modules:ro
|
- /lib/modules:/lib/modules:ro
|
||||||
- /run:/run
|
- /run:/run
|
||||||
- /var/lib/nova:/var/lib/nova
|
- /var/lib/nova:/var/lib/nova
|
||||||
- libvirtd:/var/lib/libvirt
|
- /var/lib/libvirt:/var/lib/libvirt
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
|
host_prep_tasks:
|
||||||
|
- name: create /var/lib/libvirt
|
||||||
|
file:
|
||||||
|
path: /var/lib/libvirt
|
||||||
|
state: directory
|
||||||
|
@ -88,7 +88,15 @@ outputs:
|
|||||||
- /var/lib/nova:/var/lib/nova
|
- /var/lib/nova:/var/lib/nova
|
||||||
# Needed to use host's virtlogd
|
# Needed to use host's virtlogd
|
||||||
- /var/run/libvirt:/var/run/libvirt
|
- /var/run/libvirt:/var/run/libvirt
|
||||||
- libvirtd:/var/lib/libvirt
|
- /var/lib/libvirt:/var/lib/libvirt
|
||||||
- nova_libvirt_qemu:/etc/libvirt/qemu
|
- /etc/libvirt/qemu:/etc/libvirt/qemu
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
|
host_prep_tasks:
|
||||||
|
- name: create libvirt persistent data directories
|
||||||
|
file:
|
||||||
|
path: "{{ item }}"
|
||||||
|
state: directory
|
||||||
|
with_items:
|
||||||
|
- /etc/libvirt/qemu
|
||||||
|
- /var/lib/libvirt
|
||||||
|
Loading…
Reference in New Issue
Block a user