summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-04-01 10:24:16 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-04-08 18:29:28 +0100
commit9ff4a37754a8f85c65b2b8eb0ed978ae898302b5 (patch)
tree157e4beb56520b95c7691a355baf682131e081e9
parentbd140200ef80ffa90c37329dfde4a72d0839078a (diff)
downloaddefinitions-9ff4a37754a8f85c65b2b8eb0ed978ae898302b5.tar.gz
11 patch comments
-rw-r--r--openstack/usr/share/openstack/glance/glance-api.conf11
-rw-r--r--openstack/usr/share/openstack/glance/glance-cache.conf6
-rw-r--r--openstack/usr/share/openstack/glance/glance-registry.conf6
-rw-r--r--openstack/usr/share/openstack/glance/glance-scrubber.conf6
4 files changed, 14 insertions, 15 deletions
diff --git a/openstack/usr/share/openstack/glance/glance-api.conf b/openstack/usr/share/openstack/glance/glance-api.conf
index 038ab877..57ff5839 100644
--- a/openstack/usr/share/openstack/glance/glance-api.conf
+++ b/openstack/usr/share/openstack/glance/glance-api.conf
@@ -32,7 +32,7 @@ default_store = file
#image_size_cap = 1099511627776
# Address to bind the API server
-bind_host = 0.0.0.0
+bind_host = {{ MANAGEMENT_INTERFACE_IP_ADDRESS }}
# Port the bind the API server to
bind_port = 9292
@@ -42,7 +42,7 @@ bind_port = 9292
#
# If `log_file` is omitted and `use_syslog` is false, then log messages are
# sent to stdout as a fallback.
-log_file = /var/log/glance/api.log
+# log_file = /var/log/glance/api.log
# Backlog requests when creating socket
backlog = 4096
@@ -134,7 +134,7 @@ workers = 1
# Send logs to syslog (/dev/log) instead of to file specified
# by `log_file`
-#use_syslog = False
+use_syslog = True
# Facility to use. If unset defaults to LOG_USER.
#syslog_log_facility = LOG_LOCAL0
@@ -160,7 +160,7 @@ workers = 1
# ============ Registry Options ===============================
# Address to find the registry server
-registry_host = 0.0.0.0
+registry_host = {{ MANAGEMENT_INTERFACE_IP_ADDRESS }}
# Port the registry server is listening on
registry_port = 9191
@@ -236,8 +236,7 @@ registry_client_protocol = http
# Messaging driver used for 'messaging' notifications driver
rpc_backend=rabbit
-# Configuration options if sending notifications via rabbitmq (these are
-# the defaults)
+# Configuration options if sending notifications via rabbitmq
rabbit_host = {{ RABBITMQ_HOST }}
rabbit_port = {{ RABBITMQ_PORT }}
rabbit_use_ssl = false
diff --git a/openstack/usr/share/openstack/glance/glance-cache.conf b/openstack/usr/share/openstack/glance/glance-cache.conf
index a4453353..02d2238c 100644
--- a/openstack/usr/share/openstack/glance/glance-cache.conf
+++ b/openstack/usr/share/openstack/glance/glance-cache.conf
@@ -10,10 +10,10 @@
#
# If `log_file` is omitted and `use_syslog` is false, then log messages are
# sent to stdout as a fallback.
-log_file = /var/log/glance/image-cache.log
+# log_file = /var/log/glance/image-cache.log
# Send logs to syslog (/dev/log) instead of to file specified by `log_file`
-#use_syslog = False
+use_syslog = True
# Directory that the Image Cache writes data to
image_cache_dir = /var/lib/glance/image-cache/
@@ -26,7 +26,7 @@ image_cache_stall_time = 86400
image_cache_max_size = 10737418240
# Address to find the registry server
-registry_host = 0.0.0.0
+registry_host = {{ MANAGEMENT_INTERFACE_IP_ADDRESS }}
# Port the registry server is listening on
registry_port = 9191
diff --git a/openstack/usr/share/openstack/glance/glance-registry.conf b/openstack/usr/share/openstack/glance/glance-registry.conf
index a759385d..d85f3044 100644
--- a/openstack/usr/share/openstack/glance/glance-registry.conf
+++ b/openstack/usr/share/openstack/glance/glance-registry.conf
@@ -6,7 +6,7 @@
#debug = False
# Address to bind the registry server
-bind_host = 0.0.0.0
+bind_host = {{ MANAGEMENT_INTERFACE_IP_ADDRESS }}
# Port the bind the registry server to
bind_port = 9191
@@ -16,7 +16,7 @@ bind_port = 9191
#
# If `log_file` is omitted and `use_syslog` is false, then log messages are
# sent to stdout as a fallback.
-log_file = /var/log/glance/registry.log
+# log_file = /var/log/glance/registry.log
# Backlog requests when creating socket
backlog = 4096
@@ -64,7 +64,7 @@ limit_param_default = 25
# Send logs to syslog (/dev/log) instead of to file specified
# by `log_file`
-#use_syslog = False
+use_syslog = True
# Facility to use. If unset defaults to LOG_USER.
#syslog_log_facility = LOG_LOCAL1
diff --git a/openstack/usr/share/openstack/glance/glance-scrubber.conf b/openstack/usr/share/openstack/glance/glance-scrubber.conf
index 5c5e8d4c..f181a964 100644
--- a/openstack/usr/share/openstack/glance/glance-scrubber.conf
+++ b/openstack/usr/share/openstack/glance/glance-scrubber.conf
@@ -10,10 +10,10 @@
#
# If `log_file` is omitted and `use_syslog` is false, then log messages are
# sent to stdout as a fallback.
-log_file = /var/log/glance/scrubber.log
+# log_file = /var/log/glance/scrubber.log
# Send logs to syslog (/dev/log) instead of to file specified by `log_file`
-#use_syslog = False
+use_syslog = True
# Should we run our own loop or rely on cron/scheduler to run us
daemon = False
@@ -32,7 +32,7 @@ cleanup_scrubber = False
cleanup_scrubber_time = 86400
# Address to find the registry server for cleanups
-registry_host = 0.0.0.0
+registry_host = {{ MANAGEMENT_INTERFACE_IP_ADDRESS }}
# Port the registry server is listening on
registry_port = 9191