Ask Your Question

OPenStack Python SDK Connect: Could not find requested endpoint in Service Catalog.

asked 2016-08-08 13:20:10 -0600

Alex2555 gravatar image

updated 2016-08-08 13:56:33 -0600

Hi Experts, I'm attempting to connect to our OPenStack cloud with the OpenStack Python SDK using the connection instantiation below. However, I'm receiving "Could not find requested endpoint in Service Catalog". We are on Juno. I'm using the endpoints as listed by keystone (keystone endpoint-list). Any help will be appreciated.

from openstack import connection conn = connection.Connection(auth_url="http://openstack:5000/v3", project_name="big_project", username="SDK_user", password="Super5ecretPassw0rd") for container in conn.object_store.containers(): print(

Traceback (most recent call last): File "", line 6, in <module> for container in conn.object_store.containers(): File "/opt/lib/python2.7/site-packages/openstack/", line 878, in list headers=headers, params=params) File "/opt/lib/python2.7/site-packages/keystoneauth1/", line 507, in get return self.request(url, 'GET', **kwargs) File "/opt/lib/python2.7/site-packages/openstack/", line 66, in map_exceptions_wrapper raise exceptions.SDKException(message=e.message, cause=e) openstack.exceptions.SDKException: Could not find requested endpoint in Service Catalog.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-08-11 12:31:03 -0600

brian.curtin gravatar image

Without debug logging it's hard to know what the problem is, but version 0.9.2 was released today with (a change to how we find endpoints)which corrects a few things we had been doing incorrectly between Keystone v2 and v3. If that doesn't change anything for you, please report a bug at (

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-08-08 13:20:10 -0600

Seen: 1,775 times

Last updated: Aug 08 '16