404 from server unless version is in URL
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-keystoneclient |
Expired
|
Undecided
|
Unassigned |
Bug Description
I was under the impression that you could leave the version out of the auth URL and the client side would do enough discovery to work out what it needed to use, however I get a 404 from the server unless I do have it in. The short code below shows the problem. If OS_AUTH_URL is http://
import os
from keystoneclient import session
from keystoneclient.auth import identity
from keystoneclient.
auth = identity.
os.
username=
password=
project_
project_
user_
)
sess = session.
keystone = Client(
keystone.
This is pretty much what the example at http:// docs.openstack. org/developer/ python- keystoneclient/ using-api- v3.html# authenticating- using-sessions is doing.