Re: [openstack-dev] [Horizon] [Cinder] [Nova] [Neutron] Gathering quota usage data in Horizon

2015-12-23 Thread Timur Sufiev
Duncan, Thank you for the suggestion, will do. On Wed, 23 Dec 2015 at 10:55, Duncan Thomas wrote: > On a cloud with a large number of tenants, this is going to involve a > large number of API calls. I'd suggest you put a spec into cinder to add an > API call for getting

Re: [openstack-dev] [Horizon] [Cinder] [Nova] [Neutron] Gathering quota usage data in Horizon

2015-12-22 Thread Duncan Thomas
On a cloud with a large number of tenants, this is going to involve a large number of API calls. I'd suggest you put a spec into cinder to add an API call for getting the totals straight out of the DB - it should be easy enough to add. On 18 December 2015 at 20:35, Timur Sufiev

Re: [openstack-dev] [Horizon] [Cinder] [Nova] [Neutron] Gathering quota usage data in Horizon

2015-12-21 Thread Timur Sufiev
Hello, Matt Just checked it, nova quota-show command just shows current quota limits for a given tenant, below is an output for may Devstack admin tenant: timur@devstack:~/devstack$ nova quota-show --tenant 9f6cc244fd9d41668d49c00f12b70219 +-+---+ | Quota

Re: [openstack-dev] [Horizon] [Cinder] [Nova] [Neutron] Gathering quota usage data in Horizon

2015-12-19 Thread Matt Riedemann
On 12/18/2015 12:35 PM, Timur Sufiev wrote: Matt, actually Ivan (Ivan, thanks a lot!) showed me the exact cinderclient call that I needed. Now I know how to retrieve Cinder quota usage info per-tenant, seems that to retrieve the same info cloud-wide I should sum up all the available tenant

Re: [openstack-dev] [Horizon] [Cinder] [Nova] [Neutron] Gathering quota usage data in Horizon

2015-12-18 Thread Matt Riedemann
On 12/17/2015 2:40 PM, Ivan Kolodyazhny wrote: Hi Timur, Did you try this Cinder API [1]? Here [2] is cinderclient output. [1] https://github.com/openstack/python-cinderclient/blob/master/cinderclient/v2/quotas.py#L33 [2] http://paste.openstack.org/show/482225/ Regards, Ivan Kolodyazhny,

Re: [openstack-dev] [Horizon] [Cinder] [Nova] [Neutron] Gathering quota usage data in Horizon

2015-12-18 Thread Salvatore Orlando
The point raised by Matt for Nova applies to Neutron as well. Neutron does not have strict deadlines for blueprint approval; however even if in theory it would still be possible to achieve this for Mitaka, it is rather unlikely since the number of blueprints already in the pipeline is way more

Re: [openstack-dev] [Horizon] [Cinder] [Nova] [Neutron] Gathering quota usage data in Horizon

2015-12-18 Thread Timur Sufiev
Matt, actually Ivan (Ivan, thanks a lot!) showed me the exact cinderclient call that I needed. Now I know how to retrieve Cinder quota usage info per-tenant, seems that to retrieve the same info cloud-wide I should sum up all the available tenant usages. With Cinder quota usages being sorted

[openstack-dev] [Horizon] [Cinder] [Nova] [Neutron] Gathering quota usage data in Horizon

2015-12-17 Thread Timur Sufiev
Hello, folks! I'd like to initiate a discussion of the feature request I'm going to make on behalf of Horizon to every core OpenStack service which supports Quota feature, namely Cinder, Nova and Neutron. Although all three services' APIs support special calls to get current quota limitations

Re: [openstack-dev] [Horizon] [Cinder] [Nova] [Neutron] Gathering quota usage data in Horizon

2015-12-17 Thread Ivan Kolodyazhny
Hi Timur, Did you try this Cinder API [1]? Here [2] is cinderclient output. [1] https://github.com/openstack/python-cinderclient/blob/master/cinderclient/v2/quotas.py#L33 [2] http://paste.openstack.org/show/482225/ Regards, Ivan Kolodyazhny, http://blog.e0ne.info/ On Thu, Dec 17, 2015 at