zun/zun/common
Hongbin Lu cc0f66218f Fall back to the legacy auth_uri option
In before, we switched from 'auth_uri' to 'www_authenticate_uri' [1]
in a backward-incompatible way, which breaks the legacy setup.
For example, if users install Zun with Pike or earlier version
of OpenStack, it will break.

This patch fixes it by fall back to the legacy option 'auth_uri'
if 'www_authenticate_uri' is not presented. In addition, a unnecessary
import_opt statement is removed.

[1] https://review.openstack.org/#/c/568457/

Change-Id: I5e3535f8dbfac73e56190442a31943ac22562ffb
2018-06-30 22:38:28 +00:00
..
policies Merge "Introduce container resize API" 2018-06-29 04:26:17 +00:00
__init__.py update higgins with zun 2016-06-08 22:21:34 -05:00
clients.py Switch keystone session in glanceclient 2018-06-30 22:01:02 +00:00
config.py Merge "cors: update default configuration" 2017-07-14 19:38:11 +00:00
consts.py Add Quota DB etcd 2018-04-30 11:04:25 +07:00
context.py Remove unused auth_url from RequestContext 2018-06-30 20:59:51 +00:00
exception.py Add exec_instances to data model 2018-06-16 01:33:49 +00:00
i18n.py Fix docs & specs erros. 2017-07-15 16:10:06 +07:00
keystone.py Fall back to the legacy auth_uri option 2018-06-30 22:38:28 +00:00
mount.py Follow the new PTI for document build 2018-05-07 03:59:05 +00:00
name_generator.py Refactor code 2017-07-12 09:11:34 +07:00
paths.py Make some config options work 2017-07-30 13:22:00 -04:00
policy.py Use policy for control the 'host' field 2018-05-13 15:54:40 +00:00
privileged.py Use privsep to execute privileged command 2018-01-08 09:36:38 +07:00
profiler.py Fix genconfig error 2017-08-30 22:31:46 -04:00
rpc.py Remove unused conf 2017-08-24 02:41:13 -07:00
rpc_service.py Modify the load order of manage.py 2018-03-13 03:34:42 +00:00
service.py Enable mutable config in ZUN 2018-03-12 19:00:58 +08:00
short_id.py Py3: Finish the python3 port 2017-08-04 15:03:35 +00:00
singleton.py Enable etcd DB backend testing pipeline 2017-01-11 10:45:07 +08:00
utils.py Introduce container resize API 2018-06-23 18:18:52 +00:00
yamlutils.py Replace yaml.dump with yaml.safe_dump 2017-03-18 01:44:02 +00:00