aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIce Yao <yao3690093@gmail.com>2016-01-20 15:44:27 +0800
committerIce Yao <yao3690093@gmail.com>2016-01-20 15:44:27 +0800
commit83df0f86120cae36d2a48f23793a45f3f23faa7b (patch)
treeba25d5b029777586ee2b8e123441c53a356f981e
parent7609cc242899d6bc0151f2e19392a9fa3555e29c (diff)
downloadkolla-83df0f86120cae36d2a48f23793a45f3f23faa7b.tar.gz
kolla-83df0f86120cae36d2a48f23793a45f3f23faa7b.zip
Add debug option in config file
Config file use *_logging_debug as debug default value Change-Id: I41102fff9056a82f7307694252adff0aedcf2658
-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