From 0f892a874fa265bc14f32c33814ba638aed41f4e Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Wed, 1 Apr 2015 10:24:16 +0000 Subject: 11 patch comments --- openstack/usr/share/openstack/glance/glance-api.conf | 11 +++++------ openstack/usr/share/openstack/glance/glance-cache.conf | 6 +++--- openstack/usr/share/openstack/glance/glance-registry.conf | 6 +++--- openstack/usr/share/openstack/glance/glance-scrubber.conf | 6 +++--- 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 -- cgit v1.2.1