swift-object-auditor does not report stats because of log_time

Bug #1333334 reported by Christopher Bartz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Fix Released
Undecided
Christian Schwede

Bug Description

The default log_time configuration of the object-auditor equals 1 hour (http://docs.openstack.org/developer/swift/deployment_guide.html#object-server-configuration). If the whole run of the object-auditor takes fewer than this, no statistics are reported at all (see https://github.com/openstack/swift/blob/master/swift/obj/auditor.py , the function audit_all_objects).

Due to this issue we have seen no statistics when using the command swift-recon --auditor .

It would be good if one of the following improvements would be applied:

- this issue would be documented
- the term log_time would be described better (I first thought of the output of the logger, and not of the reporting of the stats)
- the code would be changed, so that the object.recon cache will be updated before the function quits

Best regards,

C. Bartz

Revision history for this message
Christian Schwede (cschwede) wrote :

There is already a fix available for this: https://review.openstack.org/#/c/99900/

Changed in swift:
status: New → Confirmed
assignee: nobody → Christian Schwede (cschwede)
Tom Fifield (fifieldt)
Changed in swift:
status: Confirmed → Fix Committed
Thierry Carrez (ttx)
Changed in swift:
milestone: none → 2.5.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.