← Back to team overview

openstack team mailing list archive

Re: volume usage from ceilometer and cinder

 

In my cinder.conf I have added below configuration. 

cinder_volume_usage_audit=True
cinder_volume_usage_audit_period=hour
notification_driver=cinder.openstack.common.notifier.rpc_notifier
control_exchange=cinder

Does above settings not enabling audit events? If not what else I need to add in cinder.conf?





________________________________
 From: Julien Danjou <julien@xxxxxxxxxxx>
To: Anshul Gangwar <anshul1886@xxxxxxxxxxx> 
Cc: "openstack@xxxxxxxxxxxxxxxxxxx" <openstack@xxxxxxxxxxxxxxxxxxx> 
Sent: Monday, 10 June 2013 6:04 PM
Subject: Re: [Openstack] volume usage from ceilometer and cinder
 

On Mon, Jun 10 2013, Anshul Gangwar wrote:

> I am trying ceilometer to get volume usage. But in statistics, I am getting
> volume usage duration only after deleting the volume. But before deleting I
> am not getting any duration of usage. It is always 0 if volume is not
> deleted. I have triedvolume and volume.size meters.

You need to enable audit events into Cinder.

-- 
Julien Danjou
/* Free Software hacker * freelance consultant
  http://julien.danjou.info */

Follow ups

References