Comment 1 for bug 1002917

Revision history for this message
Bhuvan Arumugam (bhuvan) wrote :

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.

Dolph, can you please confirm?