auth_version config not used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Invalid
|
Undecided
|
Unassigned | ||
keystonemiddleware |
Expired
|
Undecided
|
Unassigned |
Bug Description
When auth_version is set to be v3.0 in glance-api.conf, I see this in the logs "Auth Token proceeding with requested v3.0 apis" but in the very next debug log I see that the authentication request actually appends v2.0 to the identity url, which seems incorrect [1].
2015-03-31 00:52:13.928 254 INFO keystonemiddlew
2015-03-31 00:52:13.928 254 DEBUG keystoneclient.
Relevant config from glance-api.conf:
[keystone_
identity_uri = https://<keystone server>:35357
admin_user = glance
admin_password =<admin_password>
auth_version = v3.0
Looks like it might be due to this hardcoded version: /github. com/openstack/ keystonemiddlew are/blob/ 1.4.0/keystonem iddleware/ auth_token. py#L548
https:/
I am not entirely familiar with the code path here, but how is keystone v3 expected to work with this hardcoded string?