swift-drive-audit does not work with > 26 drives
Bug #827913 reported by
SaveTheRbtz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
High
|
Mike Barton |
Bug Description
swift-drive-audit has two regexps
error_re = [
'error.
'(sd[
]
If system has lots of disks their name can be like sdaa, sdab, sdac ... etc, which will be captured by regexps incorrectly.
Patch attached.
Changed in swift: | |
milestone: | none → 1.4.4 |
importance: | Undecided → High |
assignee: | nobody → Mike Barton (redbo) |
Changed in swift: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I'd like to see word boundaries around the drive name. Maybe something like r'error. *\b(sd[ a-z]{1, 2})\b'