Stats collector failing to parse log lines, server_name match fails
Bug #671704 reported by
Travis W Kiel
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Low
|
John Dickinson |
Bug Description
The proxy-server log_name is defaulted to 'proxy-server'. AccessLogProcessor __init__ tries to get server_name from the log-processor.conf, and when its not defined (like the example conf file), it default's to 'proxy'. This causes log line parsing to fail.
To avoid having to set 'server_name' = 'proxy-server' in [log-processor-
def __init__(self, conf):
self.
Related branches
lp:~notmyname/swift/stats_log_fix
- Chuck Thier (community): Approve
-
Diff: 38 lines (+3/-3)3 files modifiedetc/log-processing.conf-sample (+1/-1)
swift/stats/access_processor.py (+1/-1)
test/unit/stats/test_log_processor.py (+1/-1)
Changed in swift: | |
importance: | Undecided → Low |
milestone: | none → 1.2.0 |
Changed in swift: | |
assignee: | nobody → John Dickinson (notmyname) |
status: | New → In Progress |
Changed in swift: | |
status: | In Progress → Fix Committed |
Changed in swift: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I would add that the log-processing. conf-sample in /etc should be updated to reflect 'proxy-server' as well.