You must add a cron job for the cinder-volume-usage-audit, like this. root@cinder:~# cat /etc/cron.d/cinder-volume-usage-audit */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)
That will run each 30 minutes. Best regards On 06/07/2016 10:04 AM, murali wrote: Hello guys, I am using Devstack Liberty version. I need to use the volume usage audit option which is available in cinder. I can be able to succesfully execute the cinder-volume-usage-audit command in my commandline. I need to make it run periodically. So that I can be able to see that adding a config entry will work. I have added the entry in config file as follows: volume_usage_audit_period=hour But it seems not generating the report. I have added the entry in to config file and then restarted cinder services. Is there anything else I am missing. Someone let me know the way how we can achieve this ? Any comments or suggestions? Regards, Murali.
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
