Expose logs from nova_libvirt container

By default logs for libvirt are disabled. However, for debugging
purposes they might be enabled but are only available within the
container. This change bind mounts the log directory to the host.

Change-Id: I4a69e39355a332872ab40663d85a0bc15b98dcf4
This commit is contained in:
Sven Anderson 2017-11-22 17:35:18 +01:00
parent ce00019000
commit 22b5fd7928

View File

@ -214,6 +214,7 @@ outputs:
- /etc/libvirt:/etc/libvirt
- /var/run/libvirt:/var/run/libvirt
- /var/lib/libvirt:/var/lib/libvirt
- /var/log/containers/libvirt:/var/log/libvirt
- /var/log/libvirt/qemu:/var/log/libvirt/qemu:ro
- /var/lib/vhost_sockets:/var/lib/vhost_sockets
- /sys/fs/selinux:/sys/fs/selinux
@ -264,6 +265,7 @@ outputs:
- /etc/libvirt/secrets
- /etc/libvirt/qemu
- /var/lib/libvirt
- /var/log/containers/libvirt
# qemu user on host will be cretaed by libvirt package install, ensure
# the qemu user created with same uid/gid as like libvirt package.
# These specific values are required since ovs is running on host.