Merge "Let nova-libvirt restarting be independent of libvirtd.log"

This commit is contained in:
Zuul 2019-12-09 21:17:39 +00:00 committed by Gerrit Code Review
commit 7cd19b0cf5
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ if [[ $(lsmod | grep xenfs) ]]; then
mount -t xenfs xenfs /proc/xen
fi
if [[ ! -d "/var/log/kolla/libvirt" ]]; then
if [[ ! -e "/var/log/kolla/libvirt/libvirtd.log" ]]; then
mkdir -p /var/log/kolla/libvirt
touch /var/log/kolla/libvirt/libvirtd.log
chmod 644 /var/log/kolla/libvirt/libvirtd.log