Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 430160 - Please consider increasing the bugzilla attachment size limit
Summary: Please consider increasing the bugzilla attachment size limit
Status: CONFIRMED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Bugzilla (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Bugzilla Admins
URL:
Whiteboard:
Keywords:
: 459616 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-08-06 11:18 UTC by Michał Górny
Modified: 2018-09-30 07:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-08-06 11:18:18 UTC
Quoting chithanh:

> Verbose build logs are can be several times as large as non-verbose
> ones, which can run into our Bugzilla's attachment size limit. When a
> user is unable to attach the build.log file, typically one of the
> following happens:
> 
> 1. User compresses build.log with a common compressor like gzip, bzip2
> or xz and manually sets the attachment MIME type correctly (best case).
> 2. User makes a compressed tarball, containing a single file
> 3. User cuts off the build.log somewhere in the middle, supplies the
> bottom part
> 4. User uploads build.log to a public file hoster or his own private web
> server, the link expires / 404s after some time (IMO worst case).

Considering that neither of these options are good for us, and nowadays disk space shouldn't be that problematic, I believe we should consider raising the attachment size limit.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2012-08-06 19:36:01 UTC
Bugzilla presently stores attachments in the database, and we really want to get away from that. When it can store the attachments in a distributed filesystem (with 2 or more copies), then we can open up the size limit a lot more. The distributed part is needed as we run it very clustered with no single points of failure - NFS doesn't cut it for this.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-08-06 20:30:31 UTC
(In reply to comment #1)
> Bugzilla presently stores attachments in the database, and we really want to
> get away from that. When it can store the attachments in a distributed
> filesystem (with 2 or more copies), then we can open up the size limit a lot
> more. The distributed part is needed as we run it very clustered with no
> single points of failure - NFS doesn't cut it for this.

Is there a feature request for Bugzilla for that?
Comment 3 Christian Ruppert (idl0r) gentoo-dev 2012-08-06 20:40:03 UTC
Bugzilla itself can do that already. We just need a fs.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2012-08-06 21:38:41 UTC
idl0r: Did they get support for an HTTP-based non-POSIX FS like I asked? Specifically looking at MogileFS, because I know I can make it fully redundant and I have significant experience with it.
Comment 5 Christian Ruppert (idl0r) gentoo-dev 2012-08-08 19:06:10 UTC
(In reply to comment #4)
> idl0r: Did they get support for an HTTP-based non-POSIX FS like I asked?
> Specifically looking at MogileFS, because I know I can make it fully
> redundant and I have significant experience with it.

Currently it can only store attachments on the disk. There's a option "maxlocalattachment" when >0 it will just store attachments on disk.
So we would have to mount that dir.
Comment 6 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2013-03-12 03:39:10 UTC
*** Bug 459616 has been marked as a duplicate of this bug. ***
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-09-30 07:23:52 UTC
Are we going to do this or close as WONTFIX?