+++ This bug was initially created as a clone of Bug #2280986 +++ Description of problem: When sync_perms() fails _inc_failed_count() is called for incrementing the failed count. So it's better reflect that in the metrics too. Does the same for sync_snaps() too. Version-Release number of selected component (if applicable): RHCS6.1 How reproducible: sync_failures metrics was not incremented correctly. Steps to Reproduce: 1. Create a snapshot sync failure or a permissions sync failure. 2. Check the sync_failures metrics exported value. 3. The value would be incorrect, lesser than expected value. Actual results: sync_failures metrics was not incremented correctly. Expected results: sync_failures metrics should show the correct value of snapshot sync failures. Additional info: