<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body text="#000000" bgcolor="#FFFFFF">
You must add a cron job for the cinder-volume-usage-audit, like this.<br>
<br>
root@cinder:~# cat /etc/cron.d/cinder-volume-usage-audit <br>
*/30 * * * * root (PYTHONIOENCODING=utf-8 /usr/bin/cinder-volume-usage-audit 1>> /var/log/cinder/cinder-volume-usage-audit-`date +\%Y\%m\%d`.log 2>&1)<br>
<br>
That will run each 30 minutes.<br>
<br>
Best regards<br>
<br>
<div class="moz-cite-prefix">On 06/07/2016 10:04 AM, murali wrote:<br>
</div>
<blockquote cite="mid:CAPks-xJJNy9hAdSGLZ2_R=epTw5a4jwFhvoOA=tJB_UjHGBXJw@mail.gmail.com" type="cite">
<meta http-equiv="Context-Type" content="text/html; charset=UTF-8">
<div dir="ltr">Hello guys,<br>
<div><br>
I am using Devstack Liberty version.<br>
<br>
I need to use the volume usage audit option which is available in cinder.<br>
<br>
I can be able to succesfully execute the cinder-volume-usage-audit command in my commandline.<br>
<br>
I need to make it run periodically.<br>
<br>
So that I can be able to see that adding a config entry will work.<br>
<br>
I have added the entry in config file as follows:<br>
<br>
volume_usage_audit_period=hour<br>
<br>
But it seems not generating the report. I have added the entry in to config file and then restarted cinder services.<br>
<br>
Is there anything else I am missing.<br>
<br>
Someone let me know the way how we can achieve this ?<br>
<br>
Any comments or suggestions?<br>
<br>
Regards,<br>
<br>
Murali.<br>
<br>
</div>
</div>
</blockquote>
<br>
</body>
</html>