diff --git a/etc/iotronic/iotronic.conf b/etc/iotronic/iotronic.conf index a857fc7..77cffdd 100644 --- a/etc/iotronic/iotronic.conf +++ b/etc/iotronic/iotronic.conf @@ -28,8 +28,8 @@ wamp_realm = s4t connection = mysql+pymsql://:@/iotronic [keystone_authtoken] -auth_uri = http://:5000 -auth_url = http://:35357 +www_authenticate_uri = http://:5000 +auth_url = http://:5000 auth_plugin = password project_domain_id = default user_domain_id = default diff --git a/iotronic/common/keystone.py b/iotronic/common/keystone.py index c025ca6..3360478 100644 --- a/iotronic/common/keystone.py +++ b/iotronic/common/keystone.py @@ -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'))