Setting --os-identity-api-version=3 still uses v2
Bug #1260916 reported by
Adam Young
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-keystoneclient |
Fix Released
|
High
|
Dolph Mathews | ||
python-openstackclient |
Invalid
|
Undecided
|
Adam Young |
Bug Description
Tried to do
openstack --os-identity-
But the project lookup was failing as it was still attempting to do V2 lookup. Had to change the endpoint to v3 in the database, which does not provide a multi version mode. Just removing v2.0 from the endpoint should trigger the version discovery.
Changed in python-openstackclient: | |
assignee: | nobody → Adam Young (ayoung) |
Changed in python-keystoneclient: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in python-keystoneclient: | |
milestone: | none → 0.7.1 |
Changed in python-keystoneclient: | |
assignee: | nobody → Dolph Mathews (dolph) |
status: | Triaged → In Progress |
Changed in python-keystoneclient: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Specificially:
get clone both python- keystoneclient and python- openstackclient . run the unit tests to initialize the venvs, and then activate the venv for python- openstackclient :
cd /opt/stack/ python- openstackclient bin/activate
. .tox/py27/
cd /opt/stack/ python- keystoneclient
python setup.py install
then
. ~/keystone.rc
openstack user list
ERROR: cliff.app Authorization Failed: The resource could not be found. (HTTP 404)
In the keystone log see:
"POST /v3/tokens HTTP/1.1" 404 228 0.001890