Comment 2 for bug 1547331

Revision history for this message
Julian Edwards (julian-edwards) wrote :

Another by-product of the lazy auth seems to be that service_catalog is no longer present. I could use the endpoints.list() but that doesn't contain service_type.

I've resorted to doing something like this to force a pre-auth:

auth=identity.Password(...)
session=Session(auth=auth)
ks = client.Client(session)
ks.auth_ref = auth.get_access(session)

which then means that any code that calls ks.service_catalog() works.