Comment 31 for bug 1779205

Revision history for this message
Kristi Nikolla (knikolla) wrote : Re: GET /v3/OS-FEDERATION/projects leaks project information

Morgan, the 500 is what I reported when trying /OS-FEDERATION/projects on our public cloud. There it only worked with a federated token.

On a Devstack (master branch), it actually worked with any token regardless if it is federated or not.

ubuntu@devstack-ldap:~$ source devstack/openrc demo demo
WARNING: setting legacy OS_TENANT_NAME to support cli tools.
ubuntu@devstack-ldap:~$ export TOKEN=`openstack token issue -f value -c id`
ubuntu@devstack-ldap:~$ curl -H "x-auth-token: $TOKEN" http://localhost/identity/v3/OS-FEDERATION/projects
{"links": {"self": "http://192.168.0.8/identity/v3/OS-FEDERATION/projects", "previous": null, "next": null}, "projects": [{"is_domain": false, "description": "", "links": {"self": "http://192.168.0.8/identity/v3/projects/0b93617b390e41de94594a99e3e154e6"}, "tags": [], "enabled": true, "domain_id": "default", "parent_id": "default", "id": "0b93617b390e41de94594a99e3e154e6", "name": "invisible_to_admin"}, {"is_domain": false, "description": "", "links": {"self": "http://192.168.0.8/identity/v3/projects/e1a071e7b2f74f6cac392505e086878d"}, "tags": [], "enabled": true, "id": "e1a071e7b2f74f6cac392505e086878d", "parent_id": "default", "domain_id": "default", "name": "alt_demo"}, {"is_domain": false, "description": "", "links": {"self": "http://192.168.0.8/identity/v3/projects/6c9b45545ca44817a2bf2b634ca01fa1"}, "tags": [], "enabled": true, "domain_id": "default", "parent_id": "default", "id": "6c9b45545ca44817a2bf2b634ca01fa1", "name": "demo"}, {"is_domain": false, "description": "Bootstrap project for initializing the cloud.", "links": {"self": "http://192.168.0.8/identity/v3/projects/9f99b93e45874c41a89551252b3b9d4c"}, "tags": [], "enabled": true, "id": "9f99b93e45874c41a89551252b3b9d4c", "parent_id": "default", "domain_id": "default", "name": "admin"}]}