Hi all, I'm working on some code [1] that attempts to retrieve a endpoint from the service_catalog, but the service_catalog comes up None. Any suggestions on what I need to do differently to get a working service_catalog? Thanks very much!
Python 2.7.12 (default, Nov 20 2017, 18:23:56) [GCC 5.4.0 20160609] on linux2 >>> from keystoneauth1 import session # Version 2.12.1 >>> from keystoneauth1.identity import v2 >>> import keystoneclient.v3.client as ksclient >>> auth = v2.Password(auth_url='http://127.0.0.1/identity', >>>username='admin', password='password', tenant_name='admin') >>> sess = session.Session(auth=auth) >>> keystone = ksclient.Client(session=sess) >>> print(keystone.service_catalog) None [1] https://review.openstack.org/#/c/526813/1/congress/datasources/monasca_driv er.py@94 __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: [email protected]?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
