Re: [Openstack] [openstack][keystone] keystone api can not list all tenants

2016-08-04 Thread Steve Martinelli
Yeah, as Boris mentioned, hitting :5000/v2.0/tenants (as it says here http://developer.openstack.org/api-ref/identity/v2/index.html?expanded=list-tenants-detail#list-tenants) will only list tenants the token is scoped to. If you want to list *all* tenants in the cloud, use :35357/v2.0/tenants - th

Re: [Openstack] [openstack][keystone] keystone api can not list all tenants

2016-08-04 Thread Boris Bobrov
Hi, On 08/04/2016 03:00 PM, Liao Tonglang wrote: Hi, I want to get all tenants of my openstack server, but the api just return one of them: curl -H "X-Auth-Token:" \ http://187.160.2:5000/v2.0/tenants Best option: use API v3: http://187.160.2:5000/v3/projects Worse option: u

[Openstack] [openstack][keystone] keystone api can not list all tenants

2016-08-04 Thread Liao Tonglang
Hi, I want to get all tenants of my openstack server, but the api just return one of them: curl -H "X-Auth-Token:" \ http://187.160.2:5000/v2.0/tenants and it just return one: { "tenants_links": [], "tenants":