** Patch added: patch to compress log files before attaching
http://launchpadlibrarian.net/41759121/bug541486-eucalyptus-compress-logs.diff
--
ubuntu-bug eucalyptus-common attaches massive files
https://bugs.launchpad.net/bugs/541486
You received this bug notification because you are a
** Patch added: add compress arg to attach_file in apport hookutils
http://launchpadlibrarian.net/41759197/bug541486-apport-add-compress.diff
** Also affects: apport (Ubuntu)
Importance: Undecided
Status: New
--
ubuntu-bug eucalyptus-common attaches massive files
I added an apport task, as I'd like to have this fixed by adding support
for compression of files into hookutils of apport, and then use that in
eucalyptus's hook.
See the attached 2 patches for my solution.
--
ubuntu-bug eucalyptus-common attaches massive files
Please note that Report objects (from the ProblemReport super class)
already have that built in. To attach a file and force compression, do
report['FooFile'] = ('/tmp/foo.log', True).
Please see
python -c 'import problem_report; help(problem_report.ProblemReport)'
the write method.
--
But aside from that, perhaps it might also make sense to preselect some
interesting information on the hook side, or only attach the last 1 MB,
or log entries from the last 24 hours?
** Changed in: apport (Ubuntu Lucid)
Status: New = Invalid
--
ubuntu-bug eucalyptus-common attaches
I think at the moment we'll just want to attach the entire log. At some
point the log files will hopefully be more reasonably sized by turning
down debug output or such. Compression will turn 60M or so down into
10, which isn't *too* bad.
Thanks for the report['FooFile'] syntax.
--
** Tags added: patch
--
ubuntu-bug eucalyptus-common attaches massive files
https://bugs.launchpad.net/bugs/541486
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.
--
Ubuntu-server-bugs mailing list
This patch contains the suggested fix, using Martin's suggestions.
** Patch added: bug541486-eucalyptus-compress-logs.diff
http://launchpadlibrarian.net/41767517/bug541486-eucalyptus-compress-logs.diff
--
ubuntu-bug eucalyptus-common attaches massive files
** Changed in: eucalyptus (Ubuntu Lucid)
Assignee: (unassigned) = Dustin Kirkland (kirkland)
** Changed in: eucalyptus (Ubuntu Lucid)
Status: Confirmed = In Progress
--
ubuntu-bug eucalyptus-common attaches massive files
https://bugs.launchpad.net/bugs/541486
You received this bug
This bug was fixed in the package eucalyptus - 1.6.2-0ubuntu21
---
eucalyptus (1.6.2-0ubuntu21) lucid; urgency=low
* debian/source_eucalyptus.py (LP: #541486):
- simplify questions to user.
- give user option to not attach logs, compress them if attached.
-- Scott Moser
Agreed, we should not attach those files by default. Lots of people
don't want to upload 34 Mb of log files when they report a bug, and it
might indeed hinder the usage of the tool. Targeting to Lucid to keep it
in scope.
** Changed in: eucalyptus (Ubuntu)
Importance: Undecided = Low
**
** Changed in: eucalyptus (Ubuntu Lucid)
Milestone: None = ubuntu-10.04-beta-2
--
ubuntu-bug eucalyptus-common attaches massive files
https://bugs.launchpad.net/bugs/541486
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in
** Attachment added: Dependencies.txt
http://launchpadlibrarian.net/41250605/Dependencies.txt
** Attachment added: EucalyptusInstalledVersions.txt
http://launchpadlibrarian.net/41250606/EucalyptusInstalledVersions.txt
** Attachment added: eucalyptus.conf.txt
(note, i manually modified /usr/share/apport/package-
hooks/source_eucalyptus.py so I wouldn't get those attached here). If
you want to see a full set of attachments, see bug 541470 .
--
ubuntu-bug eucalyptus-common attaches massive files
https://bugs.launchpad.net/bugs/541486
You received this
Subscribing Matt, his initials are around the attachments of these
files.
Matt, maybe you can add insight as to whether you think its sensible to
attach such files ?
--
ubuntu-bug eucalyptus-common attaches massive files
https://bugs.launchpad.net/bugs/541486
You received this bug notification
According to the upstream developers at the time, it was considered
appropriate to gather these logs for bug reports. Perhaps the real bug
is that they are huge (not rotated often enough or too verbose by
default)? Feel free to do as you feel is best with the apport hook in
any case.
(apport bug filed as bug 541517)
--
ubuntu-bug eucalyptus-common attaches massive files
https://bugs.launchpad.net/bugs/541486
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.
--
Ubuntu-server-bugs mailing list
17 matches
Mail list logo