aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-01-21 22:44:03 +0000
committerGerrit Code Review <review@openstack.org>2016-01-21 22:44:03 +0000
commit801f84ed11d51661d31bc3a4736e4840dc147360 (patch)
tree45e1a9bbe0d26f2f558a507386e75f4e975b2961
parentbb12f82c70cec2c400793add4bf920035c5e1283 (diff)
parent83df0f86120cae36d2a48f23793a45f3f23faa7b (diff)
downloadkolla-801f84ed11d51661d31bc3a4736e4840dc147360.tar.gz
kolla-801f84ed11d51661d31bc3a4736e4840dc147360.zip
Merge "Add debug option in config file"
-rw-r--r--ansible/roles/cinder/templates/cinder.conf.j22
-rw-r--r--ansible/roles/glance/templates/glance-api.conf.j22
-rw-r--r--ansible/roles/glance/templates/glance-registry.conf.j22
-rw-r--r--ansible/roles/heat/templates/heat.conf.j22
-rw-r--r--ansible/roles/magnum/templates/magnum.conf.j22
-rw-r--r--ansible/roles/mistral/templates/mistral.conf.j22
-rw-r--r--ansible/roles/murano/templates/murano.conf.j22
-rw-r--r--ansible/roles/neutron/templates/neutron.conf.j22
-rw-r--r--ansible/roles/nova/templates/nova.conf.j22
9 files changed, 10 insertions, 8 deletions
diff --git a/ansible/roles/cinder/templates/cinder.conf.j2 b/ansible/roles/cinder/templates/cinder.conf.j2
index 95d6aa2ac..107e19010 100644
--- a/ansible/roles/cinder/templates/cinder.conf.j2
+++ b/ansible/roles/cinder/templates/cinder.conf.j2
@@ -1,5 +1,5 @@
[DEFAULT]
-debug = true
+debug = {{ cinder_logging_debug }}
use_syslog = True
syslog_log_facility = LOG_LOCAL0
diff --git a/ansible/roles/glance/templates/glance-api.conf.j2 b/ansible/roles/glance/templates/glance-api.conf.j2
index 7dcff9150..afec01b1a 100644
--- a/ansible/roles/glance/templates/glance-api.conf.j2
+++ b/ansible/roles/glance/templates/glance-api.conf.j2
@@ -1,5 +1,5 @@
[DEFAULT]
-debug = true
+debug = {{ glance_logging_debug }}
bind_host = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}
bind_port = {{ glance_api_port }}
diff --git a/ansible/roles/glance/templates/glance-registry.conf.j2 b/ansible/roles/glance/templates/glance-registry.conf.j2
index a49e945aa..e3e0d05aa 100644
--- a/ansible/roles/glance/templates/glance-registry.conf.j2
+++ b/ansible/roles/glance/templates/glance-registry.conf.j2
@@ -1,5 +1,5 @@
[DEFAULT]
-debug = true
+debug = {{ glance_logging_debug }}
bind_host = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}
bind_port = {{ glance_registry_port }}
diff --git a/ansible/roles/heat/templates/heat.conf.j2 b/ansible/roles/heat/templates/heat.conf.j2
index 27e0162ea..c2faa835f 100644
--- a/ansible/roles/heat/templates/heat.conf.j2
+++ b/ansible/roles/heat/templates/heat.conf.j2
@@ -1,4 +1,6 @@
[DEFAULT]
+debug = {{ heat_logging_debug }}
+
heat_watch_server_url = http://{{ kolla_external_address }}:{{ heat_api_cfn_port }}
heat_metadata_server_url = http://{{ kolla_external_address }}:{{ heat_api_cfn_port }}
heat_waitcondition_server_url = http://{{ kolla_external_address }}:{{ heat_api_cfn_port }}/v1/waitcondition
diff --git a/ansible/roles/magnum/templates/magnum.conf.j2 b/ansible/roles/magnum/templates/magnum.conf.j2
index b673887c5..44f9c07ad 100644
--- a/ansible/roles/magnum/templates/magnum.conf.j2
+++ b/ansible/roles/magnum/templates/magnum.conf.j2
@@ -1,5 +1,5 @@
[DEFAULT]
-debug = {{ openstack_logging_debug }}
+debug = {{ magnum_logging_debug }}
use_syslog = true
syslog_log_facility = LOG_LOCAL0
diff --git a/ansible/roles/mistral/templates/mistral.conf.j2 b/ansible/roles/mistral/templates/mistral.conf.j2
index 8ea16abe1..24781f7ff 100644
--- a/ansible/roles/mistral/templates/mistral.conf.j2
+++ b/ansible/roles/mistral/templates/mistral.conf.j2
@@ -1,5 +1,5 @@
[DEFAULT]
-debug = {{ openstack_logging_debug }}
+debug = {{ mistral_logging_debug }}
use_syslog = True
diff --git a/ansible/roles/murano/templates/murano.conf.j2 b/ansible/roles/murano/templates/murano.conf.j2
index 3843ecad8..6af9b4751 100644
--- a/ansible/roles/murano/templates/murano.conf.j2
+++ b/ansible/roles/murano/templates/murano.conf.j2
@@ -1,5 +1,5 @@
[DEFAULT]
-debug = {{ openstack_logging_debug }}
+debug = {{ murano_logging_debug }}
use_syslog = True
diff --git a/ansible/roles/neutron/templates/neutron.conf.j2 b/ansible/roles/neutron/templates/neutron.conf.j2
index fb2fdb1b5..31600efb1 100644
--- a/ansible/roles/neutron/templates/neutron.conf.j2
+++ b/ansible/roles/neutron/templates/neutron.conf.j2
@@ -1,6 +1,6 @@
# neutron.conf
[DEFAULT]
-debug = true
+debug = {{ neutron_logging_debug }}
use_syslog = True
syslog_log_facility = LOG_LOCAL0
diff --git a/ansible/roles/nova/templates/nova.conf.j2 b/ansible/roles/nova/templates/nova.conf.j2
index 5d7a02197..a0a21b4ac 100644
--- a/ansible/roles/nova/templates/nova.conf.j2
+++ b/ansible/roles/nova/templates/nova.conf.j2
@@ -1,6 +1,6 @@
# nova.conf
[DEFAULT]
-debug = true
+debug = {{ nova_logging_debug }}
syslog_log_facility=LOG_LOCAL0
use_syslog=yes