Page MenuHomePhabricator

cloud vps: disable system-wide apt pinning for OpenStack jessie hosts
Closed, ResolvedPublic

Description

As discussed on IRC: A few WMCS hosts now enable jessie-backports in general and prefer it in pinning over jessie. As jessie-backports will stop being updated in 10 days (when jessie becomes LTS), this will cause problems as packages are being installed from backports which will not receive security updates (while jessie-lts will get them). This is also problematic as it means that some jessie systems will use different versions of low level packages and might behave different than the rest. We should limit the apt pinning to the OpenStack packages and their dependencies.

Event Timeline

• aborrero renamed this task from Disable system-wide apt pinning for OpenStack jessie hosts to cloud vps: disable system-wide apt pinning for OpenStack jessie hosts.Jun 11 2018, 12:36 PM

This is our usecase, for example with keystone (T196633).

We need the equivalent of apt-get install -t jessie-backports keystone. This is because this package and all his depends (openstack mitaka) are in jessie-backports and not in jessie (this last contains another version we are not interested in).

If we just add an apt version pinning for the keystone package, it doesn't work with puppet, example:

/etc/apt/preferences.d/keystone.pref
Package: keystone
Pin: version 2:9.0.0-2~bpo8+1
Pin-Priority: 1002
cache policy
aborrero@labcontrol1003:~$ sudo apt-cache policy keystone
keystone:
  Installed: (none)
  Candidate: 2:9.0.0-2~bpo8+1
  Package pin: 2:9.0.0-2~bpo8+1
  Version table:
     2:9.0.0-2~bpo8+1 1002
        100 http://mirrors.wikimedia.org/debian/ jessie-backports/main amd64 Packages
     2014.1.3-6 1002
        500 http://mirrors.wikimedia.org/debian/ jessie/main amd64 Packages

Then, trying to install (just as puppet would do it):

