summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-glance/glance-registry.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-glance/glance-registry.conf')
-rw-r--r--meta-openstack/recipes-devtools/python/python-glance/glance-registry.conf90
1 files changed, 90 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-glance/glance-registry.conf b/meta-openstack/recipes-devtools/python/python-glance/glance-registry.conf
new file mode 100644
index 0000000..d7d8fd0
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-glance/glance-registry.conf
@@ -0,0 +1,90 @@
1[DEFAULT]
2# Show more verbose log output (sets INFO log level output)
3#verbose = False
4
5# Show debugging output in logs (sets DEBUG log level output)
6#debug = False
7
8# Address to bind the registry server
9bind_host = 0.0.0.0
10
11# Port the bind the registry server to
12bind_port = 9191
13
14# Log to this file. Make sure you do not set the same log
15# file for both the API and registry servers!
16#log_file = /var/log/glance/registry.log
17
18# Backlog requests when creating socket
19backlog = 4096
20
21# TCP_KEEPIDLE value in seconds when creating socket.
22# Not supported on OS X.
23#tcp_keepidle = 600
24
25# SQLAlchemy connection string for the reference implementation
26# registry server. Any valid SQLAlchemy connection string is fine.
27# See: http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/connections.html#sqlalchemy.create_engine
28sql_connection = sqlite:////etc/glance/glance.db
29
30# Period in seconds after which SQLAlchemy should reestablish its connection
31# to the database.
32#
33# MySQL uses a default `wait_timeout` of 8 hours, after which it will drop
34# idle connections. This can result in 'MySQL Gone Away' exceptions. If you
35# notice this, you can lower this value to ensure that SQLAlchemy reconnects
36# before MySQL can drop the connection.
37sql_idle_timeout = 3600
38
39# Limit the api to return `param_limit_max` items in a call to a container. If
40# a larger `limit` query param is provided, it will be reduced to this value.
41api_limit_max = 1000
42
43# If a `limit` query param is not provided in an api request, it will
44# default to `limit_param_default`
45limit_param_default = 25
46
47# Role used to identify an authenticated user as administrator
48#admin_role = admin
49
50# Whether to automatically create the database tables.
51# Default: False
52#db_auto_create = False
53
54# ================= Syslog Options ============================
55
56# Send logs to syslog (/dev/log) instead of to file specified
57# by `log_file`
58#use_syslog = False
59
60# Facility to use. If unset defaults to LOG_USER.
61#syslog_log_facility = LOG_LOCAL1
62
63# ================= SSL Options ===============================
64
65# Certificate file to use when starting registry server securely
66#cert_file = /path/to/certfile
67
68# Private key file to use when starting registry server securely
69#key_file = /path/to/keyfile
70
71# CA certificate file to use to verify connecting clients
72#ca_file = /path/to/cafile
73
74[keystone_authtoken]
75auth_host = 127.0.0.1
76auth_port = 35357
77auth_protocol = http
78admin_tenant_name = %SERVICE_TENANT_NAME%
79admin_user = %SERVICE_USER%
80admin_password = %SERVICE_PASSWORD%
81
82[paste_deploy]
83# Name of the paste configuration file that defines the available pipelines
84#config_file = glance-registry-paste.ini
85
86# Partial name of a pipeline in your paste configuration file with the
87# service name removed. For example, if your paste section name is
88# [pipeline:glance-registry-keystone], you would configure the flavor below
89# as 'keystone'.
90#flavor=