aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2021-03-10 19:22:10 +0000
committerGerrit Code Review <review@openstack.org>2021-03-10 19:22:10 +0000
commitc2360f549e490f76f87880cbbd484a1fee1bc38f (patch)
tree60c57680a3f692071daed586d727a30e28bf931d /ansible
parent835920782fb48c4a750814fedd04126424334856 (diff)
parenteabdf1e9f959c274e827e8c24a6ea63709c1033c (diff)
downloadkolla-ansible-c2360f549e490f76f87880cbbd484a1fee1bc38f.tar.gz
kolla-ansible-c2360f549e490f76f87880cbbd484a1fee1bc38f.zip
Merge "Introduce nova_libvirt_logging_debug"
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/nova-cell/defaults/main.yml1
-rw-r--r--ansible/roles/nova-cell/templates/libvirtd.conf.j22
2 files changed, 2 insertions, 1 deletions
diff --git a/ansible/roles/nova-cell/defaults/main.yml b/ansible/roles/nova-cell/defaults/main.yml
index 0385ea201..6c252ecf3 100644
--- a/ansible/roles/nova-cell/defaults/main.yml
+++ b/ansible/roles/nova-cell/defaults/main.yml
@@ -415,6 +415,7 @@ haproxy_nova_serialconsole_proxy_tunnel_timeout: "10m"
####################
nova_logging_debug: "{{ openstack_logging_debug }}"
+nova_libvirt_logging_debug: "{{ nova_logging_debug }}"
openstack_nova_auth: "{{ openstack_auth }}"
diff --git a/ansible/roles/nova-cell/templates/libvirtd.conf.j2 b/ansible/roles/nova-cell/templates/libvirtd.conf.j2
index 7da2e0787..602345626 100644
--- a/ansible/roles/nova-cell/templates/libvirtd.conf.j2
+++ b/ansible/roles/nova-cell/templates/libvirtd.conf.j2
@@ -12,7 +12,7 @@ auth_tcp = "none"
tcp_port = "{{ nova_libvirt_port }}"
ca_file = ""
{% endif %}
-{% if nova_logging_debug | bool %}
+{% if nova_libvirt_logging_debug | bool %}
log_level = 1
log_outputs = "1:file:/var/log/kolla/libvirt/libvirtd.log"
{% else %}