apt install
aborrero@labcontrol1003:~ $ sudo apt-get install keystone
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 keystone : Depends: python-keystone (= 2:9.0.0-2~bpo8+1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

This happens because the jessie-backports repo has a lower prio (100) than the jessie repo (500). And this doesn't work even if we pin the depends as well:

script.sh to generate pinning for all depends of keystone
#!/bin/bash

for i in $(apt-rdepends keystone  2> /dev/null | grep -v ^[[:space:]] )
do
        if apt-cache policy $i | grep jessie-backports >/dev/null ; then
                version=$(apt-cache policy $i | grep bpo | grep ^[[:space:]]*[0-9] | awk -F' ' '{print $1}')
                echo -e "Package: $i\nPin: version $version\nPin-Priority: 1002\n"
        fi
done
apt install again with more pinnings
aborrero@labcontrol1003:~ 19s $ sudo apt-cache policy python-keystone
python-keystone:
  Installed: (none)
  Candidate: 2:9.0.0-2~bpo8+1
  Package pin: 2:9.0.0-2~bpo8+1
  Version table:
     2:9.0.0-2~bpo8+1 1002
        100 http://mirrors.wikimedia.org/debian/ jessie-backports/main amd64 Packages
     2014.1.3-6 1002
        500 http://mirrors.wikimedia.org/debian/ jessie/main amd64 Packages

aborrero@labcontrol1003:~ $ sudo apt-get install keystone
[...]
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 keystone : Depends: python-keystone (= 2:9.0.0-2~bpo8+1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Change 439589 had a related patch set uploaded (by Arturo Borrero Gonzalez; owner: Arturo Borrero Gonzalez):
[operations/puppet@production] openstack: keystone: use install_options to install from jessie-backports

https://gerrit.wikimedia.org/r/439589

@aborrero doesn't pinning work if we pin the keystone package and all dependencies? Like in openstack::jessie_mitaka_client_pinning ?

@aborrero doesn't pinning work if we pin the keystone package and all dependencies? Like in openstack::jessie_mitaka_client_pinning ?

It seems like it doesn't work. That's why I'm cooking the install_options = '-t jessie-backports' patch

So, @Andrew questions had me wondering what was happening here. So I investigated a bit further, specially because jessie_mitaka_client_pinning is indeed working.

Here is my explanation:

  • the jessie_mitaka_client_pinning dependency trees/chains have nothing to do with the keystone package . The latter is much more complex :-(
  • the generated apt pinning file (script above) is not complete because apt-rdepends was run with both jessie and jessie-backports repos enabled. The keystone dependency tree is differrent depending o how you configure the system because of unversioned dependencies and other details.
  • there are some python packages already installed in the system by the time we try to install keystone via puppet. Even with the right pinning files, it seems the apt-get install keystone call is not powerful enough to upgrade existing installed packages to the backports versions, or we don't have an explicit enough pinning.

So before trying merging the `install_options' patch, I will try to investigate if I can generate a better apt pinning file.

@aborrero, thanks for investigating. I'm sure that that the existing client_pinning file isn't complete, and that making it complete for use on all our servers will be very messy :/

I tried generating an apt pinning file containing the dependencies of keystone which are present in jessie-backports with no luck (script P7247)

aborrero@labcontrol1003:~$ sudo apt-get install keystone
[...]
The following packages have unmet dependencies:
 keystone : Depends: python-keystone (= 2:9.0.0-2~bpo8+1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

aborrero@labcontrol1003:~$ sudo apt-get install python-keystone
[...]
The following packages have unmet dependencies:
 python-keystone : Depends: python-cryptography (>= 1.0) but 0.6.1-1+deb8u1 is to be installed
E: Unable to correct problems, you have held broken packages.

aborrero@labcontrol1003:~$ sudo apt-cache policy python-cryptography
python-cryptography:
  Installed: 0.6.1-1+deb8u1
  Candidate: 1.7.1-3~bpo8+1
  Package pin: 1.7.1-3~bpo8+1
  Version table:
     1.7.1-3~bpo8+1 11003
        100 http://mirrors.wikimedia.org/debian/ jessie-backports/main amd64 Packages
 *** 0.6.1-1+deb8u1 11003
        500 http://mirrors.wikimedia.org/debian/ jessie/main amd64 Packages
        100 /var/lib/dpkg/status

aborrero@labcontrol1003:~$ sudo aptitude why python-cryptography
i   python-openssl Depends python-cryptography

aborrero@labcontrol1003:~$ sudo aptitude why python-openssl
i   python-openstackclient Depends    python-requests (>= 2.8.1)
i A python-requests        Depends    python-urllib3 (< 1.19.2) 
i A python-urllib3         Recommends python-openssl

I talked to fellow DDs about this and they confirm the way to go is apt-get install keystone -t jessie-backports.

So, I would follow the approach in this patch: https://gerrit.wikimedia.org/r/#/c/operations/puppet/+/439589/

Change 439589 merged by Arturo Borrero Gonzalez:
[operations/puppet@production] openstack: keystone: use install_options to install from jessie-backports

https://gerrit.wikimedia.org/r/439589

Change 439884 had a related patch set uploaded (by Arturo Borrero Gonzalez; owner: Arturo Borrero Gonzalez):
[operations/puppet@production] openstack: keystone: fix syntax for install_options

https://gerrit.wikimedia.org/r/439884

Change 439884 merged by Arturo Borrero Gonzalez:
[operations/puppet@production] openstack: keystone: fix syntax for install_options

https://gerrit.wikimedia.org/r/439884

Finally, the -t jessie-backports thing went really smooth.

Puppet output:

1aborrero@labcontrol1004:~ $ sudo puppet agent -t -v
2Info: Using configured environment 'production'
3Info: Retrieving pluginfacts
4Info: Retrieving plugin
5Info: Loading facts
6Info: Caching catalog for labcontrol1004.wikimedia.org
7Notice: /Stage[main]/Base::Environment/Tidy[/var/tmp/core]: Tidying 0 files
8Info: Applying configuration version '1528804495'
9Notice: /Stage[main]/Openstack::Keystone::Service/Package[keystone]/ensure: created
10Notice: /Stage[main]/Openstack::Keystone::Service/File[/var/log/keystone]/group: group changed 'keystone' to 'www-data'
11Notice: /Stage[main]/Openstack::Keystone::Service/File[/var/log/keystone]/mode: mode changed '0750' to '0775'
12Notice: /Stage[main]/Openstack::Keystone::Service/File[/etc/logrotate.d/keystone]/content:
13--- /etc/logrotate.d/keystone 2016-05-30 22:44:46.000000000 +0000
14+++ /tmp/puppet-file20180612-33512-p2ko0m 2018-06-12 11:55:18.948055944 +0000
15@@ -1,8 +1,9 @@
16 /var/log/keystone/*.log {
17+ su keystone keystone
18 daily
19 missingok
20 rotate 5
21 compress
22 minsize 100k
23 copytruncate
24-}
25\ No newline at end of file
26+}
27
28Info: Computing checksum on file /etc/logrotate.d/keystone
29Info: FileBucket got a duplicate file {md5}a7c4fc801c6b28e2cdc456792ded4441
30Info: /Stage[main]/Openstack::Keystone::Service/File[/etc/logrotate.d/keystone]: Filebucketed /etc/logrotate.d/keystone to puppet with sum a7c4fc801c6b28e2cdc456792ded4441
31Notice: /Stage[main]/Openstack::Keystone::Service/File[/etc/logrotate.d/keystone]/content: content changed '{md5}a7c4fc801c6b28e2cdc456792ded4441' to '{md5}1dd25373069a04acc05dd7f712572c9d'
32Notice: /Stage[main]/Openstack::Keystone::Service/File[/etc/keystone]/mode: mode changed '0750' to '0755'
33Notice: /Stage[main]/Openstack::Keystone::Service/File[/etc/keystone/keystone.conf]/content:
34--- /etc/keystone/keystone.conf 2018-06-12 11:55:12.039989796 +0000
35+++ /tmp/puppet-file20180612-33512-19s930n 2018-06-12 11:55:19.116057552 +0000
36@@ -1,2091 +1,221 @@
37 [DEFAULT]
38-
39-#
40-# From keystone
41-#
42-
43-# A "shared secret" that can be used to bootstrap Keystone. This "token" does
44-# not represent a user, and carries no explicit authorization. If set to
45-# `None`, the value is ignored and the `admin_token` log in mechanism is
46-# effectively disabled. To completely disable `admin_token` in production
47-# (highly recommended), remove AdminTokenAuthMiddleware from your paste
48-# application pipelines (for example, in keystone-paste.ini). (string value)
49-admin_token = 22a6ab250962691caa5764fe821a0889
50-
51-# The base public endpoint URL for Keystone that is advertised to clients
52-# (NOTE: this does NOT affect how Keystone listens for connections). Defaults
53-# to the base host URL of the request. E.g. a request to
54-# http://server:5000/v3/users will default to http://server:5000. You should
55-# only need to set this value if the base URL contains a path (e.g. /prefix/v3)
56-# or the endpoint should be found on a different server. (string value)
57-#public_endpoint = <None>
58-
59-# The base admin endpoint URL for Keystone that is advertised to clients (NOTE:
60-# this does NOT affect how Keystone listens for connections). Defaults to the
61-# base host URL of the request. E.g. a request to http://server:35357/v3/users
62-# will default to http://server:35357. You should only need to set this value
63-# if the base URL contains a path (e.g. /prefix/v3) or the endpoint should be
64-# found on a different server. (string value)
65-#admin_endpoint = <None>
66-
67-# Maximum depth of the project hierarchy, excluding the project acting as a
68-# domain at the top of the hierarchy. WARNING: setting it to a large value may
69-# adversely impact performance. (integer value)
70-#max_project_tree_depth = 5
71-
72-# Limit the sizes of user & project ID/names. (integer value)
73-#max_param_size = 64
74-
75-# Similar to max_param_size, but provides an exception for token values.
76-# (integer value)
77-#max_token_size = 8192
78-
79-# Similar to the member_role_name option, this represents the default role ID
80-# used to associate users with their default projects in the v2 API. This will
81-# be used as the explicit role where one is not specified by the v2 API.
82-# (string value)
83-#member_role_id = 9fe2ff9ee4384b1894a90878d3e92bab
84-
85-# This is the role name used in combination with the member_role_id option; see
86-# that option for more detail. (string value)
87-#member_role_name = _member_
88-
89-# The value passed as the keyword "rounds" to passlib's encrypt method.
90-# (integer value)
91-# Minimum value: 1000
92-# Maximum value: 100000
93-#crypt_strength = 10000
94-
95-# The maximum number of entities that will be returned in a collection, with no
96-# limit set by default. This global limit may be then overridden for a specific
97-# driver, by specifying a list_limit in the appropriate section (e.g.
98-# [assignment]). (integer value)
99-#list_limit = <None>
100-
101-# Set this to false if you want to enable the ability for user, group and
102-# project entities to be moved between domains by updating their domain_id.
103-# Allowing such movement is not recommended if the scope of a domain admin is
104-# being restricted by use of an appropriate policy file (see
105-# policy.v3cloudsample as an example). This ability is deprecated and will be
106-# removed in a future release. (boolean value)
107-# This option is deprecated for removal.
108-# Its value may be silently ignored in the future.
109-#domain_id_immutable = true
110-
111-# If set to true, strict password length checking is performed for password
112-# manipulation. If a password exceeds the maximum length, the operation will
113-# fail with an HTTP 403 Forbidden error. If set to false, passwords are
114-# automatically truncated to the maximum length. (boolean value)
115-#strict_password_check = false
116-
117-# The HTTP header used to determine the scheme for the original request, even
118-# if it was removed by an SSL terminating proxy. (string value)
119-#secure_proxy_ssl_header = HTTP_X_FORWARDED_PROTO
120-
121-# If set to true the server will return information in the response that may
122-# allow an unauthenticated or authenticated user to get more information than
123-# normal, such as why authentication failed. This may be useful for debugging
124-# but is insecure. (boolean value)
125-#insecure_debug = false
126-
127-#
128-# From keystone.notifications
129-#
130-
131-# Default publisher_id for outgoing notifications (string value)
132-#default_publisher_id = <None>
133-
134-# Define the notification format for Identity Service events. A "basic"
135-# notification has information about the resource being operated on. A "cadf"
136-# notification has the same information, as well as information about the
137-# initiator of the event. (string value)
138-# Allowed values: basic, cadf
139-#notification_format = basic
140-
141-# Define the notification options to opt-out from. The value expected is:
142-# identity.<resource_type>.<operation>. This field can be set multiple times in
143-# order to add more notifications to opt-out from. For example:
144-# notification_opt_out=identity.user.created
145-# notification_opt_out=identity.authenticate.success (multi valued)
146-#notification_opt_out =
147-
148-#
149-# From oslo.log
150-#
151-
152-# If set to true, the logging level will be set to DEBUG instead of the default
153-# INFO level. (boolean value)
154-#debug = false
155-
156-# If set to false, the logging level will be set to WARNING instead of the
157-# default INFO level. (boolean value)
158-# This option is deprecated for removal.
159-# Its value may be silently ignored in the future.
160-#verbose = true
161-
162-# The name of a logging configuration file. This file is appended to any
163-# existing logging configuration files. For details about logging configuration
164-# files, see the Python logging module documentation. Note that when logging
165-# configuration files are used then all logging configuration is set in the
166-# configuration file and other logging configuration options are ignored (for
167-# example, logging_context_format_string). (string value)
168-# Deprecated group/name - [DEFAULT]/log_config
169-#log_config_append = <None>
170-
171-# Defines the format string for %%(asctime)s in log records. Default:
172-# %(default)s . This option is ignored if log_config_append is set. (string
173-# value)
174-#log_date_format = %Y-%m-%d %H:%M:%S
175-
176-# (Optional) Name of log file to send logging output to. If no default is set,
177-# logging will go to stderr as defined by use_stderr. This option is ignored if
178-# log_config_append is set. (string value)
179-# Deprecated group/name - [DEFAULT]/logfile
180+debug = false
181+verbose = false
182+member_role_name = user
183 log_file = keystone.log
184-
185-# (Optional) The base directory used for relative log_file paths. This option
186-# is ignored if log_config_append is set. (string value)
187-# Deprecated group/name - [DEFAULT]/logdir
188 log_dir = /var/log/keystone
189-
190-# Uses logging handler designed to watch file system. When log file is moved or
191-# removed this handler will open a new log file with specified path
192-# instantaneously. It makes sense only if log_file option is specified and
193-# Linux platform is used. This option is ignored if log_config_append is set.
194-# (boolean value)
195-#watch_log_file = false
196-
197-# Use syslog for logging. Existing syslog format is DEPRECATED and will be
198-# changed later to honor RFC5424. This option is ignored if log_config_append
199-# is set. (boolean value)
200-#use_syslog = false
201-
202-# Syslog facility to receive log lines. This option is ignored if
203-# log_config_append is set. (string value)
204-#syslog_log_facility = LOG_USER
205-
206-# Log output to standard error. This option is ignored if log_config_append is
207-# set. (boolean value)
208-#use_stderr = true
209-
210-# Format string to use for log messages with context. (string value)
211-#logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
212-
213-# Format string to use for log messages when context is undefined. (string
214-# value)
215-#logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
216-
217-# Additional data to append to log message when logging level for the message
218-# is DEBUG. (string value)
219-#logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d
220-
221-# Prefix each line of exception output with this format. (string value)
222-#logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s
223-
224-# Defines the format string for %(user_identity)s that is used in
225-# logging_context_format_string. (string value)
226-#logging_user_identity_format = %(user)s %(tenant)s %(domain)s %(user_domain)s %(project_domain)s
227-
228-# List of package logging levels in logger=LEVEL pairs. This option is ignored
229-# if log_config_append is set. (list value)
230-#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
231-
232-# Enables or disables publication of error events. (boolean value)
233-#publish_errors = false
234-
235-# The format for an instance that is passed with the log message. (string
236-# value)
237-#instance_format = "[instance: %(uuid)s] "
238-
239-# The format for an instance UUID that is passed with the log message. (string
240-# value)
241-#instance_uuid_format = "[instance: %(uuid)s] "
242-
243-# Enables or disables fatal status of deprecations. (boolean value)
244-#fatal_deprecations = false
245-
246-#
247-# From oslo.messaging
248-#
249-
250-# Size of RPC connection pool. (integer value)
251-# Deprecated group/name - [DEFAULT]/rpc_conn_pool_size
252-#rpc_conn_pool_size = 30
253-
254-# ZeroMQ bind address. Should be a wildcard (*), an ethernet interface, or IP.
255-# The "host" option should point or resolve to this address. (string value)
256-#rpc_zmq_bind_address = *
257-
258-# MatchMaker driver. (string value)
259-# Allowed values: redis, dummy
260-#rpc_zmq_matchmaker = redis
261-
262-# Type of concurrency used. Either "native" or "eventlet" (string value)
263-#rpc_zmq_concurrency = eventlet
264-
265-# Number of ZeroMQ contexts, defaults to 1. (integer value)
266-#rpc_zmq_contexts = 1
267-
268-# Maximum number of ingress messages to locally buffer per topic. Default is
269-# unlimited. (integer value)
270-#rpc_zmq_topic_backlog = <None>
271-
272-# Directory for holding IPC sockets. (string value)
273-#rpc_zmq_ipc_dir = /var/run/openstack
274-
275-# Name of this node. Must be a valid hostname, FQDN, or IP address. Must match
276-# "host" option, if running Nova. (string value)
277-#rpc_zmq_host = localhost
278-
279-# Seconds to wait before a cast expires (TTL). The default value of -1
280-# specifies an infinite linger period. The value of 0 specifies no linger
281-# period. Pending messages shall be discarded immediately when the socket is
282-# closed. Only supported by impl_zmq. (integer value)
283-#rpc_cast_timeout = -1
284-
285-# The default number of seconds that poll should wait. Poll raises timeout
286-# exception when timeout expired. (integer value)
287-#rpc_poll_timeout = 1
288-
289-# Expiration timeout in seconds of a name service record about existing target
290-# ( < 0 means no timeout). (integer value)
291-#zmq_target_expire = 120
292-
293-# Use PUB/SUB pattern for fanout methods. PUB/SUB always uses proxy. (boolean
294-# value)
295-#use_pub_sub = true
296-
297-# Minimal port number for random ports range. (port value)
298-# Minimum value: 0
299-# Maximum value: 65535
300-#rpc_zmq_min_port = 49152
301-
302-# Maximal port number for random ports range. (integer value)
303-# Minimum value: 1
304-# Maximum value: 65536
305-#rpc_zmq_max_port = 65536
306-
307-# Number of retries to find free port number before fail with ZMQBindError.
308-# (integer value)
309-#rpc_zmq_bind_port_retries = 100
310-
311-# Size of executor thread pool. (integer value)
312-# Deprecated group/name - [DEFAULT]/rpc_thread_pool_size
313-#executor_thread_pool_size = 64
314-
315-# Seconds to wait for a response from a call. (integer value)
316-#rpc_response_timeout = 60
317-
318-# A URL representing the messaging driver to use and its full configuration. If
319-# not set, we fall back to the rpc_backend option and driver specific
320-# configuration. (string value)
321-#transport_url = <None>
322-
323-# The messaging driver to use, defaults to rabbit. Other drivers include amqp
324-# and zmq. (string value)
325-#rpc_backend = rabbit
326-
327-# The default exchange under which topics are scoped. May be overridden by an
328-# exchange name specified in the transport_url option. (string value)
329-#control_exchange = keystone
330-
331-#
332-# From oslo.service.service
333-#
334-
335-# Enable eventlet backdoor. Acceptable values are 0, <port>, and
336-# <start>:<end>, where 0 results in listening on a random tcp port number;
337-# <port> results in listening on the specified port number (and not enabling
338-# backdoor if that port is in use); and <start>:<end> results in listening on
339-# the smallest unused port number within the specified range of port numbers.
340-# The chosen port is displayed in the service's log file. (string value)
341-#backdoor_port = <None>
342-
343-# Enable eventlet backdoor, using the provided path as a unix socket that can
344-# receive connections. This option is mutually exclusive with 'backdoor_port'
345-# in that only one should be provided. If both are provided then the existence
346-# of this option overrides the usage of that option. (string value)
347-#backdoor_socket = <None>
348-
349-# Enables or disables logging values of all registered options when starting a
350-# service (at DEBUG level). (boolean value)
351-#log_options = true
352-
353-# Specify a timeout after which a gracefully shutdown server will exit. Zero
354-# value means endless wait. (integer value)
355-#graceful_shutdown_timeout = 60
356-
357+log_config_append = /etc/keystone/logging.conf
358+# Login info for wikitech, for project page updates
359+wiki_host=wikitech.wikimedia.org
360+wiki_page_prefix=Nova_Resource:
361+wiki_consumer_token=50ed23870d8c1ff8b163d3f0fe6374fe
362+wiki_consumer_secret=4e293197dbceb37b60f9a244437b33083f67711a
363+wiki_access_token=851c8024d5bed94f006330a2672ffb35
364+wiki_access_secret=3e7699d2a5906453e80fd5281d584b68227ee905
365
366 [assignment]
367-
368-#
369-# From keystone
370-#
371-
372-# Entrypoint for the assignment backend driver in the keystone.assignment
373-# namespace. Only an SQL driver is supplied. If an assignment driver is not
374-# specified, the identity driver will choose the assignment driver (driver
375-# selection based on `[identity]/driver` option is deprecated and will be
376-# removed in the "O" release). (string value)
377-#driver = <None>
378-
379-# A list of role names which are prohibited from being an implied role. (list
380-# value)
381-#prohibited_implied_role = admin
382-
383+driver = sql
384
385 [auth]
386+methods = external,password,token,wmtotp
387
388-#
389-# From keystone
390-#
391-
392-# Allowed authentication methods. (list value)
393-#methods = external,password,token,oauth1
394-
395-# Entrypoint for the password auth plugin module in the keystone.auth.password
396-# namespace. (string value)
397-#password = <None>
398-
399-# Entrypoint for the token auth plugin module in the keystone.auth.token
400-# namespace. (string value)
401-#token = <None>
402-
403-# Entrypoint for the external (REMOTE_USER) auth plugin module in the
404-# keystone.auth.external namespace. Supplied drivers are DefaultDomain and
405-# Domain. The default driver is DefaultDomain. (string value)
406-#external = <None>
407-
408-# Entrypoint for the oAuth1.0 auth plugin module in the keystone.auth.oauth1
409-# namespace. (string value)
410-#oauth1 = <None>
411-
412+# Override the default password plugin with a custom
413+# one that checks source IPs.
414+password = whitelist
415+
416+password_whitelist = novaobserver:10.196.0.0/24
417+password_whitelist = deployment-prep-dns-manager:10.196.0.0/24
418+password_whitelist = novaobserver:10.196.16.0/21
419+password_whitelist = deployment-prep-dns-manager:10.196.16.0/21
420+password_whitelist = novaobserver:10.196.32.0/24
421+password_whitelist = deployment-prep-dns-manager:10.196.32.0/24
422+password_whitelist = novaobserver:10.196.48.0/24
423+password_whitelist = deployment-prep-dns-manager:10.196.48.0/24
424+password_whitelist = novaobserver:10.68.0.0/24
425+password_whitelist = deployment-prep-dns-manager:10.68.0.0/24
426+password_whitelist = novaobserver:10.68.16.0/21
427+password_whitelist = deployment-prep-dns-manager:10.68.16.0/21
428+password_whitelist = novaobserver:10.68.32.0/24
429+password_whitelist = deployment-prep-dns-manager:10.68.32.0/24
430+password_whitelist = novaobserver:10.68.48.0/24
431+password_whitelist = deployment-prep-dns-manager:10.68.48.0/24
432+password_whitelist = novaobserver:2620:0:860:201::/64
433+password_whitelist = deployment-prep-dns-manager:2620:0:860:201::/64
434+password_whitelist = novaobserver:2620:0:860:202::/64
435+password_whitelist = deployment-prep-dns-manager:2620:0:860:202::/64
436+password_whitelist = novaobserver:2620:0:860:203::/64
437+password_whitelist = deployment-prep-dns-manager:2620:0:860:203::/64
438+password_whitelist = novaobserver:2620:0:860:204::/64
439+password_whitelist = deployment-prep-dns-manager:2620:0:860:204::/64
440+password_whitelist = novaobserver:2620:0:861:201::/64
441+password_whitelist = deployment-prep-dns-manager:2620:0:861:201::/64
442+password_whitelist = novaobserver:2620:0:861:202::/64
443+password_whitelist = deployment-prep-dns-manager:2620:0:861:202::/64
444+password_whitelist = novaobserver:2620:0:861:203::/64
445+password_whitelist = deployment-prep-dns-manager:2620:0:861:203::/64
446+password_whitelist = novaobserver:2620:0:861:204::/64
447+password_whitelist = deployment-prep-dns-manager:2620:0:861:204::/64
448+password_whitelist = *:10.128.0.0/24
449+password_whitelist = *:10.132.0.0/24
450+password_whitelist = *:10.192.0.0/22
451+password_whitelist = *:10.192.16.0/22
452+password_whitelist = *:10.192.20.0/24
453+password_whitelist = *:10.192.21.0/24
454+password_whitelist = *:10.192.32.0/22
455+password_whitelist = *:10.192.48.0/22
456+password_whitelist = *:10.192.64.0/21
457+password_whitelist = *:10.192.72.0/24
458+password_whitelist = *:10.2.1.0/24
459+password_whitelist = *:10.2.2.0/24
460+password_whitelist = *:10.2.3.0/24
461+password_whitelist = *:10.2.4.0/24
462+password_whitelist = *:10.2.5.0/24
463+password_whitelist = *:10.20.0.0/24
464+password_whitelist = *:10.64.0.0/22
465+password_whitelist = *:10.64.16.0/22
466+password_whitelist = *:10.64.20.0/24
467+password_whitelist = *:10.64.21.0/24
468+password_whitelist = *:10.64.32.0/22
469+password_whitelist = *:10.64.36.0/24
470+password_whitelist = *:10.64.37.0/24
471+password_whitelist = *:10.64.4.0/24
472+password_whitelist = *:10.64.48.0/22
473+password_whitelist = *:10.64.5.0/24
474+password_whitelist = *:10.64.52.0/24
475+password_whitelist = *:10.64.53.0/24
476+password_whitelist = *:10.64.64.0/21
477+password_whitelist = *:10.64.72.0/24
478+password_whitelist = *:10.64.75.0/24
479+password_whitelist = *:10.64.76.0/24
480+password_whitelist = *:103.102.166.0/28
481+password_whitelist = *:103.102.166.224/27
482+password_whitelist = *:198.35.26.0/28
483+password_whitelist = *:198.35.26.96/27
484+password_whitelist = *:2001:df2:e500:101::/64
485+password_whitelist = *:2001:df2:e500:1::/64
486+password_whitelist = *:2001:df2:e500:ed1a::/64
487+password_whitelist = *:208.80.153.0/27
488+password_whitelist = *:208.80.153.224/27
489+password_whitelist = *:208.80.153.32/27
490+password_whitelist = *:208.80.153.64/27
491+password_whitelist = *:208.80.153.96/27
492+password_whitelist = *:208.80.154.0/26
493+password_whitelist = *:208.80.154.128/26
494+password_whitelist = *:208.80.154.224/27
495+password_whitelist = *:208.80.154.64/26
496+password_whitelist = *:208.80.155.96/27
497+password_whitelist = *:2620:0:860:101::/64
498+password_whitelist = *:2620:0:860:102::/64
499+password_whitelist = *:2620:0:860:103::/64
500+password_whitelist = *:2620:0:860:104::/64
501+password_whitelist = *:2620:0:860:118::/64
502+password_whitelist = *:2620:0:860:122::/64
503+password_whitelist = *:2620:0:860:1::/64
504+password_whitelist = *:2620:0:860:2::/64
505+password_whitelist = *:2620:0:860:3::/64
506+password_whitelist = *:2620:0:860:4::/64
507+password_whitelist = *:2620:0:860:cabe::/64
508+password_whitelist = *:2620:0:860:ed1a::/64
509+password_whitelist = *:2620:0:861:101::/64
510+password_whitelist = *:2620:0:861:102::/64
511+password_whitelist = *:2620:0:861:103::/64
512+password_whitelist = *:2620:0:861:104::/64
513+password_whitelist = *:2620:0:861:105::/64
514+password_whitelist = *:2620:0:861:106::/64
515+password_whitelist = *:2620:0:861:107::/64
516+password_whitelist = *:2620:0:861:108::/64
517+password_whitelist = *:2620:0:861:117::/64
518+password_whitelist = *:2620:0:861:118::/64
519+password_whitelist = *:2620:0:861:119::/64
520+password_whitelist = *:2620:0:861:1::/64
521+password_whitelist = *:2620:0:861:2::/64
522+password_whitelist = *:2620:0:861:3::/64
523+password_whitelist = *:2620:0:861:4::/64
524+password_whitelist = *:2620:0:861:cabe::/64
525+password_whitelist = *:2620:0:861:ed1a::/64
526+password_whitelist = *:2620:0:862:102::/64
527+password_whitelist = *:2620:0:862:1::/64
528+password_whitelist = *:2620:0:862:ed1a::/64
529+password_whitelist = *:2620:0:863:101::/64
530+password_whitelist = *:2620:0:863:1::/64
531+password_whitelist = *:2620:0:863:ed1a::/64
532+password_whitelist = *:91.198.174.0/25
533+password_whitelist = *:91.198.174.192/27
534+
535+[oath]
536+
537+wikitech_host = wikitech.wikimedia.org
538+wikitech_consumer_token = fc3ae7429d933aa354ac71d1f454a45d
539+wikitech_consumer_secret = 68c947d90faf9df05e49de11cae7083ec69c1505
540+wikitech_access_token = deda5420b657d5fb6e4fd4f0bc6e1948
541+wikitech_access_secret = da5dfabb74af77d5dc4bb3148e7f48712bf60ca6
542
543 [cache]
544
545-#
546-# From oslo.cache
547-#
548-
549-# Prefix for building the configuration dictionary for the cache region. This
550-# should not need to be changed unless there is another dogpile.cache region
551-# with the same configuration name. (string value)
552-#config_prefix = cache.oslo
553-
554-# Default TTL, in seconds, for any cached item in the dogpile.cache region.
555-# This applies to any cached method that doesn't have an explicit cache
556-# expiration time defined for it. (integer value)
557-#expiration_time = 600
558-
559-# Dogpile.cache backend module. It is recommended that Memcache with pooling
560-# (oslo_cache.memcache_pool) or Redis (dogpile.cache.redis) be used in
561-# production deployments. Small workloads (single process) like devstack can
562-# use the dogpile.cache.memory backend. (string value)
563-#backend = dogpile.cache.null
564-
565-# Arguments supplied to the backend module. Specify this option once per
566-# argument to be passed to the dogpile.cache backend. Example format:
567-# "<argname>:<value>". (multi valued)
568-#backend_argument =
569-
570-# Proxy classes to import that will affect the way the dogpile.cache backend
571-# functions. See the dogpile.cache documentation on changing-backend-behavior.
572-# (list value)
573-#proxies =
574-
575-# Global toggle for caching. (boolean value)
576-#enabled = false
577-
578-# Extra debugging from the cache backend (cache keys, get/set/delete/etc
579-# calls). This is only really useful if you need to see the specific cache-
580-# backend get/set/delete calls with the keys/values. Typically this should be
581-# left set to false. (boolean value)
582-#debug_cache_backend = false
583-
584-# Memcache servers in the format of "host:port". (dogpile.cache.memcache and
585-# oslo_cache.memcache_pool backends only). (list value)
586-#memcache_servers = localhost:11211
587-
588-# Number of seconds memcached server is considered dead before it is tried
589-# again. (dogpile.cache.memcache and oslo_cache.memcache_pool backends only).
590-# (integer value)
591-#memcache_dead_retry = 300
592-
593-# Timeout in seconds for every call to a server. (dogpile.cache.memcache and
594-# oslo_cache.memcache_pool backends only). (integer value)
595-#memcache_socket_timeout = 3
596-
597-# Max total number of open connections to every memcached server.
598-# (oslo_cache.memcache_pool backend only). (integer value)
599-#memcache_pool_maxsize = 10
600-
601-# Number of seconds a connection to memcached is held unused in the pool before
602-# it is closed. (oslo_cache.memcache_pool backend only). (integer value)
603-#memcache_pool_unused_timeout = 60
604-
605-# Number of seconds that an operation will wait to get a memcache client
606-# connection. (integer value)
607-#memcache_pool_connection_get_timeout = 10
608-
609-
610 [catalog]
611-
612-#
613-# From keystone
614-#
615-
616-# Catalog template file name for use with the template catalog backend. (string
617-# value)
618-template_file = /etc/keystone/default_catalog.templates
619-
620-# Entrypoint for the catalog backend driver in the keystone.catalog namespace.
621-# Supplied drivers are kvs, sql, templated, and endpoint_filter.sql (string
622-# value)
623-#driver = sql
624-
625-# Toggle for catalog caching. This has no effect unless global caching is
626-# enabled. (boolean value)
627-#caching = true
628-
629-# Time to cache catalog data (in seconds). This has no effect unless global and
630-# catalog caching are enabled. (integer value)
631-#cache_time = <None>
632-
633-# Maximum number of entities that will be returned in a catalog collection.
634-# (integer value)
635-#list_limit = <None>
636-
637+driver = sql
638
639 [cors]
640-
641-#
642-# From oslo.middleware
643-#
644-
645-# Indicate whether this resource may be shared with the domain received in the
646-# requests "origin" header. (list value)
647-#allowed_origin = <None>
648-
649-# Indicate that the actual request can include user credentials (boolean value)
650-#allow_credentials = true
651-
652-# Indicate which headers are safe to expose to the API. Defaults to HTTP Simple
653-# Headers. (list value)
654-#expose_headers = X-Auth-Token,X-Openstack-Request-Id,X-Subject-Token
655-
656-# Maximum cache age of CORS preflight requests. (integer value)
657-#max_age = 3600
658-
659-# Indicate which methods can be used during the actual request. (list value)
660-#allow_methods = GET,PUT,POST,DELETE,PATCH
661-
662-# Indicate which header field names may be used during the actual request.
663-# (list value)
664-#allow_headers = X-Auth-Token,X-Openstack-Request-Id,X-Subject-Token,X-Project-Id,X-Project-Name,X-Project-Domain-Id,X-Project-Domain-Name,X-Domain-Id,X-Domain-Name
665-
666-
667 [cors.subdomain]
668-
669-#
670-# From oslo.middleware
671-#
672-
673-# Indicate whether this resource may be shared with the domain received in the
674-# requests "origin" header. (list value)
675-#allowed_origin = <None>
676-
677-# Indicate that the actual request can include user credentials (boolean value)
678-#allow_credentials = true
679-
680-# Indicate which headers are safe to expose to the API. Defaults to HTTP Simple
681-# Headers. (list value)
682-#expose_headers = X-Auth-Token,X-Openstack-Request-Id,X-Subject-Token
683-
684-# Maximum cache age of CORS preflight requests. (integer value)
685-#max_age = 3600
686-
687-# Indicate which methods can be used during the actual request. (list value)
688-#allow_methods = GET,PUT,POST,DELETE,PATCH
689-
690-# Indicate which header field names may be used during the actual request.
691-# (list value)
692-#allow_headers = X-Auth-Token,X-Openstack-Request-Id,X-Subject-Token,X-Project-Id,X-Project-Name,X-Project-Domain-Id,X-Project-Domain-Name,X-Domain-Id,X-Domain-Name
693-
694-
695 [credential]
696
697-#
698-# From keystone
699-#
700-
701-# Entrypoint for the credential backend driver in the keystone.credential
702-# namespace. (string value)
703-#driver = sql
704-
705-
706 [database]
707-
708-#
709-# From oslo.db
710-#
711-
712-# The file name to use with SQLite. (string value)
713-# Deprecated group/name - [DEFAULT]/sqlite_db
714-#sqlite_db = oslo.sqlite
715-
716-# If True, SQLite uses synchronous mode. (boolean value)
717-# Deprecated group/name - [DEFAULT]/sqlite_synchronous
718-#sqlite_synchronous = true
719-
720-# The back end to use for the database. (string value)
721-# Deprecated group/name - [DEFAULT]/db_backend
722-#backend = sqlalchemy
723-
724-# The SQLAlchemy connection string to use to connect to the database. (string
725-# value)
726-# Deprecated group/name - [DEFAULT]/sql_connection
727-# Deprecated group/name - [DATABASE]/sql_connection
728-# Deprecated group/name - [sql]/connection
729-connection=sqlite:////var/lib/keystone/keystone.sqlite
730-
731-# The SQLAlchemy connection string to use to connect to the slave database.
732-# (string value)
733-#slave_connection = <None>
734-
735-# The SQL mode to be used for MySQL sessions. This option, including the
736-# default, overrides any server-set SQL mode. To use whatever SQL mode is set
737-# by the server configuration, set this to no value. Example: mysql_sql_mode=
738-# (string value)
739-#mysql_sql_mode = TRADITIONAL
740-
741-# Timeout before idle SQL connections are reaped. (integer value)
742-# Deprecated group/name - [DEFAULT]/sql_idle_timeout
743-# Deprecated group/name - [DATABASE]/sql_idle_timeout
744-# Deprecated group/name - [sql]/idle_timeout
745-#idle_timeout = 3600
746-
747-# Minimum number of SQL connections to keep open in a pool. (integer value)
748-# Deprecated group/name - [DEFAULT]/sql_min_pool_size
749-# Deprecated group/name - [DATABASE]/sql_min_pool_size
750-#min_pool_size = 1
751-
752-# Maximum number of SQL connections to keep open in a pool. (integer value)
753-# Deprecated group/name - [DEFAULT]/sql_max_pool_size
754-# Deprecated group/name - [DATABASE]/sql_max_pool_size
755-#max_pool_size = <None>
756-
757-# Maximum number of database connection retries during startup. Set to -1 to
758-# specify an infinite retry count. (integer value)
759-# Deprecated group/name - [DEFAULT]/sql_max_retries
760-# Deprecated group/name - [DATABASE]/sql_max_retries
761-#max_retries = 10
762-
763-# Interval between retries of opening a SQL connection. (integer value)
764-# Deprecated group/name - [DEFAULT]/sql_retry_interval
765-# Deprecated group/name - [DATABASE]/reconnect_interval
766-#retry_interval = 10
767-
768-# If set, use this value for max_overflow with SQLAlchemy. (integer value)
769-# Deprecated group/name - [DEFAULT]/sql_max_overflow
770-# Deprecated group/name - [DATABASE]/sqlalchemy_max_overflow
771-#max_overflow = 50
772-
773-# Verbosity of SQL debugging information: 0=None, 100=Everything. (integer
774-# value)
775-# Deprecated group/name - [DEFAULT]/sql_connection_debug
776-#connection_debug = 0
777-
778-# Add Python stack traces to SQL as comment strings. (boolean value)
779-# Deprecated group/name - [DEFAULT]/sql_connection_trace
780-#connection_trace = false
781-
782-# If set, use this value for pool_timeout with SQLAlchemy. (integer value)
783-# Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout
784-#pool_timeout = <None>
785-
786-# Enable the experimental use of database reconnect on connection lost.
787-# (boolean value)
788-#use_db_reconnect = false
789-
790-# Seconds between retries of a database transaction. (integer value)
791-#db_retry_interval = 1
792-
793-# If True, increases the interval between retries of a database operation up to
794-# db_max_retry_interval. (boolean value)
795-#db_inc_retry_interval = true
796-
797-# If db_inc_retry_interval is set, the maximum seconds between retries of a
798-# database operation. (integer value)
799-#db_max_retry_interval = 10
800-
801-# Maximum retries in case of connection error or deadlock error before error is
802-# raised. Set to -1 to specify an infinite retry count. (integer value)
803-#db_max_retries = 20
804-
805+connection = mysql://keystone:auheeri5eiQuoo5@m5-master.eqiad.wmnet/keystone
806
807 [domain_config]
808-
809-#
810-# From keystone
811-#
812-
813-# Entrypoint for the domain config backend driver in the
814-# keystone.resource.domain_config namespace. (string value)
815-#driver = sql
816-
817-# Toggle for domain config caching. This has no effect unless global caching is
818-# enabled. (boolean value)
819-#caching = true
820-
821-# TTL (in seconds) to cache domain config data. This has no effect unless
822-# domain config caching is enabled. (integer value)
823-#cache_time = 300
824-
825-
826 [endpoint_filter]
827-
828-#
829-# From keystone
830-#
831-
832-# Entrypoint for the endpoint filter backend driver in the
833-# keystone.endpoint_filter namespace. (string value)
834-#driver = sql
835-
836-# Toggle to return all active endpoints if no filter exists. (boolean value)
837-#return_all_endpoints_if_no_filter = true
838-
839-
840 [endpoint_policy]
841-
842-#
843-# From keystone
844-#
845-
846-# Enable endpoint_policy functionality. (boolean value)
847-# This option is deprecated for removal.
848-# Its value may be silently ignored in the future.
849-# Reason: The option to enable the OS-ENDPOINT-POLICY extension has been
850-# deprecated in the M release and will be removed in the O release. The OS-
851-# ENDPOINT-POLICY extension will be enabled by default.
852-#enabled = true
853-
854-# Entrypoint for the endpoint policy backend driver in the
855-# keystone.endpoint_policy namespace. (string value)
856-#driver = sql
857-
858-
859 [eventlet_server]
860-
861-#
862-# From keystone
863-#
864-
865-# The number of worker processes to serve the public eventlet application.
866-# Defaults to number of CPUs (minimum of 2). (integer value)
867-# Deprecated group/name - [DEFAULT]/public_workers
868-# This option is deprecated for removal.
869-# Its value may be silently ignored in the future.
870-#public_workers = <None>
871-
872-# The number of worker processes to serve the admin eventlet application.
873-# Defaults to number of CPUs (minimum of 2). (integer value)
874-# Deprecated group/name - [DEFAULT]/admin_workers
875-# This option is deprecated for removal.
876-# Its value may be silently ignored in the future.
877-#admin_workers = <None>
878-
879-# The IP address of the network interface for the public service to listen on.
880-# (string value)
881-# Deprecated group/name - [DEFAULT]/bind_host
882-# Deprecated group/name - [DEFAULT]/public_bind_host
883-# This option is deprecated for removal.
884-# Its value may be silently ignored in the future.
885-#public_bind_host = 0.0.0.0
886-
887-# The port number which the public service listens on. (port value)
888-# Minimum value: 0
889-# Maximum value: 65535
890-# Deprecated group/name - [DEFAULT]/public_port
891-# This option is deprecated for removal.
892-# Its value may be silently ignored in the future.
893-#public_port = 5000
894-
895-# The IP address of the network interface for the admin service to listen on.
896-# (string value)
897-# Deprecated group/name - [DEFAULT]/bind_host
898-# Deprecated group/name - [DEFAULT]/admin_bind_host
899-# This option is deprecated for removal.
900-# Its value may be silently ignored in the future.
901-#admin_bind_host = 0.0.0.0
902-
903-# The port number which the admin service listens on. (port value)
904-# Minimum value: 0
905-# Maximum value: 65535
906-# Deprecated group/name - [DEFAULT]/admin_port
907-# This option is deprecated for removal.
908-# Its value may be silently ignored in the future.
909-#admin_port = 35357
910-
911-# If set to false, disables keepalives on the server; all connections will be
912-# closed after serving one request. (boolean value)
913-#wsgi_keep_alive = true
914-
915-# Timeout for socket operations on a client connection. If an incoming
916-# connection is idle for this number of seconds it will be closed. A value of
917-# "0" means wait forever. (integer value)
918-#client_socket_timeout = 900
919-
920-# Set this to true if you want to enable TCP_KEEPALIVE on server sockets, i.e.
921-# sockets used by the Keystone wsgi server for client connections. (boolean
922-# value)
923-# Deprecated group/name - [DEFAULT]/tcp_keepalive
924-# This option is deprecated for removal.
925-# Its value may be silently ignored in the future.
926-#tcp_keepalive = false
927-
928-# Sets the value of TCP_KEEPIDLE in seconds for each server socket. Only
929-# applies if tcp_keepalive is true. Ignored if system does not support it.
930-# (integer value)
931-# Deprecated group/name - [DEFAULT]/tcp_keepidle
932-# This option is deprecated for removal.
933-# Its value may be silently ignored in the future.
934-#tcp_keepidle = 600
935-
936-
937 [eventlet_server_ssl]
938-
939-#
940-# From keystone
941-#
942-
943-# Toggle for SSL support on the Keystone eventlet servers. (boolean value)
944-# Deprecated group/name - [ssl]/enable
945-# This option is deprecated for removal.
946-# Its value may be silently ignored in the future.
947-#enable = false
948-
949-# Path of the certfile for SSL. For non-production environments, you may be
950-# interested in using `keystone-manage ssl_setup` to generate self-signed
951-# certificates. (string value)
952-# Deprecated group/name - [ssl]/certfile
953-# This option is deprecated for removal.
954-# Its value may be silently ignored in the future.
955-#certfile = /etc/keystone/ssl/certs/keystone.pem
956-
957-# Path of the keyfile for SSL. (string value)
958-# Deprecated group/name - [ssl]/keyfile
959-# This option is deprecated for removal.
960-# Its value may be silently ignored in the future.
961-#keyfile = /etc/keystone/ssl/private/keystonekey.pem
962-
963-# Path of the CA cert file for SSL. (string value)
964-# Deprecated group/name - [ssl]/ca_certs
965-# This option is deprecated for removal.
966-# Its value may be silently ignored in the future.
967-#ca_certs = /etc/keystone/ssl/certs/ca.pem
968-
969-# Require client certificate. (boolean value)
970-# Deprecated group/name - [ssl]/cert_required
971-# This option is deprecated for removal.
972-# Its value may be silently ignored in the future.
973-#cert_required = false
974-
975-
976 [federation]
977-
978-#
979-# From keystone
980-#
981-
982-# Entrypoint for the federation backend driver in the keystone.federation
983-# namespace. (string value)
984-#driver = sql
985-
986-# Value to be used when filtering assertion parameters from the environment.
987-# (string value)
988-#assertion_prefix =
989-
990-# Value to be used to obtain the entity ID of the Identity Provider from the
991-# environment (e.g. if using the mod_shib plugin this value is `Shib-Identity-
992-# Provider`). (string value)
993-#remote_id_attribute = <None>
994-
995-# A domain name that is reserved to allow federated ephemeral users to have a
996-# domain concept. Note that an admin will not be able to create a domain with
997-# this name or update an existing domain to this name. You are not advised to
998-# change this value unless you really have to. (string value)
999-#federated_domain_name = Federated
1000-
1001-# A list of trusted dashboard hosts. Before accepting a Single Sign-On request
1002-# to return a token, the origin host must be a member of the trusted_dashboard
1003-# list. This configuration option may be repeated for multiple values. For
1004-# example: trusted_dashboard=http://acme.com/auth/websso
1005-# trusted_dashboard=http://beta.com/auth/websso (multi valued)
1006-#trusted_dashboard =
1007-
1008-# Location of Single Sign-On callback handler, will return a token to a trusted
1009-# dashboard host. (string value)
1010-#sso_callback_template = /etc/keystone/sso_callback_template.html
1011-
1012-
1013 [fernet_tokens]
1014-
1015-#
1016-# From keystone
1017-#
1018-
1019-# Directory containing Fernet token keys. (string value)
1020-#key_repository = /etc/keystone/fernet-keys/
1021-
1022-# This controls how many keys are held in rotation by keystone-manage
1023-# fernet_rotate before they are discarded. The default value of 3 means that
1024-# keystone will maintain one staged key, one primary key, and one secondary
1025-# key. Increasing this value means that additional secondary keys will be kept
1026-# in the rotation. (integer value)
1027-#max_active_keys = 3
1028-
1029-
1030 [identity]
1031-
1032-#
1033-# From keystone
1034-#
1035-
1036-# This references the domain to use for all Identity API v2 requests (which are
1037-# not aware of domains). A domain with this ID will be created for you by
1038-# keystone-manage db_sync in migration 008. The domain referenced by this ID
1039-# cannot be deleted on the v3 API, to prevent accidentally breaking the v2 API.
1040-# There is nothing special about this domain, other than the fact that it must
1041-# exist to order to maintain support for your v2 clients. (string value)
1042-#default_domain_id = default
1043-
1044-# A subset (or all) of domains can have their own identity driver, each with
1045-# their own partial configuration options, stored in either the resource
1046-# backend or in a file in a domain configuration directory (depending on the
1047-# setting of domain_configurations_from_database). Only values specific to the
1048-# domain need to be specified in this manner. This feature is disabled by
1049-# default; set to true to enable. (boolean value)
1050-#domain_specific_drivers_enabled = false
1051-
1052-# Extract the domain specific configuration options from the resource backend
1053-# where they have been stored with the domain data. This feature is disabled by
1054-# default (in which case the domain specific options will be loaded from files
1055-# in the domain configuration directory); set to true to enable. (boolean
1056-# value)
1057-#domain_configurations_from_database = false
1058-
1059-# Path for Keystone to locate the domain specific identity configuration files
1060-# if domain_specific_drivers_enabled is set to true. (string value)
1061-#domain_config_dir = /etc/keystone/domains
1062-
1063-# Entrypoint for the identity backend driver in the keystone.identity
1064-# namespace. Supplied drivers are ldap and sql. (string value)
1065-#driver = sql
1066-
1067-# Toggle for identity caching. This has no effect unless global caching is
1068-# enabled. (boolean value)
1069-#caching = true
1070-
1071-# Time to cache identity data (in seconds). This has no effect unless global
1072-# and identity caching are enabled. (integer value)
1073-#cache_time = 600
1074-
1075-# Maximum supported length for user passwords; decrease to improve performance.
1076-# (integer value)
1077-# Maximum value: 4096
1078-#max_password_length = 4096
1079-
1080-# Maximum number of entities that will be returned in an identity collection.
1081-# (integer value)
1082-#list_limit = <None>
1083-
1084-
1085+driver = ldap
1086 [identity_mapping]
1087-
1088-#
1089-# From keystone
1090-#
1091-
1092-# Entrypoint for the identity mapping backend driver in the
1093-# keystone.identity.id_mapping namespace. (string value)
1094-#driver = sql
1095-
1096-# Entrypoint for the public ID generator for user and group entities in the
1097-# keystone.identity.id_generator namespace. The Keystone identity mapper only
1098-# supports generators that produce no more than 64 characters. (string value)
1099-#generator = sha256
1100-
1101-# The format of user and group IDs changed in Juno for backends that do not
1102-# generate UUIDs (e.g. LDAP), with keystone providing a hash mapping to the
1103-# underlying attribute in LDAP. By default this mapping is disabled, which
1104-# ensures that existing IDs will not change. Even when the mapping is enabled
1105-# by using domain specific drivers, any users and groups from the default
1106-# domain being handled by LDAP will still not be mapped to ensure their IDs
1107-# remain backward compatible. Setting this value to False will enable the
1108-# mapping for even the default LDAP driver. It is only safe to do this if you
1109-# do not already have assignments for users and groups from the default LDAP
1110-# domain, and it is acceptable for Keystone to provide the different IDs to
1111-# clients than it did previously. Typically this means that the only time you
1112-# can set this value to False is when configuring a fresh installation.
1113-# (boolean value)
1114-#backward_compatible_ids = true
1115-
1116-
1117 [kvs]
1118
1119-#
1120-# From keystone
1121-#
1122-
1123-# Extra dogpile.cache backend modules to register with the dogpile.cache
1124-# library. (list value)
1125-#backends =
1126-
1127-# Prefix for building the configuration dictionary for the KVS region. This
1128-# should not need to be changed unless there is another dogpile.cache region
1129-# with the same configuration name. (string value)
1130-#config_prefix = keystone.kvs
1131-
1132-# Toggle to disable using a key-mangling function to ensure fixed length keys.
1133-# This is toggle-able for debugging purposes, it is highly recommended to
1134-# always leave this set to true. (boolean value)
1135-#enable_key_mangler = true
1136-
1137-# Default lock timeout (in seconds) for distributed locking. (integer value)
1138-#default_lock_timeout = 5
1139-
1140-
1141 [ldap]
1142-
1143-#
1144-# From keystone
1145-#
1146-
1147-# URL(s) for connecting to the LDAP server. Multiple LDAP URLs may be specified
1148-# as a comma separated string. The first URL to successfully bind is used for
1149-# the connection. (string value)
1150-#url = ldap://localhost
1151-
1152-# User BindDN to query the LDAP server. (string value)
1153-#user = <None>
1154-
1155-# Password for the BindDN to query the LDAP server. (string value)
1156-#password = <None>
1157-
1158-# LDAP server suffix (string value)
1159-#suffix = cn=example,cn=com
1160-
1161-# If true, will add a dummy member to groups. This is required if the
1162-# objectclass for groups requires the "member" attribute. (boolean value)
1163-#use_dumb_member = false
1164-
1165-# DN of the "dummy member" to use when "use_dumb_member" is enabled. (string
1166-# value)
1167-#dumb_member = cn=dumb,dc=nonexistent
1168-
1169-# Delete subtrees using the subtree delete control. Only enable this option if
1170-# your LDAP server supports subtree deletion. (boolean value)
1171-#allow_subtree_delete = false
1172-
1173-# The LDAP scope for queries, "one" represents oneLevel/singleLevel and "sub"
1174-# represents subtree/wholeSubtree options. (string value)
1175-# Allowed values: one, sub
1176-#query_scope = one
1177-
1178-# Maximum results per page; a value of zero ("0") disables paging. (integer
1179-# value)
1180-#page_size = 0
1181-
1182-# The LDAP dereferencing option for queries. The "default" option falls back to
1183-# using default dereferencing configured by your ldap.conf. (string value)
1184-# Allowed values: never, searching, always, finding, default
1185-#alias_dereferencing = default
1186-
1187-# Sets the LDAP debugging level for LDAP calls. A value of 0 means that
1188-# debugging is not enabled. This value is a bitmask, consult your LDAP
1189-# documentation for possible values. (integer value)
1190-#debug_level = <None>
1191-
1192-# Override the system's default referral chasing behavior for queries. (boolean
1193-# value)
1194-#chase_referrals = <None>
1195-
1196-# Search base for users. Defaults to the suffix value. (string value)
1197-#user_tree_dn = <None>
1198-
1199-# LDAP search filter for users. (string value)
1200-#user_filter = <None>
1201-
1202-# LDAP objectclass for users. (string value)
1203-#user_objectclass = inetOrgPerson
1204-
1205-# LDAP attribute mapped to user id. WARNING: must not be a multivalued
1206-# attribute. (string value)
1207-#user_id_attribute = cn
1208-
1209-# LDAP attribute mapped to user name. (string value)
1210-#user_name_attribute = sn
1211-
1212-# LDAP attribute mapped to user description. (string value)
1213-#user_description_attribute = description
1214-
1215-# LDAP attribute mapped to user email. (string value)
1216-#user_mail_attribute = mail
1217-
1218-# LDAP attribute mapped to password. (string value)
1219-#user_pass_attribute = userPassword
1220-
1221-# LDAP attribute mapped to user enabled flag. (string value)
1222-#user_enabled_attribute = enabled
1223-
1224-# Invert the meaning of the boolean enabled values. Some LDAP servers use a
1225-# boolean lock attribute where "true" means an account is disabled. Setting
1226-# "user_enabled_invert = true" will allow these lock attributes to be used.
1227-# This setting will have no effect if "user_enabled_mask" or
1228-# "user_enabled_emulation" settings are in use. (boolean value)
1229-#user_enabled_invert = false
1230-
1231-# Bitmask integer to indicate the bit that the enabled value is stored in if
1232-# the LDAP server represents "enabled" as a bit on an integer rather than a
1233-# boolean. A value of "0" indicates the mask is not used. If this is not set to
1234-# "0" the typical value is "2". This is typically used when
1235-# "user_enabled_attribute = userAccountControl". (integer value)
1236-#user_enabled_mask = 0
1237-
1238-# Default value to enable users. This should match an appropriate int value if
1239-# the LDAP server uses non-boolean (bitmask) values to indicate if a user is
1240-# enabled or disabled. If this is not set to "True" the typical value is "512".
1241-# This is typically used when "user_enabled_attribute = userAccountControl".
1242-# (string value)
1243-#user_enabled_default = True
1244-
1245-# List of attributes stripped off the user on update. (list value)
1246-#user_attribute_ignore = default_project_id
1247-
1248-# LDAP attribute mapped to default_project_id for users. (string value)
1249-#user_default_project_id_attribute = <None>
1250-
1251-# Allow user creation in LDAP backend. (boolean value)
1252-# This option is deprecated for removal.
1253-# Its value may be silently ignored in the future.
1254-# Reason: Write support for Identity LDAP backends has been deprecated in the M
1255-# release and will be removed in the O release.
1256-#user_allow_create = true
1257-
1258-# Allow user updates in LDAP backend. (boolean value)
1259-# This option is deprecated for removal.
1260-# Its value may be silently ignored in the future.
1261-# Reason: Write support for Identity LDAP backends has been deprecated in the M
1262-# release and will be removed in the O release.
1263-#user_allow_update = true
1264-
1265-# Allow user deletion in LDAP backend. (boolean value)
1266-# This option is deprecated for removal.
1267-# Its value may be silently ignored in the future.
1268-# Reason: Write support for Identity LDAP backends has been deprecated in the M
1269-# release and will be removed in the O release.
1270-#user_allow_delete = true
1271-
1272-# If true, Keystone uses an alternative method to determine if a user is
1273-# enabled or not by checking if they are a member of the
1274-# "user_enabled_emulation_dn" group. (boolean value)
1275-#user_enabled_emulation = false
1276-
1277-# DN of the group entry to hold enabled users when using enabled emulation.
1278-# (string value)
1279-#user_enabled_emulation_dn = <None>
1280-
1281-# Use the "group_member_attribute" and "group_objectclass" settings to
1282-# determine membership in the emulated enabled group. (boolean value)
1283-#user_enabled_emulation_use_group_config = false
1284-
1285-# List of additional LDAP attributes used for mapping additional attribute
1286-# mappings for users. Attribute mapping format is <ldap_attr>:<user_attr>,
1287-# where ldap_attr is the attribute in the LDAP entry and user_attr is the
1288-# Identity API attribute. (list value)
1289-#user_additional_attribute_mapping =
1290-
1291-# Search base for groups. Defaults to the suffix value. (string value)
1292-#group_tree_dn = <None>
1293-
1294-# LDAP search filter for groups. (string value)
1295-#group_filter = <None>
1296-
1297-# LDAP objectclass for groups. (string value)
1298-#group_objectclass = groupOfNames
1299-
1300-# LDAP attribute mapped to group id. (string value)
1301-#group_id_attribute = cn
1302-
1303-# LDAP attribute mapped to group name. (string value)
1304-#group_name_attribute = ou
1305-
1306-# LDAP attribute mapped to show group membership. (string value)
1307-#group_member_attribute = member
1308-
1309-# LDAP attribute mapped to group description. (string value)
1310-#group_desc_attribute = description
1311-
1312-# List of attributes stripped off the group on update. (list value)
1313-#group_attribute_ignore =
1314-
1315-# Allow group creation in LDAP backend. (boolean value)
1316-# This option is deprecated for removal.
1317-# Its value may be silently ignored in the future.
1318-# Reason: Write support for Identity LDAP backends has been deprecated in the M
1319-# release and will be removed in the O release.
1320-#group_allow_create = true
1321-
1322-# Allow group update in LDAP backend. (boolean value)
1323-# This option is deprecated for removal.
1324-# Its value may be silently ignored in the future.
1325-# Reason: Write support for Identity LDAP backends has been deprecated in the M
1326-# release and will be removed in the O release.
1327-#group_allow_update = true
1328-
1329-# Allow group deletion in LDAP backend. (boolean value)
1330-# This option is deprecated for removal.
1331-# Its value may be silently ignored in the future.
1332-# Reason: Write support for Identity LDAP backends has been deprecated in the M
1333-# release and will be removed in the O release.
1334-#group_allow_delete = true
1335-
1336-# Additional attribute mappings for groups. Attribute mapping format is
1337-# <ldap_attr>:<user_attr>, where ldap_attr is the attribute in the LDAP entry
1338-# and user_attr is the Identity API attribute. (list value)
1339-#group_additional_attribute_mapping =
1340-
1341-# CA certificate file path for communicating with LDAP servers. (string value)
1342-#tls_cacertfile = <None>
1343-
1344-# CA certificate directory path for communicating with LDAP servers. (string
1345-# value)
1346-#tls_cacertdir = <None>
1347-
1348-# Enable TLS for communicating with LDAP servers. (boolean value)
1349-#use_tls = false
1350-
1351-# Specifies what checks to perform on client certificates in an incoming TLS
1352-# session. (string value)
1353-# Allowed values: demand, never, allow
1354-#tls_req_cert = demand
1355-
1356-# Enable LDAP connection pooling. (boolean value)
1357-#use_pool = true
1358-
1359-# Connection pool size. (integer value)
1360-#pool_size = 10
1361-
1362-# Maximum count of reconnect trials. (integer value)
1363-#pool_retry_max = 3
1364-
1365-# Time span in seconds to wait between two reconnect trials. (floating point
1366-# value)
1367-#pool_retry_delay = 0.1
1368-
1369-# Connector timeout in seconds. Value -1 indicates indefinite wait for
1370-# response. (integer value)
1371-#pool_connection_timeout = -1
1372-
1373-# Connection lifetime in seconds. (integer value)
1374-#pool_connection_lifetime = 600
1375-
1376-# Enable LDAP connection pooling for end user authentication. If use_pool is
1377-# disabled, then this setting is meaningless and is not used at all. (boolean
1378-# value)
1379-#use_auth_pool = true
1380-
1381-# End user auth connection pool size. (integer value)
1382-#auth_pool_size = 100
1383-
1384-# End user auth connection lifetime in seconds. (integer value)
1385-#auth_pool_connection_lifetime = 60
1386-
1387-# If the members of the group objectclass are user IDs rather than DNs, set
1388-# this to true. This is the case when using posixGroup as the group objectclass
1389-# and OpenDirectory. (boolean value)
1390-#group_members_are_ids = false
1391-
1392+url = ldap://ldap-labs.eqiad.wikimedia.org,ldap://ldap-labs.codfw.wikimedia.org,
1393+tree_dn = dc=wikimedia,dc=org
1394+user_tree_dn = ou=people,dc=wikimedia,dc=org
1395+user_id_attribute = uid
1396+user_name_attribute = cn
1397+user = uid=novaadmin,ou=people,dc=wikimedia,dc=org
1398+password = JB2RPx9XissA9mg-changeMe?
1399
1400 [matchmaker_redis]
1401-
1402-#
1403-# From oslo.messaging
1404-#
1405-
1406-# Host to locate redis. (string value)
1407-#host = 127.0.0.1
1408-
1409-# Use this port to connect to redis host. (port value)
1410-# Minimum value: 0
1411-# Maximum value: 65535
1412-#port = 6379
1413-
1414-# Password for Redis server (optional). (string value)
1415-#password =
1416-
1417-# List of Redis Sentinel hosts (fault tolerance mode) e.g.
1418-# [host:port, host1:port ... ] (list value)
1419-#sentinel_hosts =
1420-
1421-# Redis replica set name. (string value)
1422-#sentinel_group_name = oslo-messaging-zeromq
1423-
1424-# Time in ms to wait between connection attempts. (integer value)
1425-#wait_timeout = 500
1426-
1427-# Time in ms to wait before the transaction is killed. (integer value)
1428-#check_timeout = 20000
1429-
1430-# Timeout in ms on blocking socket operations (integer value)
1431-#socket_timeout = 1000
1432-
1433-
1434 [memcache]
1435-
1436-#
1437-# From keystone
1438-#
1439-
1440-# Memcache servers in the format of "host:port". (list value)
1441-#servers = localhost:11211
1442-
1443-# Number of seconds memcached server is considered dead before it is tried
1444-# again. This is used by the key value store system (e.g. token pooled
1445-# memcached persistence backend). (integer value)
1446-#dead_retry = 300
1447-
1448-# Timeout in seconds for every call to a server. This is used by the key value
1449-# store system (e.g. token pooled memcached persistence backend). (integer
1450-# value)
1451-#socket_timeout = 3
1452-
1453-# Max total number of open connections to every memcached server. This is used
1454-# by the key value store system (e.g. token pooled memcached persistence
1455-# backend). (integer value)
1456-#pool_maxsize = 10
1457-
1458-# Number of seconds a connection to memcached is held unused in the pool before
1459-# it is closed. This is used by the key value store system (e.g. token pooled
1460-# memcached persistence backend). (integer value)
1461-#pool_unused_timeout = 60
1462-
1463-# Number of seconds that an operation will wait to get a memcache client
1464-# connection. This is used by the key value store system (e.g. token pooled
1465-# memcached persistence backend). (integer value)
1466-#pool_connection_get_timeout = 10
1467-
1468-
1469 [oauth1]
1470-
1471-#
1472-# From keystone
1473-#
1474-
1475-# Entrypoint for the OAuth backend driver in the keystone.oauth1 namespace.
1476-# (string value)
1477-#driver = sql
1478-
1479-# Duration (in seconds) for the OAuth Request Token. (integer value)
1480-#request_token_duration = 28800
1481-
1482-# Duration (in seconds) for the OAuth Access Token. (integer value)
1483-#access_token_duration = 86400
1484-
1485-
1486 [os_inherit]
1487-
1488-#
1489-# From keystone
1490-#
1491-
1492-# role-assignment inheritance to projects from owning domain or from projects
1493-# higher in the hierarchy can be optionally disabled. In the future, this
1494-# option will be removed and the hierarchy will be always enabled. (boolean
1495-# value)
1496-# This option is deprecated for removal.
1497-# Its value may be silently ignored in the future.
1498-# Reason: The option to enable the OS-INHERIT extension has been deprecated in
1499-# the M release and will be removed in the O release. The OS-INHERIT extension
1500-# will be enabled by default.
1501-#enabled = true
1502-
1503-
1504 [oslo_messaging_amqp]
1505
1506-#
1507-# From oslo.messaging
1508-#
1509-
1510-# address prefix used when sending to a specific server (string value)
1511-# Deprecated group/name - [amqp1]/server_request_prefix
1512-#server_request_prefix = exclusive
1513-
1514-# address prefix used when broadcasting to all servers (string value)
1515-# Deprecated group/name - [amqp1]/broadcast_prefix
1516-#broadcast_prefix = broadcast
1517-
1518-# address prefix when sending to any server in group (string value)
1519-# Deprecated group/name - [amqp1]/group_request_prefix
1520-#group_request_prefix = unicast
1521-
1522-# Name for the AMQP container (string value)
1523-# Deprecated group/name - [amqp1]/container_name
1524-#container_name = <None>
1525-
1526-# Timeout for inactive connections (in seconds) (integer value)
1527-# Deprecated group/name - [amqp1]/idle_timeout
1528-#idle_timeout = 0
1529-
1530-# Debug: dump AMQP frames to stdout (boolean value)
1531-# Deprecated group/name - [amqp1]/trace
1532-#trace = false
1533-
1534-# CA certificate PEM file to verify server certificate (string value)
1535-# Deprecated group/name - [amqp1]/ssl_ca_file
1536-#ssl_ca_file =
1537-
1538-# Identifying certificate PEM file to present to clients (string value)
1539-# Deprecated group/name - [amqp1]/ssl_cert_file
1540-#ssl_cert_file =
1541-
1542-# Private key PEM file used to sign cert_file certificate (string value)
1543-# Deprecated group/name - [amqp1]/ssl_key_file
1544-#ssl_key_file =
1545-
1546-# Password for decrypting ssl_key_file (if encrypted) (string value)
1547-# Deprecated group/name - [amqp1]/ssl_key_password
1548-#ssl_key_password = <None>
1549-
1550-# Accept clients using either SSL or plain TCP (boolean value)
1551-# Deprecated group/name - [amqp1]/allow_insecure_clients
1552-#allow_insecure_clients = false
1553-
1554-# Space separated list of acceptable SASL mechanisms (string value)
1555-# Deprecated group/name - [amqp1]/sasl_mechanisms
1556-#sasl_mechanisms =
1557-
1558-# Path to directory that contains the SASL configuration (string value)
1559-# Deprecated group/name - [amqp1]/sasl_config_dir
1560-#sasl_config_dir =
1561-
1562-# Name of configuration file (without .conf suffix) (string value)
1563-# Deprecated group/name - [amqp1]/sasl_config_name
1564-#sasl_config_name =
1565-
1566-# User name for message broker authentication (string value)
1567-# Deprecated group/name - [amqp1]/username
1568-#username =
1569-
1570-# Password for message broker authentication (string value)
1571-# Deprecated group/name - [amqp1]/password
1572-#password =
1573-
1574-
1575 [oslo_messaging_notifications]
1576-
1577-#
1578-# From oslo.messaging
1579-#
1580-
1581-# The Drivers(s) to handle sending notifications. Possible values are
1582-# messaging, messagingv2, routing, log, test, noop (multi valued)
1583-# Deprecated group/name - [DEFAULT]/notification_driver
1584-#driver =
1585-
1586-# A URL representing the messaging driver to use for notifications. If not set,
1587-# we fall back to the same configuration used for RPC. (string value)
1588-# Deprecated group/name - [DEFAULT]/notification_transport_url
1589-#transport_url = <None>
1590-
1591-# AMQP topic used for OpenStack notifications. (list value)
1592-# Deprecated group/name - [rpc_notifier2]/topics
1593-# Deprecated group/name - [DEFAULT]/notification_topics
1594-#topics = notifications
1595-
1596+driver = wmfkeystonehooks
1597
1598 [oslo_messaging_rabbit]
1599-
1600-#
1601-# From oslo.messaging
1602-#
1603-
1604-# Use durable queues in AMQP. (boolean value)
1605-# Deprecated group/name - [DEFAULT]/amqp_durable_queues
1606-# Deprecated group/name - [DEFAULT]/rabbit_durable_queues
1607-#amqp_durable_queues = false
1608-
1609-# Auto-delete queues in AMQP. (boolean value)
1610-# Deprecated group/name - [DEFAULT]/amqp_auto_delete
1611-#amqp_auto_delete = false
1612-
1613-# SSL version to use (valid only if SSL enabled). Valid values are TLSv1 and
1614-# SSLv23. SSLv2, SSLv3, TLSv1_1, and TLSv1_2 may be available on some
1615-# distributions. (string value)
1616-# Deprecated group/name - [DEFAULT]/kombu_ssl_version
1617-#kombu_ssl_version =
1618-
1619-# SSL key file (valid only if SSL enabled). (string value)
1620-# Deprecated group/name - [DEFAULT]/kombu_ssl_keyfile
1621-#kombu_ssl_keyfile =
1622-
1623-# SSL cert file (valid only if SSL enabled). (string value)
1624-# Deprecated group/name - [DEFAULT]/kombu_ssl_certfile
1625-#kombu_ssl_certfile =
1626-
1627-# SSL certification authority file (valid only if SSL enabled). (string value)
1628-# Deprecated group/name - [DEFAULT]/kombu_ssl_ca_certs
1629-#kombu_ssl_ca_certs =
1630-
1631-# How long to wait before reconnecting in response to an AMQP consumer cancel
1632-# notification. (floating point value)
1633-# Deprecated group/name - [DEFAULT]/kombu_reconnect_delay
1634-#kombu_reconnect_delay = 1.0
1635-
1636-# EXPERIMENTAL: Possible values are: gzip, bz2. If not set compression will not
1637-# be used. This option may notbe available in future versions. (string value)
1638-#kombu_compression = <None>
1639-
1640-# How long to wait a missing client beforce abandoning to send it its replies.
1641-# This value should not be longer than rpc_response_timeout. (integer value)
1642-# Deprecated group/name - [DEFAULT]/kombu_reconnect_timeout
1643-#kombu_missing_consumer_retry_timeout = 60
1644-
1645-# Determines how the next RabbitMQ node is chosen in case the one we are
1646-# currently connected to becomes unavailable. Takes effect only if more than
1647-# one RabbitMQ node is provided in config. (string value)
1648-# Allowed values: round-robin, shuffle
1649-#kombu_failover_strategy = round-robin
1650-
1651-# The RabbitMQ broker address where a single node is used. (string value)
1652-# Deprecated group/name - [DEFAULT]/rabbit_host
1653-#rabbit_host = localhost
1654-
1655-# The RabbitMQ broker port where a single node is used. (port value)
1656-# Minimum value: 0
1657-# Maximum value: 65535
1658-# Deprecated group/name - [DEFAULT]/rabbit_port
1659-#rabbit_port = 5672
1660-
1661-# RabbitMQ HA cluster host:port pairs. (list value)
1662-# Deprecated group/name - [DEFAULT]/rabbit_hosts
1663-#rabbit_hosts = $rabbit_host:$rabbit_port
1664-
1665-# Connect over SSL for RabbitMQ. (boolean value)
1666-# Deprecated group/name - [DEFAULT]/rabbit_use_ssl
1667-#rabbit_use_ssl = false
1668-
1669-# The RabbitMQ userid. (string value)
1670-# Deprecated group/name - [DEFAULT]/rabbit_userid
1671-#rabbit_userid = guest
1672-
1673-# The RabbitMQ password. (string value)
1674-# Deprecated group/name - [DEFAULT]/rabbit_password
1675-#rabbit_password = guest
1676-
1677-# The RabbitMQ login method. (string value)
1678-# Deprecated group/name - [DEFAULT]/rabbit_login_method
1679-#rabbit_login_method = AMQPLAIN
1680-
1681-# The RabbitMQ virtual host. (string value)
1682-# Deprecated group/name - [DEFAULT]/rabbit_virtual_host
1683-#rabbit_virtual_host = /
1684-
1685-# How frequently to retry connecting with RabbitMQ. (integer value)
1686-#rabbit_retry_interval = 1
1687-
1688-# How long to backoff for between retries when connecting to RabbitMQ. (integer
1689-# value)
1690-# Deprecated group/name - [DEFAULT]/rabbit_retry_backoff
1691-#rabbit_retry_backoff = 2
1692-
1693-# Maximum interval of RabbitMQ connection retries. Default is 30 seconds.
1694-# (integer value)
1695-#rabbit_interval_max = 30
1696-
1697-# Maximum number of RabbitMQ connection retries. Default is 0 (infinite retry
1698-# count). (integer value)
1699-# Deprecated group/name - [DEFAULT]/rabbit_max_retries
1700-#rabbit_max_retries = 0
1701-
1702-# Try to use HA queues in RabbitMQ (x-ha-policy: all). If you change this
1703-# option, you must wipe the RabbitMQ database. In RabbitMQ 3.0, queue mirroring
1704-# is no longer controlled by the x-ha-policy argument when declaring a queue.
1705-# If you just want to make sure that all queues (except those with auto-
1706-# generated names) are mirrored across all nodes, run: "rabbitmqctl set_policy
1707-# HA '^(?!amq\.).*' '{"ha-mode": "all"}' " (boolean value)
1708-# Deprecated group/name - [DEFAULT]/rabbit_ha_queues
1709-#rabbit_ha_queues = false
1710-
1711-# Positive integer representing duration in seconds for queue TTL (x-expires).
1712-# Queues which are unused for the duration of the TTL are automatically
1713-# deleted. The parameter affects only reply and fanout queues. (integer value)
1714-# Minimum value: 1
1715-#rabbit_transient_queues_ttl = 1800
1716-
1717-# Specifies the number of messages to prefetch. Setting to zero allows
1718-# unlimited messages. (integer value)
1719-#rabbit_qos_prefetch_count = 0
1720-
1721-# Number of seconds after which the Rabbit broker is considered down if
1722-# heartbeat's keep-alive fails (0 disable the heartbeat). EXPERIMENTAL (integer
1723-# value)
1724-#heartbeat_timeout_threshold = 60
1725-
1726-# How often times during the heartbeat_timeout_threshold we check the
1727-# heartbeat. (integer value)
1728-#heartbeat_rate = 2
1729-
1730-# Deprecated, use rpc_backend=kombu+memory or rpc_backend=fake (boolean value)
1731-# Deprecated group/name - [DEFAULT]/fake_rabbit
1732-#fake_rabbit = false
1733-
1734-# Maximum number of channels to allow (integer value)
1735-#channel_max = <None>
1736-
1737-# The maximum byte size for an AMQP frame (integer value)
1738-#frame_max = <None>
1739-
1740-# How often to send heartbeats for consumer's connections (integer value)
1741-#heartbeat_interval = 1
1742-
1743-# Enable SSL (boolean value)
1744-#ssl = <None>
1745-
1746-# Arguments passed to ssl.wrap_socket (dict value)
1747-#ssl_options = <None>
1748-
1749-# Set socket timeout in seconds for connection's socket (floating point value)
1750-#socket_timeout = 0.25
1751-
1752-# Set TCP_USER_TIMEOUT in seconds for connection's socket (floating point
1753-# value)
1754-#tcp_user_timeout = 0.25
1755-
1756-# Set delay for reconnection to some host which has connection error (floating
1757-# point value)
1758-#host_connection_reconnect_delay = 0.25
1759-
1760-# Maximum number of connections to keep queued. (integer value)
1761-#pool_max_size = 10
1762-
1763-# Maximum number of connections to create above `pool_max_size`. (integer
1764-# value)
1765-#pool_max_overflow = 0
1766-
1767-# Default number of seconds to wait for a connections to available (integer
1768-# value)
1769-#pool_timeout = 30
1770-
1771-# Lifetime of a connection (since creation) in seconds or None for no
1772-# recycling. Expired connections are closed on acquire. (integer value)
1773-#pool_recycle = 600
1774-
1775-# Threshold at which inactive (since release) connections are considered stale
1776-# in seconds or None for no staleness. Stale connections are closed on acquire.
1777-# (integer value)
1778-#pool_stale = 60
1779-
1780-# Persist notification messages. (boolean value)
1781-#notification_persistence = false
1782-
1783-# Exchange name for for sending notifications (string value)
1784-#default_notification_exchange = ${control_exchange}_notification
1785-
1786-# Max number of not acknowledged message which RabbitMQ can send to
1787-# notification listener. (integer value)
1788-#notification_listener_prefetch_count = 100
1789-
1790-# Reconnecting retry count in case of connectivity problem during sending
1791-# notification, -1 means infinite retry. (integer value)
1792-#default_notification_retry_attempts = -1
1793-
1794-# Reconnecting retry delay in case of connectivity problem during sending
1795-# notification message (floating point value)
1796-#notification_retry_delay = 0.25
1797-
1798-# Time to live for rpc queues without consumers in seconds. (integer value)
1799-#rpc_queue_expiration = 60
1800-
1801-# Exchange name for sending RPC messages (string value)
1802-#default_rpc_exchange = ${control_exchange}_rpc
1803-
1804-# Exchange name for receiving RPC replies (string value)
1805-#rpc_reply_exchange = ${control_exchange}_rpc_reply
1806-
1807-# Max number of not acknowledged message which RabbitMQ can send to rpc
1808-# listener. (integer value)
1809-#rpc_listener_prefetch_count = 100
1810-
1811-# Max number of not acknowledged message which RabbitMQ can send to rpc reply
1812-# listener. (integer value)
1813-#rpc_reply_listener_prefetch_count = 100
1814-
1815-# Reconnecting retry count in case of connectivity problem during sending
1816-# reply. -1 means infinite retry during rpc_timeout (integer value)
1817-#rpc_reply_retry_attempts = -1
1818-
1819-# Reconnecting retry delay in case of connectivity problem during sending
1820-# reply. (floating point value)
1821-#rpc_reply_retry_delay = 0.25
1822-
1823-# Reconnecting retry count in case of connectivity problem during sending RPC
1824-# message, -1 means infinite retry. If actual retry attempts in not 0 the rpc
1825-# request could be processed more then one time (integer value)
1826-#default_rpc_retry_attempts = -1
1827-
1828-# Reconnecting retry delay in case of connectivity problem during sending RPC
1829-# message (floating point value)
1830-#rpc_retry_delay = 0.25
1831-
1832-
1833 [oslo_middleware]
1834-
1835-#
1836-# From oslo.middleware
1837-#
1838-
1839-# The maximum body size for each request, in bytes. (integer value)
1840-# Deprecated group/name - [DEFAULT]/osapi_max_request_body_size
1841-# Deprecated group/name - [DEFAULT]/max_request_body_size
1842-#max_request_body_size = 114688
1843-
1844-# The HTTP Header that will be used to determine what the original request
1845-# protocol scheme was, even if it was hidden by an SSL termination proxy.
1846-# (string value)
1847-# This option is deprecated for removal.
1848-# Its value may be silently ignored in the future.
1849-#secure_proxy_ssl_header = X-Forwarded-Proto
1850-
1851-
1852 [oslo_policy]
1853-
1854-#
1855-# From oslo.policy
1856-#
1857-
1858-# The JSON file that defines policies. (string value)
1859-# Deprecated group/name - [DEFAULT]/policy_file
1860-#policy_file = policy.json
1861-
1862-# Default rule. Enforced when a requested rule is not found. (string value)
1863-# Deprecated group/name - [DEFAULT]/policy_default_rule
1864-#policy_default_rule = default
1865-
1866-# Directories where policy configuration files are stored. They can be relative
1867-# to any directory in the search path defined by the config_dir option, or
1868-# absolute paths. The file defined by policy_file must exist for these
1869-# directories to be searched. Missing or empty directories are ignored. (multi
1870-# valued)
1871-# Deprecated group/name - [DEFAULT]/policy_dirs
1872-#policy_dirs = policy.d
1873-
1874-
1875 [paste_deploy]
1876
1877-#
1878-# From keystone
1879-#
1880-
1881-# Name of the paste configuration file that defines the available pipelines.
1882-# (string value)
1883-#config_file = keystone-paste.ini
1884-
1885-
1886 [policy]
1887-
1888-#
1889-# From keystone
1890-#
1891-
1892-# Entrypoint for the policy backend driver in the keystone.policy namespace.
1893-# Supplied drivers are rules and sql. (string value)
1894-#driver = sql
1895-
1896-# Maximum number of entities that will be returned in a policy collection.
1897-# (integer value)
1898-#list_limit = <None>
1899-
1900+driver = rules
1901
1902 [resource]
1903-
1904-#
1905-# From keystone
1906-#
1907-
1908-# Entrypoint for the resource backend driver in the keystone.resource
1909-# namespace. Only an SQL driver is supplied. If a resource driver is not
1910-# specified, the assignment driver will choose the resource driver. (string
1911-# value)
1912-#driver = <None>
1913-
1914-# Toggle for resource caching. This has no effect unless global caching is
1915-# enabled. (boolean value)
1916-# Deprecated group/name - [assignment]/caching
1917-#caching = true
1918-
1919-# TTL (in seconds) to cache resource data. This has no effect unless global
1920-# caching is enabled. (integer value)
1921-# Deprecated group/name - [assignment]/cache_time
1922-#cache_time = <None>
1923-
1924-# Maximum number of entities that will be returned in a resource collection.
1925-# (integer value)
1926-# Deprecated group/name - [assignment]/list_limit
1927-#list_limit = <None>
1928-
1929-# Name of the domain that owns the `admin_project_name`. Defaults to None.
1930-# (string value)
1931-#admin_project_domain_name = <None>
1932-
1933-# Special project for performing administrative operations on remote services.
1934-# Tokens scoped to this project will contain the key/value
1935-# `is_admin_project=true`. Defaults to None. (string value)
1936-#admin_project_name = <None>
1937-
1938-# Whether the names of projects are restricted from containing url reserved
1939-# characters. If set to new, attempts to create or update a project with a url
1940-# unsafe name will return an error. In addition, if set to strict, attempts to
1941-# scope a token using an unsafe project name will return an error. (string
1942-# value)
1943-# Allowed values: off, new, strict
1944-#project_name_url_safe = off
1945-
1946-# Whether the names of domains are restricted from containing url reserved
1947-# characters. If set to new, attempts to create or update a domain with a url
1948-# unsafe name will return an error. In addition, if set to strict, attempts to
1949-# scope a token using a domain name which is unsafe will return an error.
1950-# (string value)
1951-# Allowed values: off, new, strict
1952-#domain_name_url_safe = off
1953-
1954-
1955 [revoke]
1956-
1957-#
1958-# From keystone
1959-#
1960-
1961-# Entrypoint for an implementation of the backend for persisting revocation
1962-# events in the keystone.revoke namespace. Supplied drivers are kvs and sql.
1963-# (string value)
1964-#driver = sql
1965-
1966-# This value (calculated in seconds) is added to token expiration before a
1967-# revocation event may be removed from the backend. (integer value)
1968-#expiration_buffer = 1800
1969-
1970-# Toggle for revocation event caching. This has no effect unless global caching
1971-# is enabled. (boolean value)
1972-#caching = true
1973-
1974-# Time to cache the revocation list and the revocation events (in seconds).
1975-# This has no effect unless global and token caching are enabled. (integer
1976-# value)
1977-# Deprecated group/name - [token]/revocation_cache_time
1978-#cache_time = 3600
1979-
1980-
1981 [role]
1982-
1983-#
1984-# From keystone
1985-#
1986-
1987-# Entrypoint for the role backend driver in the keystone.role namespace.
1988-# Supplied drivers are ldap and sql. (string value)
1989-#driver = <None>
1990-
1991-# Toggle for role caching. This has no effect unless global caching is enabled.
1992-# (boolean value)
1993-#caching = true
1994-
1995-# TTL (in seconds) to cache role data. This has no effect unless global caching
1996-# is enabled. (integer value)
1997-#cache_time = <None>
1998-
1999-# Maximum number of entities that will be returned in a role collection.
2000-# (integer value)
2001-#list_limit = <None>
2002-
2003-
2004 [saml]
2005-
2006-#
2007-# From keystone
2008-#
2009-
2010-# Default TTL, in seconds, for any generated SAML assertion created by
2011-# Keystone. (integer value)
2012-#assertion_expiration_time = 3600
2013-
2014-# Binary to be called for XML signing. Install the appropriate package, specify
2015-# absolute path or adjust your PATH environment variable if the binary cannot
2016-# be found. (string value)
2017-#xmlsec1_binary = xmlsec1
2018-
2019-# Path of the certfile for SAML signing. For non-production environments, you
2020-# may be interested in using `keystone-manage pki_setup` to generate self-
2021-# signed certificates. Note, the path cannot contain a comma. (string value)
2022-#certfile = /etc/keystone/ssl/certs/signing_cert.pem
2023-
2024-# Path of the keyfile for SAML signing. Note, the path cannot contain a comma.
2025-# (string value)
2026-#keyfile = /etc/keystone/ssl/private/signing_key.pem
2027-
2028-# Entity ID value for unique Identity Provider identification. Usually FQDN is
2029-# set with a suffix. A value is required to generate IDP Metadata. For example:
2030-# https://keystone.example.com/v3/OS-FEDERATION/saml2/idp (string value)
2031-#idp_entity_id = <None>
2032-
2033-# Identity Provider Single-Sign-On service value, required in the Identity
2034-# Provider's metadata. A value is required to generate IDP Metadata. For
2035-# example: https://keystone.example.com/v3/OS-FEDERATION/saml2/sso (string
2036-# value)
2037-#idp_sso_endpoint = <None>
2038-
2039-# Language used by the organization. (string value)
2040-#idp_lang = en
2041-
2042-# Organization name the installation belongs to. (string value)
2043-#idp_organization_name = <None>
2044-
2045-# Organization name to be displayed. (string value)
2046-#idp_organization_display_name = <None>
2047-
2048-# URL of the organization. (string value)
2049-#idp_organization_url = <None>
2050-
2051-# Company of contact person. (string value)
2052-#idp_contact_company = <None>
2053-
2054-# Given name of contact person (string value)
2055-#idp_contact_name = <None>
2056-
2057-# Surname of contact person. (string value)
2058-#idp_contact_surname = <None>
2059-
2060-# Email address of contact person. (string value)
2061-#idp_contact_email = <None>
2062-
2063-# Telephone number of contact person. (string value)
2064-#idp_contact_telephone = <None>
2065-
2066-# The contact type describing the main point of contact for the identity
2067-# provider. (string value)
2068-# Allowed values: technical, support, administrative, billing, other
2069-#idp_contact_type = other
2070-
2071-# Path to the Identity Provider Metadata file. This file should be generated
2072-# with the keystone-manage saml_idp_metadata command. (string value)
2073-#idp_metadata_path = /etc/keystone/saml2_idp_metadata.xml
2074-
2075-# The prefix to use for the RelayState SAML attribute, used when generating ECP
2076-# wrapped assertions. (string value)
2077-#relay_state_prefix = ss:mem:
2078-
2079-
2080 [shadow_users]
2081-
2082-#
2083-# From keystone
2084-#
2085-
2086-# Entrypoint for the shadow users backend driver in the
2087-# keystone.identity.shadow_users namespace. (string value)
2088-#driver = sql
2089-
2090-
2091 [signing]
2092-
2093-#
2094-# From keystone
2095-#
2096-
2097-# Path of the certfile for token signing. For non-production environments, you
2098-# may be interested in using `keystone-manage pki_setup` to generate self-
2099-# signed certificates. (string value)
2100-# This option is deprecated for removal.
2101-# Its value may be silently ignored in the future.
2102-# Reason: PKI token support has been deprecated in the M release and will be
2103-# removed in the O release. Fernet or UUID tokens are recommended.
2104-#certfile = /etc/keystone/ssl/certs/signing_cert.pem
2105-
2106-# Path of the keyfile for token signing. (string value)
2107-# This option is deprecated for removal.
2108-# Its value may be silently ignored in the future.
2109-# Reason: PKI token support has been deprecated in the M release and will be
2110-# removed in the O release. Fernet or UUID tokens are recommended.
2111-#keyfile = /etc/keystone/ssl/private/signing_key.pem
2112-
2113-# Path of the CA for token signing. (string value)
2114-# This option is deprecated for removal.
2115-# Its value may be silently ignored in the future.
2116-# Reason: PKI token support has been deprecated in the M release and will be
2117-# removed in the O release. Fernet or UUID tokens are recommended.
2118-#ca_certs = /etc/keystone/ssl/certs/ca.pem
2119-
2120-# Path of the CA key for token signing. (string value)
2121-# This option is deprecated for removal.
2122-# Its value may be silently ignored in the future.
2123-# Reason: PKI token support has been deprecated in the M release and will be
2124-# removed in the O release. Fernet or UUID tokens are recommended.
2125-#ca_key = /etc/keystone/ssl/private/cakey.pem
2126-
2127-# Key size (in bits) for token signing cert (auto generated certificate).
2128-# (integer value)
2129-# Minimum value: 1024
2130-# This option is deprecated for removal.
2131-# Its value may be silently ignored in the future.
2132-# Reason: PKI token support has been deprecated in the M release and will be
2133-# removed in the O release. Fernet or UUID tokens are recommended.
2134-#key_size = 2048
2135-
2136-# Days the token signing cert is valid for (auto generated certificate).
2137-# (integer value)
2138-# This option is deprecated for removal.
2139-# Its value may be silently ignored in the future.
2140-# Reason: PKI token support has been deprecated in the M release and will be
2141-# removed in the O release. Fernet or UUID tokens are recommended.
2142-#valid_days = 3650
2143-
2144-# Certificate subject (auto generated certificate) for token signing. (string
2145-# value)
2146-# This option is deprecated for removal.
2147-# Its value may be silently ignored in the future.
2148-# Reason: PKI token support has been deprecated in the M release and will be
2149-# removed in the O release. Fernet or UUID tokens are recommended.
2150-#cert_subject = /C=US/ST=Unset/L=Unset/O=Unset/CN=www.example.com
2151-
2152-
2153 [ssl]
2154
2155-#
2156-# From keystone
2157-#
2158-
2159-# Path of the CA key file for SSL. (string value)
2160-#ca_key = /etc/keystone/ssl/private/cakey.pem
2161-
2162-# SSL key length (in bits) (auto generated certificate). (integer value)
2163-# Minimum value: 1024
2164-#key_size = 1024
2165-
2166-# Days the certificate is valid for once signed (auto generated certificate).
2167-# (integer value)
2168-#valid_days = 3650
2169-
2170-# SSL certificate subject (auto generated certificate). (string value)
2171-#cert_subject = /C=US/ST=Unset/L=Unset/O=Unset/CN=localhost
2172-
2173-
2174 [token]
2175-
2176-#
2177-# From keystone
2178-#
2179-
2180-# External auth mechanisms that should add bind information to token, e.g.,
2181-# kerberos,x509. (list value)
2182-#bind =
2183-
2184-# Enforcement policy on tokens presented to Keystone with bind information. One
2185-# of disabled, permissive, strict, required or a specifically required bind
2186-# mode, e.g., kerberos or x509 to require binding to that authentication.
2187-# (string value)
2188-#enforce_token_bind = permissive
2189-
2190-# Amount of time a token should remain valid (in seconds). (integer value)
2191-#expiration = 3600
2192-
2193-# Controls the token construction, validation, and revocation operations.
2194-# Entrypoint in the keystone.token.provider namespace. Core providers are
2195-# [fernet|pkiz|pki|uuid]. (string value)
2196-#provider = uuid
2197-
2198-# Entrypoint for the token persistence backend driver in the
2199-# keystone.token.persistence namespace. Supplied drivers are kvs, memcache,
2200-# memcache_pool, and sql. (string value)
2201-#driver = sql
2202-
2203-# Toggle for token system caching. This has no effect unless global caching is
2204-# enabled. (boolean value)
2205-#caching = true
2206-
2207-# Time to cache tokens (in seconds). This has no effect unless global and token
2208-# caching are enabled. (integer value)
2209-#cache_time = <None>
2210-
2211-# Revoke token by token identifier. Setting revoke_by_id to true enables
2212-# various forms of enumerating tokens, e.g. `list tokens for user`. These
2213-# enumerations are processed to determine the list of tokens to revoke. Only
2214-# disable if you are switching to using the Revoke extension with a backend
2215-# other than KVS, which stores events in memory. (boolean value)
2216-#revoke_by_id = true
2217-
2218-# Allow rescoping of scoped token. Setting allow_rescoped_scoped_token to false
2219-# prevents a user from exchanging a scoped token for any other token. (boolean
2220-# value)
2221-#allow_rescope_scoped_token = true
2222-
2223-# The hash algorithm to use for PKI tokens. This can be set to any algorithm
2224-# that hashlib supports. WARNING: Before changing this value, the auth_token
2225-# middleware must be configured with the hash_algorithms, otherwise token
2226-# revocation will not be processed correctly. (string value)
2227-# This option is deprecated for removal.
2228-# Its value may be silently ignored in the future.
2229-# Reason: PKI token support has been deprecated in the M release and will be
2230-# removed in the O release. Fernet or UUID tokens are recommended.
2231-#hash_algorithm = md5
2232-
2233-# Add roles to token that are not explicitly added, but that are linked
2234-# implicitly to other roles. (boolean value)
2235-#infer_roles = true
2236-
2237+provider = uuid
2238+driver = sql
2239+expiration = 613440
2240
2241 [tokenless_auth]
2242-
2243-#
2244-# From keystone
2245-#
2246-
2247-# The list of trusted issuers to further filter the certificates that are
2248-# allowed to participate in the X.509 tokenless authorization. If the option is
2249-# absent then no certificates will be allowed. The naming format for the
2250-# attributes of a Distinguished Name(DN) must be separated by a comma and
2251-# contain no spaces. This configuration option may be repeated for multiple
2252-# values. For example: trusted_issuer=CN=john,OU=keystone,O=openstack
2253-# trusted_issuer=CN=mary,OU=eng,O=abc (multi valued)
2254-#trusted_issuer =
2255-
2256-# The protocol name for the X.509 tokenless authorization along with the option
2257-# issuer_attribute below can look up its corresponding mapping. (string value)
2258-#protocol = x509
2259-
2260-# The issuer attribute that is served as an IdP ID for the X.509 tokenless
2261-# authorization along with the protocol to look up its corresponding mapping.
2262-# It is the environment variable in the WSGI environment that references to the
2263-# issuer of the client certificate. (string value)
2264-#issuer_attribute = SSL_CLIENT_I_DN
2265-
2266-
2267 [trust]
2268
2269-#
2270-# From keystone
2271-#
2272-
2273-# Delegation and impersonation features can be optionally disabled. (boolean
2274-# value)
2275-#enabled = true
2276-
2277-# Enable redelegation feature. (boolean value)
2278-#allow_redelegation = false
2279-
2280-# Maximum depth of trust redelegation. (integer value)
2281-#max_redelegation_count = 3
2282-
2283-# Entrypoint for the trust backend driver in the keystone.trust namespace.
2284-# (string value)
2285-#driver = sql
2286+[wmfhooks]
2287+admin_pass = JB2RPx9XissA9mg-changeMe?
2288+auth_url = http://labcontrol1004.wikimedia.org:35357/v3
2289
2290Info: Computing checksum on file /etc/keystone/keystone.conf
2291Info: /Stage[main]/Openstack::Keystone::Service/File[/etc/keystone/keystone.conf]: Filebucketed /etc/keystone/keystone.conf to puppet with sum a487efd2e029e57ed56c88008d67170a
2292Notice: /Stage[main]/Openstack::Keystone::Service/File[/etc/keystone/keystone.conf]/content: content changed '{md5}a487efd2e029e57ed56c88008d67170a' to '{md5}cd128b7a98ff7eddc478bcf47fa8fc5c'
2293Notice: /Stage[main]/Openstack::Keystone::Service/File[/etc/keystone/keystone.conf]/mode: mode changed '0640' to '0444'
2294Info: /Stage[main]/Openstack::Keystone::Service/File[/etc/keystone/keystone.conf]: Scheduling refresh of Service[keystone]
2295Info: /Stage[main]/Openstack::Keystone::Service/File[/etc/keystone/keystone.conf]: Scheduling refresh of Service[keystone]
2296Notice: /Stage[main]/Openstack::Keystone::Service/File[/etc/keystone/keystone-paste.ini]/content:
2297--- /etc/keystone/keystone-paste.ini 2016-04-05 19:32:54.000000000 +0000
2298+++ /tmp/puppet-file20180612-33512-1fq9uce 2018-06-12 11:55:19.524061459 +0000
2299@@ -1,29 +1,23 @@
2300 # Keystone PasteDeploy configuration file.
2301
2302 [filter:debug]
2303-use = egg:oslo.middleware#debug
2304+use = egg:keystone#debug
2305
2306 [filter:request_id]
2307-use = egg:oslo.middleware#request_id
2308-
2309-[filter:build_auth_context]
2310-use = egg:keystone#build_auth_context
2311+use = egg:keystone#request_id
2312
2313 [filter:token_auth]
2314 use = egg:keystone#token_auth
2315
2316+[filter:build_auth_context]
2317+use = egg:keystone#build_auth_context
2318+
2319 [filter:admin_token_auth]
2320-# This is deprecated in the M release and will be removed in the O release.
2321-# Use `keystone-manage bootstrap` and remove this from the pipelines below.
2322 use = egg:keystone#admin_token_auth
2323
2324 [filter:json_body]
2325 use = egg:keystone#json_body
2326
2327-[filter:cors]
2328-use = egg:oslo.middleware#cors
2329-oslo_config_project = keystone
2330-
2331 [filter:ec2_extension]
2332 use = egg:keystone#ec2_extension
2333
2334@@ -33,11 +27,14 @@
2335 [filter:s3_extension]
2336 use = egg:keystone#s3_extension
2337
2338+[filter:simple_cert_extension]
2339+use = egg:keystone#simple_cert_extension
2340+
2341 [filter:url_normalize]
2342 use = egg:keystone#url_normalize
2343
2344 [filter:sizelimit]
2345-use = egg:oslo.middleware#sizelimit
2346+use = egg:keystone#sizelimit
2347
2348 [app:public_service]
2349 use = egg:keystone#public_service
2350@@ -51,17 +48,17 @@
2351 [pipeline:public_api]
2352 # The last item in this pipeline must be public_service or an equivalent
2353 # application. It cannot be a filter.
2354-pipeline = cors sizelimit url_normalize request_id admin_token_auth build_auth_context token_auth json_body ec2_extension public_service
2355+pipeline = sizelimit url_normalize request_id build_auth_context token_auth json_body ec2_extension public_service
2356
2357 [pipeline:admin_api]
2358 # The last item in this pipeline must be admin_service or an equivalent
2359 # application. It cannot be a filter.
2360-pipeline = cors sizelimit url_normalize request_id admin_token_auth build_auth_context token_auth json_body ec2_extension s3_extension admin_service
2361+pipeline = sizelimit url_normalize request_id build_auth_context token_auth json_body ec2_extension s3_extension admin_service
2362
2363 [pipeline:api_v3]
2364 # The last item in this pipeline must be service_v3 or an equivalent
2365 # application. It cannot be a filter.
2366-pipeline = cors sizelimit url_normalize request_id admin_token_auth build_auth_context token_auth json_body ec2_extension_v3 s3_extension service_v3
2367+pipeline = sizelimit url_normalize request_id build_auth_context token_auth json_body ec2_extension_v3 s3_extension simple_cert_extension service_v3
2368
2369 [app:public_version_service]
2370 use = egg:keystone#public_version_service
2371@@ -70,10 +67,10 @@
2372 use = egg:keystone#admin_version_service
2373
2374 [pipeline:public_version_api]
2375-pipeline = cors sizelimit url_normalize public_version_service
2376+pipeline = sizelimit url_normalize public_version_service
2377
2378 [pipeline:admin_version_api]
2379-pipeline = cors sizelimit url_normalize admin_version_service
2380+pipeline = sizelimit url_normalize admin_version_service
2381
2382 [composite:main]
2383 use = egg:Paste#urlmap
2384
2385Info: Computing checksum on file /etc/keystone/keystone-paste.ini
2386Info: FileBucket got a duplicate file {md5}e68b0c5330ef0e5eaafbc478d5b49ae0
2387Info: /Stage[main]/Openstack::Keystone::Service/File[/etc/keystone/keystone-paste.ini]: Filebucketed /etc/keystone/keystone-paste.ini to puppet with sum e68b0c5330ef0e5eaafbc478d5b49ae0
2388Notice: /Stage[main]/Openstack::Keystone::Service/File[/etc/keystone/keystone-paste.ini]/content: content changed '{md5}e68b0c5330ef0e5eaafbc478d5b49ae0' to '{md5}6d52c410f8a0b8d408a7f95cd526964c'
2389Info: /Stage[main]/Openstack::Keystone::Service/File[/etc/keystone/keystone-paste.ini]: Scheduling refresh of Service[keystone]
2390Notice: /Stage[main]/Openstack::Keystone::Service/File[/etc/keystone/policy.json]/content:
2391--- /etc/keystone/policy.json 2016-04-05 19:32:54.000000000 +0000
2392+++ /tmp/puppet-file20180612-33512-7of5tf 2018-06-12 11:55:19.736063490 +0000
2393@@ -6,48 +6,47 @@
2394 "admin_or_owner": "rule:admin_required or rule:owner",
2395 "token_subject": "user_id:%(target.token.user_id)s",
2396 "admin_or_token_subject": "rule:admin_required or rule:token_subject",
2397- "service_admin_or_token_subject": "rule:service_or_admin or rule:token_subject",
2398-
2399+
2400 "default": "rule:admin_required",
2401-
2402+
2403 "identity:get_region": "",
2404- "identity:list_regions": "",
2405+ "identity:list_regions": "rule:admin_required",
2406 "identity:create_region": "rule:admin_required",
2407 "identity:update_region": "rule:admin_required",
2408 "identity:delete_region": "rule:admin_required",
2409-
2410- "identity:get_service": "rule:admin_required",
2411- "identity:list_services": "rule:admin_required",
2412+
2413+ "identity:get_service": "",
2414+ "identity:list_services": "",
2415 "identity:create_service": "rule:admin_required",
2416 "identity:update_service": "rule:admin_required",
2417 "identity:delete_service": "rule:admin_required",
2418-
2419- "identity:get_endpoint": "rule:admin_required",
2420- "identity:list_endpoints": "rule:admin_required",
2421+
2422+ "identity:get_endpoint": "",
2423+ "identity:list_endpoints": "",
2424 "identity:create_endpoint": "rule:admin_required",
2425 "identity:update_endpoint": "rule:admin_required",
2426 "identity:delete_endpoint": "rule:admin_required",
2427-
2428+
2429 "identity:get_domain": "rule:admin_required",
2430 "identity:list_domains": "rule:admin_required",
2431 "identity:create_domain": "rule:admin_required",
2432 "identity:update_domain": "rule:admin_required",
2433 "identity:delete_domain": "rule:admin_required",
2434-
2435- "identity:get_project": "rule:admin_required or project_id:%(target.project.id)s",
2436- "identity:list_projects": "rule:admin_required",
2437- "identity:list_user_projects": "rule:admin_or_owner",
2438+
2439+ "identity:get_project": "rule:admin_required",
2440+ "identity:list_projects": "",
2441+ "identity:list_user_projects": "",
2442 "identity:create_project": "rule:admin_required",
2443 "identity:update_project": "rule:admin_required",
2444 "identity:delete_project": "rule:admin_required",
2445-
2446- "identity:get_user": "rule:admin_required",
2447- "identity:list_users": "rule:admin_required",
2448+
2449+ "identity:get_user": "",
2450+ "identity:list_users": "",
2451 "identity:create_user": "rule:admin_required",
2452 "identity:update_user": "rule:admin_required",
2453 "identity:delete_user": "rule:admin_required",
2454 "identity:change_password": "rule:admin_or_owner",
2455-
2456+
2457 "identity:get_group": "rule:admin_required",
2458 "identity:list_groups": "rule:admin_required",
2459 "identity:list_groups_for_user": "rule:admin_or_owner",
2460@@ -58,81 +57,68 @@
2461 "identity:remove_user_from_group": "rule:admin_required",
2462 "identity:check_user_in_group": "rule:admin_required",
2463 "identity:add_user_to_group": "rule:admin_required",
2464-
2465+
2466 "identity:get_credential": "rule:admin_required",
2467 "identity:list_credentials": "rule:admin_required",
2468 "identity:create_credential": "rule:admin_required",
2469 "identity:update_credential": "rule:admin_required",
2470 "identity:delete_credential": "rule:admin_required",
2471-
2472+
2473 "identity:ec2_get_credential": "rule:admin_required or (rule:owner and user_id:%(target.credential.user_id)s)",
2474 "identity:ec2_list_credentials": "rule:admin_or_owner",
2475 "identity:ec2_create_credential": "rule:admin_or_owner",
2476 "identity:ec2_delete_credential": "rule:admin_required or (rule:owner and user_id:%(target.credential.user_id)s)",
2477-
2478- "identity:get_role": "rule:admin_required",
2479- "identity:list_roles": "rule:admin_required",
2480+
2481+ "identity:get_role": "",
2482+ "identity:list_roles": "",
2483 "identity:create_role": "rule:admin_required",
2484 "identity:update_role": "rule:admin_required",
2485 "identity:delete_role": "rule:admin_required",
2486- "identity:get_domain_role": "rule:admin_required",
2487- "identity:list_domain_roles": "rule:admin_required",
2488- "identity:create_domain_role": "rule:admin_required",
2489- "identity:update_domain_role": "rule:admin_required",
2490- "identity:delete_domain_role": "rule:admin_required",
2491-
2492- "identity:get_implied_role": "rule:admin_required ",
2493- "identity:list_implied_roles": "rule:admin_required",
2494- "identity:create_implied_role": "rule:admin_required",
2495- "identity:delete_implied_role": "rule:admin_required",
2496- "identity:list_role_inference_rules": "rule:admin_required",
2497- "identity:check_implied_role": "rule:admin_required",
2498-
2499+
2500 "identity:check_grant": "rule:admin_required",
2501 "identity:list_grants": "rule:admin_required",
2502 "identity:create_grant": "rule:admin_required",
2503 "identity:revoke_grant": "rule:admin_required",
2504-
2505- "identity:list_role_assignments": "rule:admin_required",
2506- "identity:list_role_assignments_for_tree": "rule:admin_required",
2507-
2508+
2509+ "identity:list_role_assignments": "",
2510+
2511 "identity:get_policy": "rule:admin_required",
2512 "identity:list_policies": "rule:admin_required",
2513 "identity:create_policy": "rule:admin_required",
2514 "identity:update_policy": "rule:admin_required",
2515 "identity:delete_policy": "rule:admin_required",
2516-
2517+
2518 "identity:check_token": "rule:admin_or_token_subject",
2519 "identity:validate_token": "rule:service_admin_or_token_subject",
2520 "identity:validate_token_head": "rule:service_or_admin",
2521 "identity:revocation_list": "rule:service_or_admin",
2522 "identity:revoke_token": "rule:admin_or_token_subject",
2523-
2524+
2525 "identity:create_trust": "user_id:%(trust.trustor_user_id)s",
2526- "identity:list_trusts": "",
2527+ "identity:list_trusts": "rule:admin_required",
2528 "identity:list_roles_for_trust": "",
2529 "identity:get_role_for_trust": "",
2530 "identity:delete_trust": "",
2531-
2532+
2533 "identity:create_consumer": "rule:admin_required",
2534 "identity:get_consumer": "rule:admin_required",
2535 "identity:list_consumers": "rule:admin_required",
2536 "identity:delete_consumer": "rule:admin_required",
2537 "identity:update_consumer": "rule:admin_required",
2538-
2539+
2540 "identity:authorize_request_token": "rule:admin_required",
2541 "identity:list_access_token_roles": "rule:admin_required",
2542 "identity:get_access_token_role": "rule:admin_required",
2543 "identity:list_access_tokens": "rule:admin_required",
2544 "identity:get_access_token": "rule:admin_required",
2545 "identity:delete_access_token": "rule:admin_required",
2546-
2547+
2548 "identity:list_projects_for_endpoint": "rule:admin_required",
2549 "identity:add_endpoint_to_project": "rule:admin_required",
2550 "identity:check_endpoint_in_project": "rule:admin_required",
2551 "identity:list_endpoints_for_project": "rule:admin_required",
2552 "identity:remove_endpoint_from_project": "rule:admin_required",
2553-
2554+
2555 "identity:create_endpoint_group": "rule:admin_required",
2556 "identity:list_endpoint_groups": "rule:admin_required",
2557 "identity:get_endpoint_group": "rule:admin_required",
2558@@ -144,40 +130,40 @@
2559 "identity:list_endpoint_groups_for_project": "rule:admin_required",
2560 "identity:add_endpoint_group_to_project": "rule:admin_required",
2561 "identity:remove_endpoint_group_from_project": "rule:admin_required",
2562-
2563+
2564 "identity:create_identity_provider": "rule:admin_required",
2565 "identity:list_identity_providers": "rule:admin_required",
2566 "identity:get_identity_providers": "rule:admin_required",
2567 "identity:update_identity_provider": "rule:admin_required",
2568 "identity:delete_identity_provider": "rule:admin_required",
2569-
2570+
2571 "identity:create_protocol": "rule:admin_required",
2572 "identity:update_protocol": "rule:admin_required",
2573 "identity:get_protocol": "rule:admin_required",
2574 "identity:list_protocols": "rule:admin_required",
2575 "identity:delete_protocol": "rule:admin_required",
2576-
2577+
2578 "identity:create_mapping": "rule:admin_required",
2579 "identity:get_mapping": "rule:admin_required",
2580 "identity:list_mappings": "rule:admin_required",
2581 "identity:delete_mapping": "rule:admin_required",
2582 "identity:update_mapping": "rule:admin_required",
2583-
2584+
2585 "identity:create_service_provider": "rule:admin_required",
2586 "identity:list_service_providers": "rule:admin_required",
2587 "identity:get_service_provider": "rule:admin_required",
2588 "identity:update_service_provider": "rule:admin_required",
2589 "identity:delete_service_provider": "rule:admin_required",
2590-
2591+
2592 "identity:get_auth_catalog": "",
2593 "identity:get_auth_projects": "",
2594 "identity:get_auth_domains": "",
2595-
2596+
2597 "identity:list_projects_for_groups": "",
2598 "identity:list_domains_for_groups": "",
2599-
2600+
2601 "identity:list_revoke_events": "",
2602-
2603+
2604 "identity:create_policy_association_for_endpoint": "rule:admin_required",
2605 "identity:check_policy_association_for_endpoint": "rule:admin_required",
2606 "identity:delete_policy_association_for_endpoint": "rule:admin_required",
2607@@ -189,10 +175,9 @@
2608 "identity:delete_policy_association_for_region_and_service": "rule:admin_required",
2609 "identity:get_policy_for_endpoint": "rule:admin_required",
2610 "identity:list_endpoints_for_policy": "rule:admin_required",
2611-
2612+
2613 "identity:create_domain_config": "rule:admin_required",
2614 "identity:get_domain_config": "rule:admin_required",
2615 "identity:update_domain_config": "rule:admin_required",
2616- "identity:delete_domain_config": "rule:admin_required",
2617- "identity:get_domain_config_default": "rule:admin_required"
2618+ "identity:delete_domain_config": "rule:admin_required"
2619 }
2620
2621Info: Computing checksum on file /etc/keystone/policy.json
2622Info: FileBucket got a duplicate file {md5}eb1e23ac34378d076ef3de993b756a53
2623Info: /Stage[main]/Openstack::Keystone::Service/File[/etc/keystone/policy.json]: Filebucketed /etc/keystone/policy.json to puppet with sum eb1e23ac34378d076ef3de993b756a53
2624Notice: /Stage[main]/Openstack::Keystone::Service/File[/etc/keystone/policy.json]/content: content changed '{md5}eb1e23ac34378d076ef3de993b756a53' to '{md5}1db6eb160b759072e663d714cf1f46c3'
2625Info: /Stage[main]/Openstack::Keystone::Service/File[/etc/keystone/policy.json]: Scheduling refresh of Service[keystone]
2626Notice: /Stage[main]/Openstack::Keystone::Service/File[/etc/keystone/logging.conf]/content:
2627--- /etc/keystone/logging.conf 2016-05-30 22:44:34.000000000 +0000
2628+++ /tmp/puppet-file20180612-33512-ho2mfz 2018-06-12 11:55:19.972065750 +0000
2629@@ -13,19 +13,19 @@
2630
2631 [handler_production]
2632 class=handlers.SysLogHandler
2633-level=ERROR
2634+level=WARNING
2635 formatter=normal_with_name
2636 args=(('localhost', handlers.SYSLOG_UDP_PORT), handlers.SysLogHandler.LOG_USER)
2637
2638 [handler_file]
2639 class=FileHandler
2640-level=DEBUG
2641+level=WARNING
2642 formatter=normal_with_name
2643 args=('/var/log/keystone/keystone.log', 'a')
2644
2645 [handler_devel]
2646 class=StreamHandler
2647-level=NOTSET
2648+level=WARNING
2649 formatter=debug
2650 args=(sys.stdout,)
2651
2652
2653Info: Computing checksum on file /etc/keystone/logging.conf
2654Info: FileBucket got a duplicate file {md5}c85cb75be85f3ec306f3da2730764d6e
2655Info: /Stage[main]/Openstack::Keystone::Service/File[/etc/keystone/logging.conf]: Filebucketed /etc/keystone/logging.conf to puppet with sum c85cb75be85f3ec306f3da2730764d6e
2656Notice: /Stage[main]/Openstack::Keystone::Service/File[/etc/keystone/logging.conf]/content: content changed '{md5}c85cb75be85f3ec306f3da2730764d6e' to '{md5}d5edf58eab1bb868dea8588eba298608'
2657Info: /Stage[main]/Openstack::Keystone::Service/File[/etc/keystone/logging.conf]: Scheduling refresh of Service[keystone]
2658Notice: /Stage[main]/Openstack::Keystone::Service/File[/etc/keystone/original]/ensure: created
2659Notice: /Stage[main]/Openstack::Keystone::Service/File[/etc/keystone/original/default_catalog.templates]/ensure: defined content as '{md5}e0fca08237900871684d52902ab75148'
2660Notice: /Stage[main]/Openstack::Keystone::Service/File[/etc/keystone/original/keystone-paste.ini]/ensure: defined content as '{md5}e68b0c5330ef0e5eaafbc478d5b49ae0'
2661Notice: /Stage[main]/Openstack::Keystone::Service/File[/etc/keystone/original/keystone.conf]/ensure: defined content as '{md5}d0f54c0b0727811764d111cca2870e71'
2662Notice: /Stage[main]/Openstack::Keystone::Service/File[/etc/keystone/original/logging.conf]/ensure: defined content as '{md5}c85cb75be85f3ec306f3da2730764d6e'
2663Notice: /Stage[main]/Openstack::Keystone::Service/File[/etc/keystone/original/policy.json]/ensure: defined content as '{md5}eb1e23ac34378d076ef3de993b756a53'
2664Notice: /Stage[main]/Openstack::Keystone::Service/Service[keystone]/ensure: ensure changed 'running' to 'stopped'
2665Notice: /Stage[main]/Openstack::Keystone::Service/Service[keystone]: Triggered 'refresh' from 5 events
2666Notice: /Stage[main]/Admin/Admin::Groupmembers[ops-adm-group]/Exec[adm_ensure_members]/returns: executed successfully
2667Notice: Applied catalog in 27.31 seconds

• aborrero claimed this task.
• Vvjjkkii renamed this task from cloud vps: disable system-wide apt pinning for OpenStack jessie hosts to kgbaaaaaaa.Jul 1 2018, 1:05 AM
• Vvjjkkii reopened this task as Open.
• Vvjjkkii removed • aborrero as the assignee of this task.
• Vvjjkkii triaged this task as High priority.
• Vvjjkkii updated the task description. (Show Details)
• Vvjjkkii removed subscribers: gerritbot, Aklapper.
CommunityTechBot renamed this task from kgbaaaaaaa to cloud vps: disable system-wide apt pinning for OpenStack jessie hosts.Jul 2 2018, 3:10 PM
CommunityTechBot closed this task as Resolved.
CommunityTechBot assigned this task to • aborrero.
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added subscribers: gerritbot, Aklapper.