Change the libvirtd log level to DEBUG

Gate tests fail sometimes due to libvirt problems, but it is difficult
to investigate their reasons or workarounds because there is not any
log about libvirt.
This patch changes the log level of libvirtd to DEBUG for investigating
libvirt problems.

Change-Id: Ib6559ff978fa813d0332f2339d241dd3437196ee
Related-Bug: #1254872
This commit is contained in:
Ken'ichi Ohmichi 2013-12-25 22:14:11 +09:00
parent 6fbb28d021
commit 3bd85c9d6e

View File

@ -93,6 +93,9 @@ EOF"
fi
fi
# Change the libvirtd log level to DEBUG.
sudo sed -i s/"#log_level = 3"/"log_level = 1"/ /etc/libvirt/libvirtd.conf
# The user that nova runs as needs to be member of **libvirtd** group otherwise
# nova-compute will be unable to use libvirt.
if ! getent group $LIBVIRT_GROUP >/dev/null; then