Re: [openstack-dev] [cinder][ceilometer] cinder capacity notifications

2017-12-19 Thread Gorka Eguileor
On 12/12, gordon chung wrote:
> hi,
>
> i'm attempting to add support for the cinder capacity notifications that
> were added a while back[1].
>
> adding measurement support in ceilometer is pretty simple where in most
> cases you just add an entry to a yaml file[2]. the problem i have right
> now is i have no idea what resource these measurement are measuring so
> i'm unsure how to name the measurement in ceilometer so a user can
> understand what it's measuring.
>
> the following are probably stupid questions but i see it measures two
> different resource types, a 'pool' and a 'backend' and they are
> ultimately tied to a host. are these measuring the amount of disk on
> each host? our pools confined to a host?
>
> anyone with better knowledge is welcomed to take over my patch.
>
> [1] https://review.openstack.org/#/c/206923
> [2] https://review.openstack.org/#/c/526538
>
> cheers,
>
> --
> gord
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Hi,

Here's a brief explanation of the 3 names you mention:

- host: A node were cinder-volume service is running
- backend: A set of driver configurations used to access a specific
  storage.  A cinder-volume service can have multiple backends.
- pool: A logical concept to describe a set of storage resource that can
  be used to serve core Cinder requests.  A backend can have multiple
  pools, each with different characteristics.

Cinder-volume services are named taking these 3 names and joining them
like: host@backend#pool

As for the data that is being reported, this is mostly explained in the
latest spec [1], except the virtual_free which is basically the
available space taking into account the over provisioning.

More information on the pools can be found in the Juno specs [2].

I hope this helps.

Cheers,
Gorka.

[1] 
https://specs.openstack.org/openstack/cinder-specs/specs/queens/provisioning-improvements.html
[2] 
https://specs.openstack.org/openstack/cinder-specs/specs/juno/pool-aware-cinder-scheduler.html

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [cinder][ceilometer] cinder capacity notifications

2017-12-12 Thread gordon chung
hi,

i'm attempting to add support for the cinder capacity notifications that 
were added a while back[1].

adding measurement support in ceilometer is pretty simple where in most 
cases you just add an entry to a yaml file[2]. the problem i have right 
now is i have no idea what resource these measurement are measuring so 
i'm unsure how to name the measurement in ceilometer so a user can 
understand what it's measuring.

the following are probably stupid questions but i see it measures two 
different resource types, a 'pool' and a 'backend' and they are 
ultimately tied to a host. are these measuring the amount of disk on 
each host? our pools confined to a host?

anyone with better knowledge is welcomed to take over my patch.

[1] https://review.openstack.org/#/c/206923
[2] https://review.openstack.org/#/c/526538

cheers,

-- 
gord
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [cinder] [ceilometer]

2016-12-13 Thread gordon chung


On 12/12/16 10:13 PM, Li, Xiaoyan wrote:
> The new notification reports kinds of capacity information, includes total, 
> free, allocated, provisioned, visual_free.

that's cool. just for reference, you can easily add support to generate 
metrics from this by editing the meters.yaml file[1]. alternatively, 
just paste the notification format here and someone can build it for you.

[1] 
https://github.com/openstack/ceilometer/blob/master/ceilometer/meter/data/meters.yaml

-- 
gord

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [cinder] [ceilometer]

2016-12-12 Thread Li, Xiaoyan
The new notification reports kinds of capacity information, includes total, 
free, allocated, provisioned, visual_free. 
Detailed info please see the following specs: 

https://review.openstack.org/#/c/192542/2/specs/liberty/cinder-capacity-notifications.rst
https://review.openstack.org/#/c/249932/1/specs/mitaka/capacity-headroom.rst
https://review.openstack.org/#/c/206923/

Lisa

-Original Message-
From: Julien Danjou [mailto:jul...@danjou.info] 
Sent: Thursday, December 8, 2016 5:42 PM
To: Jiong Liu 
Cc: openstack-dev@lists.openstack.org
Subject: Re: [openstack-dev] [cinder] [ceilometer]

On Thu, Dec 08 2016, Jiong Liu wrote:

Hi Jeremy,

If I'm not mistaken, there's a new pollster in Ocata that uses the Cinder API 
to get the metrics now, so I think the volume usage audit is getting useless.

> Hello Cinder/Ceilometer community,
>
>  
>
> Is there any guideline on using `cinder-volume-usage-audit` command?
>
>  
>
> Search through cinder/ceilometer logs, I find some messages are sent 
> to ceilometer-collector.
>
> How do I check the output of this command in ceilometer? Do you have 
> any suggestion?
>
>  
>
> Looking forward to your comments. Thanks.
>
>  
>
> BR,
>
> Jeremy Liu
>
>
>

--
Julien Danjou
-- Free Software hacker
-- https://julien.danjou.info

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [cinder] [ceilometer]

2016-12-08 Thread Julien Danjou
On Thu, Dec 08 2016, Jiong Liu wrote:

Hi Jeremy,

If I'm not mistaken, there's a new pollster in Ocata that uses the
Cinder API to get the metrics now, so I think the volume usage audit is
getting useless.

> Hello Cinder/Ceilometer community,
>
>  
>
> Is there any guideline on using `cinder-volume-usage-audit` command?
>
>  
>
> Search through cinder/ceilometer logs, I find some messages are sent to
> ceilometer-collector.
>
> How do I check the output of this command in ceilometer? Do you have any
> suggestion?
>
>  
>
> Looking forward to your comments. Thanks.
>
>  
>
> BR,
>
> Jeremy Liu
>
>
>

-- 
Julien Danjou
-- Free Software hacker
-- https://julien.danjou.info


signature.asc
Description: PGP signature
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [cinder] [ceilometer]

2016-12-08 Thread Jiong Liu
Hello Cinder/Ceilometer community,

 

Is there any guideline on using `cinder-volume-usage-audit` command?

 

Search through cinder/ceilometer logs, I find some messages are sent to
ceilometer-collector.

How do I check the output of this command in ceilometer? Do you have any
suggestion?

 

Looking forward to your comments. Thanks.

 

BR,

Jeremy Liu

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev