swift-drive-audit crash when kern.log is empty
Bug #1049081 reported by
Jola Mirecka
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Andy McCrae |
Bug Description
swift-drive-audit tool crashes if kern.log is empty. A change needs to be done to check whether it is empty before proceeding.
Console output while crash:
Traceback (most recent call last):
File "./bin/
errors = get_errors(minutes)
File "./bin/
for line in open('/
IOError: [Errno 2] No such file or directory: '/var/log/kern.log'
Changed in swift: | |
assignee: | nobody → Andy McCrae (andrew-mccrae) |
Changed in swift: | |
assignee: | Andy McCrae (andrew-mccrae) → Jola Mirecka (jola-mirecka) |
Changed in swift: | |
milestone: | none → 1.7.5 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/12786
Review: https:/