On 07/25/2018 06:21 PM, Alex Xu wrote:


2018-07-26 0:29 GMT+08:00 William M Edmonds <[email protected]
<mailto:[email protected]>>:


    Ghanshyam Mann <[email protected] <mailto:[email protected]>>
    wrote on 07/25/2018 05:44:46 AM:
    ... snip ...
    > 1. is it ok to show the keypair used info via API ? any original
    > rational not to do so or it was just like that from starting.

    keypairs aren't tied to a tenant/project, so how could nova track/report a
    quota for them on a given tenant/project? Which is how the API is
    constructed... note the "tenant_id" in GET /os-quota-sets/{tenant_id}/detail


Keypairs usage is only value for the API 'GET
/os-quota-sets/{tenant_id}/detail?user_id={user_id}'

The objection is that keypairs are tied to the user, not the tenant, so it doesn't make sense to specify a tenant_id in the above query.

And for Pike at least I think the above command does not actually show how many keypairs have been created by that user...it still shows zero.

Chris


__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to