0a46793662
This is a follow-on from a previous commit which added recon info for swift-drive-audit (https://review.openstack.org/#/c/122468/). Here, the "--drievaudit" option is added to swift-recon tool. This feature gives the statistics for the system-wide drive errors flagged by swift-drive-audit. An example of the output is as follows: (verbose mode) swift-recon --driveaudit -v =============================================================================== --> Starting reconnaissance on 5 hosts =============================================================================== [2015-03-11 17:13:39] Checking drive-audit errors -> http://1.2.3.4:6000/recon/driveaudit: {'drive_audit_errors': 14} -> http://1.2.3.5:6000/recon/driveaudit: {'drive_audit_errors': 0} -> http://1.2.3.6:6000/recon/driveaudit: {'drive_audit_errors': 37} -> http://1.2.3.7:6000/recon/driveaudit: {'drive_audit_errors': 101} -> http://1.2.3.8:6000/recon/driveaudit: {'drive_audit_errors': 0} [drive_audit_errors] low: 0, high: 101, avg: 30.4, total: 152, Failed: 0.0%, no_result: 0, reported: 5 =============================================================================== Change-Id: Ia16c52a9d613eeb3de1a5a428d88dd1233631912 |
||
---|---|---|
.. | ||
swift-account-audit | ||
swift-account-auditor | ||
swift-account-info | ||
swift-account-reaper | ||
swift-account-replicator | ||
swift-account-server | ||
swift-config | ||
swift-container-auditor | ||
swift-container-info | ||
swift-container-reconciler | ||
swift-container-replicator | ||
swift-container-server | ||
swift-container-sync | ||
swift-container-updater | ||
swift-dispersion-populate | ||
swift-dispersion-report | ||
swift-drive-audit | ||
swift-form-signature | ||
swift-get-nodes | ||
swift-init | ||
swift-object-auditor | ||
swift-object-expirer | ||
swift-object-info | ||
swift-object-replicator | ||
swift-object-server | ||
swift-object-updater | ||
swift-oldies | ||
swift-orphans | ||
swift-proxy-server | ||
swift-recon | ||
swift-recon-cron | ||
swift-reconciler-enqueue | ||
swift-ring-builder | ||
swift-temp-url |