diff --git a/nova/templates/bin/_libvirt.sh.tpl b/nova/templates/bin/_libvirt.sh.tpl index 00c54919ff..42c4509d05 100644 --- a/nova/templates/bin/_libvirt.sh.tpl +++ b/nova/templates/bin/_libvirt.sh.tpl @@ -28,4 +28,4 @@ if [[ -c /dev/kvm ]]; then chown root:kvm /dev/kvm fi -exec libvirtd -v --listen +exec libvirtd --listen diff --git a/nova/templates/etc/_libvirtd.conf.tpl b/nova/templates/etc/_libvirtd.conf.tpl index 4258b0675d..5ffd3defbf 100644 --- a/nova/templates/etc/_libvirtd.conf.tpl +++ b/nova/templates/etc/_libvirtd.conf.tpl @@ -15,6 +15,6 @@ listen_tcp = 1 auth_tcp = "none" ca_file = "" -log_level = 2 -log_outputs = "2:stderr" +log_level = {{ .Values.libvirt.log_level }} +log_outputs = "{{ .Values.libvirt.log_level }}:stderr" listen_addr = "{{ .Values.libvirt.listen_addr }}" diff --git a/nova/values.yaml b/nova/values.yaml index 8c407a14a2..574bd23859 100644 --- a/nova/values.yaml +++ b/nova/values.yaml @@ -140,6 +140,7 @@ ceph: libvirt: listen_addr: 0.0.0.0 + log_level: 3 dependencies: api: