Update "auth_url"
Following the change in Keystone Install Guide [1], this patch replace port 35357 with 5000 for "auth_url". For more details, please check similar changes which have been done on other projects: Nova [2], Neutron [3], Cinder [4], Glance [5]. In addition, update deprecated "auth_uri" to "www_authenticate_uri", according to [6]. [1] https://review.openstack.org/#/c/541857 [2] https://review.openstack.org/#/c/562812 [3] https://review.openstack.org/#/c/566491 [4] https://review.openstack.org/#/c/565464 [5] https://review.openstack.org/#/c/558932 [6] https://review.openstack.org/#/c/508522 Change-Id: I57ee0008e5b6eef2c289cfa029f51c920124d489
This commit is contained in:
parent
7799c82537
commit
19e56c0064
|
@ -28,8 +28,8 @@ wamp_realm = s4t
|
|||
connection = mysql+pymsql://<user>:<password>@<host>/iotronic
|
||||
|
||||
[keystone_authtoken]
|
||||
auth_uri = http://<keystone_host>:5000
|
||||
auth_url = http://<keystone_host>:35357
|
||||
www_authenticate_uri = http://<keystone_host>:5000
|
||||
auth_url = http://<keystone_host>:5000
|
||||
auth_plugin = password
|
||||
project_domain_id = default
|
||||
user_domain_id = default
|
||||
|
|
|
@ -46,7 +46,7 @@ def _is_apiv3(auth_url, auth_version):
|
|||
|
||||
|
||||
def _get_ksclient(token=None):
|
||||
auth_url = CONF.keystone_authtoken.auth_uri
|
||||
auth_url = CONF.keystone_authtoken.www_authenticate_uri
|
||||
if not auth_url:
|
||||
raise exception.KeystoneFailure(_('Keystone API endpoint is missing'))
|
||||
|
||||
|
|
Loading…
Reference in New Issue