1 # Copyright 2016 RIFT.IO Inc
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
20 # Whether to allow users to specify image properties beyond what the
21 # image schema provides (boolean value)
22 #allow_additional_image_properties = true
24 # Maximum number of image members per image. Negative values evaluate
25 # to unlimited. (integer value)
26 #image_member_quota = 128
28 # Maximum number of properties allowed on an image. Negative values
29 # evaluate to unlimited. (integer value)
30 #image_property_quota = 128
32 # Maximum number of tags allowed on an image. Negative values evaluate
33 # to unlimited. (integer value)
34 #image_tag_quota = 128
36 # Maximum number of locations allowed on an image. Negative values
37 # evaluate to unlimited. (integer value)
38 #image_location_quota = 10
40 # Python module path of data access API (string value)
41 #data_api = glance.db.sqlalchemy.api
43 # Default value for the number of items returned by a request if not
44 # specified explicitly in the request (integer value)
45 #limit_param_default = 25
47 # Maximum permissible number of items that could be returned by a
48 # request (integer value)
51 # Whether to include the backend image storage location in image
52 # properties. Revealing storage location can be a security risk, so
53 # use this setting with caution! (boolean value)
54 #show_image_direct_url = false
56 # Whether to include the backend image locations in image properties.
57 # For example, if using the file system store a URL of
58 # "file:///path/to/image" will be returned to the user in the
59 # 'direct_url' meta-data field. Revealing storage location can be a
60 # security risk, so use this setting with caution! Setting this to
61 # true overrides the show_image_direct_url option. (boolean value)
62 #show_multiple_locations = false
64 # Maximum size of image a user can upload in bytes. Defaults to
65 # 1099511627776 bytes (1 TB).WARNING: this value should only be
66 # increased after careful consideration and must be set to a value
67 # under 8 EB (9223372036854775808). (integer value)
68 # Maximum value: 9223372036854775808
69 #image_size_cap = 1099511627776
71 # Set a system wide quota for every user. This value is the total
72 # capacity that a user can use across all storage systems. A value of
73 # 0 means unlimited.Optional unit can be specified for the value.
74 # Accepted units are B, KB, MB, GB and TB representing Bytes,
75 # KiloBytes, MegaBytes, GigaBytes and TeraBytes respectively. If no
76 # unit is specified then Bytes is assumed. Note that there should not
77 # be any space between value and unit and units are case sensitive.
79 #user_storage_quota = 0
81 # Deploy the v1 OpenStack Images API. (boolean value)
84 # Deploy the v2 OpenStack Images API. (boolean value)
87 # Deploy the v1 OpenStack Registry API. (boolean value)
88 #enable_v1_registry = true
90 # Deploy the v2 OpenStack Registry API. (boolean value)
91 #enable_v2_registry = true
93 # The hostname/IP of the pydev process listening for debug connections
95 #pydev_worker_debug_host = <None>
97 # The port on which a pydev process is listening for connections.
100 # Maximum value: 65535
101 #pydev_worker_debug_port = 5678
103 # AES key for encrypting store 'location' metadata. This includes, if
104 # used, Swift or S3 credentials. Should be set to a random string of
105 # length 16, 24 or 32 bytes (string value)
106 #metadata_encryption_key = <None>
108 # Digest algorithm which will be used for digital signature. Use the
109 # command "openssl list-message-digest-algorithms" to get the
110 # available algorithms supported by the version of OpenSSL on the
111 # platform. Examples are "sha1", "sha256", "sha512", etc. (string
113 #digest_algorithm = sha256
115 # The path to the sqlite file database that will be used for image
116 # cache management. (string value)
117 #image_cache_sqlite_db = cache.db
119 # The driver to use for image cache management. (string value)
120 #image_cache_driver = sqlite
122 # The upper limit (the maximum size of accumulated cache in bytes)
123 # beyond which the cache pruner, if running, starts cleaning the image
124 # cache. (integer value)
125 #image_cache_max_size = 10737418240
127 # The amount of time to let an incomplete image remain in the cache,
128 # before the cache cleaner, if running, will remove the incomplete
129 # image. (integer value)
130 #image_cache_stall_time = 86400
132 # Base directory that the image cache uses. (string value)
133 image_cache_dir = {RIFT_VAR_ROOT}/glance/image-cache/
135 # Address to find the registry server. (string value)
136 registry_host = 127.0.0.1
138 # Port the registry server is listening on. (port value)
140 # Maximum value: 65535
143 # Whether to pass through the user token when making requests to the
144 # registry. To prevent failures with token expiration during big files
145 # upload, it is recommended to set this parameter to False.If
146 # "use_user_token" is not in effect, then admin credentials can be
147 # specified. (boolean value)
148 # This option is deprecated for removal.
149 # Its value may be silently ignored in the future.
150 # Reason: This option was considered harmful and has been deprecated
151 # in M release. It will be removed in O release. For more information
152 # read OSSN-0060. Related functionality with uploading big images has
153 # been implemented with Keystone trusts support.
154 #use_user_token = true
156 # The administrators user name. If "use_user_token" is not in effect,
157 # then admin credentials can be specified. (string value)
158 # This option is deprecated for removal.
159 # Its value may be silently ignored in the future.
160 # Reason: This option was considered harmful and has been deprecated
161 # in M release. It will be removed in O release. For more information
162 # read OSSN-0060. Related functionality with uploading big images has
163 # been implemented with Keystone trusts support.
166 # The administrators password. If "use_user_token" is not in effect,
167 # then admin credentials can be specified. (string value)
168 # This option is deprecated for removal.
169 # Its value may be silently ignored in the future.
170 # Reason: This option was considered harmful and has been deprecated
171 # in M release. It will be removed in O release. For more information
172 # read OSSN-0060. Related functionality with uploading big images has
173 # been implemented with Keystone trusts support.
174 #admin_password = <None>
176 # The tenant name of the administrative user. If "use_user_token" is
177 # not in effect, then admin tenant name can be specified. (string
179 # This option is deprecated for removal.
180 # Its value may be silently ignored in the future.
181 # Reason: This option was considered harmful and has been deprecated
182 # in M release. It will be removed in O release. For more information
183 # read OSSN-0060. Related functionality with uploading big images has
184 # been implemented with Keystone trusts support.
185 #admin_tenant_name = <None>
187 # The URL to the keystone service. If "use_user_token" is not in
188 # effect and using keystone auth, then URL of keystone can be
189 # specified. (string value)
190 # This option is deprecated for removal.
191 # Its value may be silently ignored in the future.
192 # Reason: This option was considered harmful and has been deprecated
193 # in M release. It will be removed in O release. For more information
194 # read OSSN-0060. Related functionality with uploading big images has
195 # been implemented with Keystone trusts support.
198 # The strategy to use for authentication. If "use_user_token" is not
199 # in effect, then auth strategy can be specified. (string value)
200 # This option is deprecated for removal.
201 # Its value may be silently ignored in the future.
202 # Reason: This option was considered harmful and has been deprecated
203 # in M release. It will be removed in O release. For more information
204 # read OSSN-0060. Related functionality with uploading big images has
205 # been implemented with Keystone trusts support.
206 #auth_strategy = noauth
208 # The region for the authentication service. If "use_user_token" is
209 # not in effect and using keystone auth, then region name can be
210 # specified. (string value)
211 # This option is deprecated for removal.
212 # Its value may be silently ignored in the future.
213 # Reason: This option was considered harmful and has been deprecated
214 # in M release. It will be removed in O release. For more information
215 # read OSSN-0060. Related functionality with uploading big images has
216 # been implemented with Keystone trusts support.
217 #auth_region = <None>
223 # If set to true, the logging level will be set to DEBUG instead of
224 # the default INFO level. (boolean value)
227 # If set to false, the logging level will be set to WARNING instead of
228 # the default INFO level. (boolean value)
229 # This option is deprecated for removal.
230 # Its value may be silently ignored in the future.
233 # The name of a logging configuration file. This file is appended to
234 # any existing logging configuration files. For details about logging
235 # configuration files, see the Python logging module documentation.
236 # Note that when logging configuration files are used then all logging
237 # configuration is set in the configuration file and other logging
238 # configuration options are ignored (for example,
239 # logging_context_format_string). (string value)
240 # Deprecated group/name - [DEFAULT]/log_config
241 #log_config_append = <None>
243 # Defines the format string for %%(asctime)s in log records. Default:
244 # %(default)s . This option is ignored if log_config_append is set.
246 #log_date_format = %Y-%m-%d %H:%M:%S
248 # (Optional) Name of log file to send logging output to. If no default
249 # is set, logging will go to stderr as defined by use_stderr. This
250 # option is ignored if log_config_append is set. (string value)
251 # Deprecated group/name - [DEFAULT]/logfile
252 log_file = {RIFT_VAR_ROOT}/log/glance/image-cache.log
254 # (Optional) The base directory used for relative log_file paths.
255 # This option is ignored if log_config_append is set. (string value)
256 # Deprecated group/name - [DEFAULT]/logdir
259 # Uses logging handler designed to watch file system. When log file is
260 # moved or removed this handler will open a new log file with
261 # specified path instantaneously. It makes sense only if log_file
262 # option is specified and Linux platform is used. This option is
263 # ignored if log_config_append is set. (boolean value)
264 #watch_log_file = false
266 # Use syslog for logging. Existing syslog format is DEPRECATED and
267 # will be changed later to honor RFC5424. This option is ignored if
268 # log_config_append is set. (boolean value)
271 # Syslog facility to receive log lines. This option is ignored if
272 # log_config_append is set. (string value)
273 #syslog_log_facility = LOG_USER
275 # Log output to standard error. This option is ignored if
276 # log_config_append is set. (boolean value)
279 # Format string to use for log messages with context. (string value)
280 #logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
282 # Format string to use for log messages when context is undefined.
284 #logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
286 # Additional data to append to log message when logging level for the
287 # message is DEBUG. (string value)
288 #logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d
290 # Prefix each line of exception output with this format. (string
292 #logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s
294 # Defines the format string for %(user_identity)s that is used in
295 # logging_context_format_string. (string value)
296 #logging_user_identity_format = %(user)s %(tenant)s %(domain)s %(user_domain)s %(project_domain)s
298 # List of package logging levels in logger=LEVEL pairs. This option is
299 # ignored if log_config_append is set. (list value)
300 #default_log_levels = amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=INFO,oslo.messaging=INFO,iso8601=WARN,requests.packages.urllib3.connectionpool=WARN,urllib3.connectionpool=WARN,websocket=WARN,requests.packages.urllib3.util.retry=WARN,urllib3.util.retry=WARN,keystonemiddleware=WARN,routes.middleware=WARN,stevedore=WARN,taskflow=WARN,keystoneauth=WARN,oslo.cache=INFO,dogpile.core.dogpile=INFO
302 # Enables or disables publication of error events. (boolean value)
303 #publish_errors = false
305 # The format for an instance that is passed with the log message.
307 #instance_format = "[instance: %(uuid)s] "
309 # The format for an instance UUID that is passed with the log message.
311 #instance_uuid_format = "[instance: %(uuid)s] "
313 # Enables or disables fatal status of deprecations. (boolean value)
314 #fatal_deprecations = false
323 # The JSON file that defines policies. (string value)
324 # Deprecated group/name - [DEFAULT]/policy_file
325 #policy_file = policy.json
327 # Default rule. Enforced when a requested rule is not found. (string
329 # Deprecated group/name - [DEFAULT]/policy_default_rule
330 #policy_default_rule = default
332 # Directories where policy configuration files are stored. They can be
333 # relative to any directory in the search path defined by the
334 # config_dir option, or absolute paths. The file defined by
335 # policy_file must exist for these directories to be searched.
336 # Missing or empty directories are ignored. (multi valued)
337 # Deprecated group/name - [DEFAULT]/policy_dirs
338 #policy_dirs = policy.d