How do i list all projects for an domain scoped user using openstacksdk?

asked 2019-02-18 07:19:29 -0500

I'm trying to "recreate" the behavior of Horizon where a user logs in to a domain and is presented with a list of projects he has access to.

I have successfully created a domain scoped connection using this code:

conn = openstack.connection.Connection(
    , verify = False

How can I use this connection to list all projects for that particular user? I have tried :


But that gives me the error:

keystoneauth1.exceptions.catalog.EmptyCatalog: The service catalog is empty

Any ideas?

edit retag flag offensive close merge delete