[openstack-dev] Nova V2 Quota API

Anne Gentle anne at openstack.org
Wed Jan 29 16:26:19 UTC 2014


Thanks, it's confirmed and the doc team can work on it. Appreciate you
asking!

Anne


On Wed, Jan 29, 2014 at 9:44 AM, Yingjun Li <liyingjun1988 at gmail.com> wrote:

> I reported a bug here:
> https://bugs.launchpad.net/openstack-manuals/+bug/1274153
>
> On Jan 29, 2014, at 23:33, Anne Gentle <anne at openstack.org> wrote:
>
> Hi can you point out where you're seeing documentation for the first
> without tenant_id?
>
> At http://api.openstack.org/api-ref-compute-ext.html#ext-os-quota-setsonly the tenant_id is documented.
>
> This is documented identically at
> http://docs.openstack.org/api/openstack-compute/2/content/ext-os-quota-sets.html
>
> Let us know where you're seeing the misleading documentation so we can log
> a bug and fix it.
> Anne
>
>
> On Wed, Jan 29, 2014 at 8:48 AM, Vinod Kumar Boppanna <
> vinod.kumar.boppanna at cern.ch> wrote:
>
>>  Hi,
>>
>> In the Documentation, it was mentioned that there are two API's to see
>> the quotas of a tenant.
>>
>> 1. v2/{tenant_id}/os-quota-sets - Shows quotas for a tenant
>>
>> 2. v2/{tenant_id}/os-quota-sets/{tenant_id}/{user_id} - Enables an admin
>> to show quotas for a specified tenant and a user
>>
>> I guess the first API can be used by a member in a tenant to get the
>> quotas of that tenant. The second one can be run by admin to get the quotas
>> of any tenant or any user.
>>
>> But through normal user when i am running any of the below (after
>> authentication)
>>
>> $> nova --debug quota-show --tenant <tenant_id>    (tenant id of a
>> project in which this user is member)
>> It is calling the second API i.e
>> v2/{tenant_id}/os-quota-sets/{tenant_id}
>>
>> or even when i am calling directly the API
>>
>> $>  curl -i -H"X-Auth-Token:$TOKEN" -H "Content-type: application/json"
>> http://localhost:8774/v2/<tenant_id>/os-quota-sets/<http://localhost:8774/v2/2665b63d29a1493990ab1c5412fc838d/os-quota-sets/>
>> It says the "Resource not found".
>>
>> So, Is the first API is available?
>>
>> Regards,
>> Vinod Kumar Boppanna
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140129/64980f7d/attachment.html>


More information about the OpenStack-dev mailing list