[openstack-dev] [cinder] Volume metering in nova

Jay Pipes jaypipes at gmail.com
Thu Aug 2 23:37:07 UTC 2012


On 08/02/2012 12:53 PM, Doug Hellmann wrote:
> On Thu, Aug 2, 2012 at 12:03 PM, Vishvananda Ishaya
> <vishvananda at gmail.com <mailto:vishvananda at gmail.com>> wrote:
> 
>     There are two possible solutions depending on what the goal of usage
>     metering is.
> 
>     Goal A: log usage of all created volumes regardless of attach status.
> 
>     This should be done in cinder (or nova-volume/manager.py) side where
>     the list of volumes exists.
> 
> 
> It seems we want all volumes, but we also want to know for each if it is
> attached (and possibly where). Does cinder have that information? If so,
> cinder could publish notifications similar to 'compute.instance.exists'
> which ceilometer could consume.

This would be exactly the solution I think is appropriate and in-line
with how other parts of Nova and Glance work.

-jay



More information about the OpenStack-dev mailing list