update from RIFT as of 696b75d2fe9fb046261b08c616f1bcf6c0b54a9b second try
[osm/SO.git] / rwlaunchpad / plugins / rwimagemgr / etc / fc20 / glance-registry.conf
1 [DEFAULT]
2 # Show more verbose log output (sets INFO log level output)
3 verbose=True
4
5 # Show debugging output in logs (sets DEBUG log level output)
6 debug=True
7
8 # Address to bind the registry server
9 bind_host = 127.0.0.1
10
11 # Port the bind the registry server to
12 bind_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={RIFT_VAR_ROOT}/log/glance/glance-registry.log
17
18 # Backlog requests when creating socket
19 backlog = 4096
20
21 # TCP_KEEPIDLE value in seconds when creating socket.
22 # Not supported on OS X.
23 #tcp_keepidle = 600
24
25 # API to use for accessing data. Default value points to sqlalchemy
26 # package.
27 data_api = glance.db.sqlalchemy.api
28
29 # SQLAlchemy connection string for the reference implementation
30 # registry server. Any valid SQLAlchemy connection string is fine.
31 # See: http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/connections.html#sqlalchemy.create_engine
32 #sql_connection=mysql://glance:glance@localhost/glance
33 sql_connection=sqlite:///{RIFT_VAR_ROOT}/glance/glance-registry.db
34
35 # Period in seconds after which SQLAlchemy should reestablish its connection
36 # to the database.
37 #
38 # MySQL uses a default `wait_timeout` of 8 hours, after which it will drop
39 # idle connections. This can result in 'MySQL Gone Away' exceptions. If you
40 # notice this, you can lower this value to ensure that SQLAlchemy reconnects
41 # before MySQL can drop the connection.
42 sql_idle_timeout = 3600
43
44 # Limit the api to return `param_limit_max` items in a call to a container. If
45 # a larger `limit` query param is provided, it will be reduced to this value.
46 api_limit_max = 1000
47
48 # If a `limit` query param is not provided in an api request, it will
49 # default to `limit_param_default`
50 limit_param_default = 25
51
52 # Role used to identify an authenticated user as administrator
53 #admin_role = admin
54
55 # Whether to automatically create the database tables.
56 # Default: False
57 db_auto_create = True
58
59 # Enable DEBUG log messages from sqlalchemy which prints every database
60 # query and response.
61 # Default: False
62 sqlalchemy_debug = True
63
64 # ================= Syslog Options ============================
65
66 # Send logs to syslog (/dev/log) instead of to file specified
67 # by `log_file`
68 #use_syslog = False
69
70 # Facility to use. If unset defaults to LOG_USER.
71 #syslog_log_facility = LOG_LOCAL1
72
73 # ================= SSL Options ===============================
74
75 # Certificate file to use when starting registry server securely
76 #cert_file = /path/to/certfile
77
78 # Private key file to use when starting registry server securely
79 #key_file = /path/to/keyfile
80
81 # CA certificate file to use to verify connecting clients
82 #ca_file = /path/to/cafile
83
84 [keystone_authtoken]
85 #auth_host=127.0.0.1
86 #auth_port=35357
87 #auth_protocol=http
88 #admin_tenant_name=%SERVICE_TENANT_NAME%
89 #admin_user=%SERVICE_USER%
90 #admin_password=%SERVICE_PASSWORD%
91
92 [paste_deploy]
93 # Name of the paste configuration file that defines the available pipelines
94 config_file=/usr/share/glance/glance-registry-dist-paste.ini
95
96 # Partial name of a pipeline in your paste configuration file with the
97 # service name removed. For example, if your paste section name is
98 # [pipeline:glance-registry-keystone], you would configure the flavor below
99 # as 'keystone'.
100 flavor=