I think, it's because the client is authenticated only if endpoint is not specified. If endpoint is specified, it's not authenticated and in turn service_catalog is not set.
Snippet from v2_0/client.py:Client.__init__(), line 79:
if endpoint is None: self.authenticate()
else: self.management_url = endpoint
To get the token, I think we should authenticate explicitly using specified token and/or user/pass.
I think, it's because the client is authenticated only if endpoint is not specified. If endpoint is specified, it's not authenticated and in turn service_catalog is not set.
Snippet from v2_0/client. py:Client. __init_ _(), line 79:
if endpoint is None:
self. authenticate( )
self. management_ url = endpoint
else:
To get the token, I think we should authenticate explicitly using specified token and/or user/pass.
Dolph, can you please confirm?