Merge "Update "auth_url""
This commit is contained in:
commit
0831c76d69
@ -28,8 +28,8 @@ wamp_realm = s4t
|
|||||||
connection = mysql+pymsql://<user>:<password>@<host>/iotronic
|
connection = mysql+pymsql://<user>:<password>@<host>/iotronic
|
||||||
|
|
||||||
[keystone_authtoken]
|
[keystone_authtoken]
|
||||||
auth_uri = http://<keystone_host>:5000
|
www_authenticate_uri = http://<keystone_host>:5000
|
||||||
auth_url = http://<keystone_host>:35357
|
auth_url = http://<keystone_host>:5000
|
||||||
auth_plugin = password
|
auth_plugin = password
|
||||||
project_domain_id = default
|
project_domain_id = default
|
||||||
user_domain_id = default
|
user_domain_id = default
|
||||||
|
@ -46,7 +46,7 @@ def _is_apiv3(auth_url, auth_version):
|
|||||||
|
|
||||||
|
|
||||||
def _get_ksclient(token=None):
|
def _get_ksclient(token=None):
|
||||||
auth_url = CONF.keystone_authtoken.auth_uri
|
auth_url = CONF.keystone_authtoken.www_authenticate_uri
|
||||||
if not auth_url:
|
if not auth_url:
|
||||||
raise exception.KeystoneFailure(_('Keystone API endpoint is missing'))
|
raise exception.KeystoneFailure(_('Keystone API endpoint is missing'))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user