Comment 5 for bug 1653231

Revision history for this message
Edward Hope-Morley (hopem) wrote :

My bad, the default audit window is too short. This works:

root@juju-853dc7-default-4:~# cinder-volume-usage-audit --end_time "2017-02-01 00:00:00" 2>&1| grep Found
2017-01-26 21:25:23.582 18440 DEBUG cinder [req-90f87894-ba96-48d6-be43-f1c9ff8e1c8b - - - - -] Found 1 volumes main /usr/lib/python2.7/dist-packages/cinder/cmd/volume_usage_audit.py:106
2017-01-26 21:25:23.888 18440 DEBUG cinder [req-90f87894-ba96-48d6-be43-f1c9ff8e1c8b - - - - -] Found 0 snapshots main /usr/lib/python2.7/dist-packages/cinder/cmd/volume_usage_audit.py:177

Still only have volume.size meter though so something still not quite right.