parse-ppa-apache-logs failing (missing files)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Stuart Bishop |
Bug Description
parse-ppa-
2012-03-10 07:06:49 ERROR Unhandled exception
-> http://
The traceback is:
Traceback (most recent call last):
File "/srv/launchpad
return func(self, *args, **kw)
File "/srv/launchpad
use_
File "/srv/launchpad
return func(self, *args, **kw)
File "/srv/launchpad
self.main()
File "/srv/launchpad
for fd, position in files_to_parse:
File "/srv/launchpad
fd, file_size = get_fd_
File "/srv/launchpad
fd = gzip.open(
File "/usr/lib/
return GzipFile(filename, mode, compresslevel)
File "/usr/lib/
fileobj = self.myfileobj = __builtin_
IOError: [Errno 2] No such file or directory: '/var/log/
Hopefully, this error is spurious in which case the code needs to be updated to cope and not report errors (even if it does signal a production issue, such as files being removed before they can be processed, WARNING would be a better level).
Related branches
- William Grant: Disapprove
-
Diff: 224 lines (+80/-19)5 files modifiedlib/lp/services/librarianserver/storage.py (+5/-1)
lib/lp/services/librarianserver/swift.py (+64/-5)
lib/lp/testing/swift/tests/test_fixture.py (+3/-2)
lib/lp_sitecustomize.py (+3/-8)
versions.cfg (+5/-3)
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in launchpad: | |
status: | Triaged → In Progress |
assignee: | nobody → Stuart Bishop (stub) |
tags: |
added: qa-untestable removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
I wonder if it's a race condition with log rotation?