Ask Your Question

korvius's profile - activity

2019-02-18 08:32:00 -0600 asked a question How do i list all projects for an domain scoped user using openstacksdk?

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?