← Back to team overview

openstack team mailing list archive

Re: Cinder Storage Server Statistics

 

Understood, and completely agree.  I'll look at opening a bug to get this
and run it by you when I have a patch to make sure we're meeting your needs
here.


On Wed, Jul 17, 2013 at 5:04 PM, Ray Sun <xiaoquqi@xxxxxxxxx> wrote:

> John,
> Thanks. I will look into that extension today. The requirement is ​
> ​as an administrator, I want to know how many real resources I have in my
> cloud pool.
>
> If we don't have such interface in client side, I would be a contributor
> to add the code in cinder client.
>
> Best Regards
> -- Ray
>
>
> On Wed, Jul 17, 2013 at 2:50 AM, John Griffith <
> john.griffith@xxxxxxxxxxxxx> wrote:
>
>>
>>
>>
>> On Tue, Jul 16, 2013 at 12:47 PM, Doug Hellmann <
>> doug.hellmann@xxxxxxxxxxxxx> wrote:
>>
>>> When I said, "we", I meant "the ceilometer team". If the auditing app
>>> isn't finding any volumes, it's not going to notify us.
>>>
>>> If you just want to know how much data is being used by cinder, there
>>> may be a way to get that from their admin API, but I'm not sure.
>>>
>>>
>>> On Mon, Jul 15, 2013 at 7:08 PM, Ray Sun <xiaoquqi@xxxxxxxxx> wrote:
>>>
>>>> D
>>>> ​oug,
>>>> Thanks. I tried it in grizzly, here's the return:
>>>> sysadmin@demo:/opt/stack/cinder/bin$ cinder-volume-usage-audit
>>>> Starting volume usage audit
>>>> Creating usages for 2013-06-01 00:00:00 until 2013-07-01 00:00:00
>>>> Found 0 volumes
>>>> Volume usage audit completed​
>>>>
>>>> ​Actually, I want to get some data like this:
>>>> Total Cinder Storage on Physical Machine: 100G
>>>> Used Cinder Storage on Physical Machine: 10G​
>>>>
>>>> Is there any way to get this?
>>>>
>>>>
>>>> Best Regards
>>>> -- Ray
>>>>
>>>>
>>>> On Tue, Jul 16, 2013 at 6:27 AM, Doug Hellmann <
>>>> doug.hellmann@xxxxxxxxxxxxx> wrote:
>>>>
>>>>> We rely on a similar audit program to get the "exists" notifications
>>>>> about cinder volumes. Look for "cinder-volume-usage-audit".
>>>>>
>>>>> Doug
>>>>>
>>>>>
>>>>> On Sun, Jul 14, 2013 at 11:04 AM, Ray Sun <xiaoquqi@xxxxxxxxx> wrote:
>>>>>
>>>>>> Yes, it should be, but seems not at least in grizzly. Any update of
>>>>>> Ceilometer?
>>>>>>
>>>>>> Best Regards
>>>>>> -- Ray
>>>>>>
>>>>>>
>>>>>> On Sun, Jul 14, 2013 at 11:04 AM, Haomai Wang <haomai@xxxxxxxxxxxxxxx
>>>>>> > wrote:
>>>>>>
>>>>>>> I think Statistics should be find in Ceilometer. Ceilometer may
>>>>>>> provide with
>>>>>>> enough information you need.
>>>>>>>
>>>>>>> Best regards,
>>>>>>> Haomai Wang, UnitedStack Inc.
>>>>>>>
>>>>>>> 在 2013-7-14,上午8:09,Ray Sun <xiaoquqi@xxxxxxxxx> 写道:
>>>>>>>
>>>>>>> In nova, we have a period task to report the usage of the physical
>>>>>>> server, including CPU, Memory and Local Disk, but I don't think I can find
>>>>>>> the same strategy in cinder service. Is there any way to do this or is
>>>>>>> there any blueprint for this?
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>> Best Regards
>>>>>>> -- Ray
>>>>>>>  _______________________________________________
>>>>>>> Mailing list: https://launchpad.net/~openstack
>>>>>>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>>>>>>> Unsubscribe : https://launchpad.net/~openstack
>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Mailing list: https://launchpad.net/~openstack
>>>>>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>>>>>> Unsubscribe : https://launchpad.net/~openstack
>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~openstack
>>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~openstack
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>> ​there is an os-hosts extension that gives things like volume-count and
>> GB/used on a cinder volume-service node, however it's not currently exposed
>> from the client.  Not sure if that's the sort of thing you're looking for
>> or not.​
>>
>>
>

References