https://pulp.plan.io/https://pulp.plan.io/favicon.ico2018-11-29T17:53:35ZPulpPulp - Issue #4214: Request body exceeded settings.DATA_UPLOAD_MAX_MEMORY_SIZEhttps://pulp.plan.io/issues/4214?journal_id=323622018-11-29T17:53:35Zdaviddavis
<ul><li><strong>Tags</strong> <i>Easy Fix</i> added</li></ul> Pulp - Issue #4214: Request body exceeded settings.DATA_UPLOAD_MAX_MEMORY_SIZEhttps://pulp.plan.io/issues/4214?journal_id=323642018-11-29T19:01:00Zamacdona@redhat.comaustin@redhat.com
<ul><li><strong>Is duplicate of</strong> <i><a class="issue tracker-3 status-11 priority-6 priority-default closed" href="/issues/4196">Story #4196</a>: As a user, I can upload files in chunks.</i> added</li></ul> Pulp - Issue #4214: Request body exceeded settings.DATA_UPLOAD_MAX_MEMORY_SIZEhttps://pulp.plan.io/issues/4214?journal_id=323662018-11-29T19:02:09Zamacdona@redhat.comaustin@redhat.com
<ul><li><strong>Status</strong> changed from <i>NEW</i> to <i>CLOSED - DUPLICATE</i></li></ul><p><del>Increasing the max size is a workaround, the more important feature is to chunk large uploads.</del> Not related to uploads</p> Pulp - Issue #4214: Request body exceeded settings.DATA_UPLOAD_MAX_MEMORY_SIZEhttps://pulp.plan.io/issues/4214?journal_id=323672018-11-29T19:05:51Zdaviddavis
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/32367/diff?detail_id=33117">diff</a>)</li><li><strong>Status</strong> changed from <i>CLOSED - DUPLICATE</i> to <i>NEW</i></li></ul><p>It wasn't an upload. I've updated the description to add an example of a request.</p> Pulp - Issue #4214: Request body exceeded settings.DATA_UPLOAD_MAX_MEMORY_SIZEhttps://pulp.plan.io/issues/4214?journal_id=323682018-11-29T19:06:44Zdaviddavis
<ul></ul><p>I think we should either disable <code>DATA_UPLOAD_MAX_MEMORY_SIZE</code> or bump up the size. 2.5 MB seems small especially since Katello will often enumerate a list of ids when performing actions like repo copy.</p> Pulp - Issue #4214: Request body exceeded settings.DATA_UPLOAD_MAX_MEMORY_SIZEhttps://pulp.plan.io/issues/4214?journal_id=323692018-11-29T19:08:59Zamacdona@redhat.comaustin@redhat.com
<ul></ul><p>Maybe we should consider a new config option?</p> Pulp - Issue #4214: Request body exceeded settings.DATA_UPLOAD_MAX_MEMORY_SIZEhttps://pulp.plan.io/issues/4214?journal_id=323702018-11-29T19:09:23Zamacdona@redhat.comaustin@redhat.com
<ul><li><strong>Is duplicate of</strong> deleted (<i><a class="issue tracker-3 status-11 priority-6 priority-default closed" href="/issues/4196">Story #4196</a>: As a user, I can upload files in chunks.</i>)</li></ul> Pulp - Issue #4214: Request body exceeded settings.DATA_UPLOAD_MAX_MEMORY_SIZEhttps://pulp.plan.io/issues/4214?journal_id=323972018-11-30T15:41:37ZCodeHeeler
<ul><li><strong>Triaged</strong> changed from <i>No</i> to <i>Yes</i></li></ul> Pulp - Issue #4214: Request body exceeded settings.DATA_UPLOAD_MAX_MEMORY_SIZEhttps://pulp.plan.io/issues/4214?journal_id=376902019-04-15T20:07:48Zbmbouterbmbouter@redhat.com
<ul><li><strong>Tags</strong> <i>Pulp 2</i> added</li></ul> Pulp - Issue #4214: Request body exceeded settings.DATA_UPLOAD_MAX_MEMORY_SIZEhttps://pulp.plan.io/issues/4214?journal_id=455012019-07-09T20:29:53Zggainey
<ul><li><strong>Status</strong> changed from <i>NEW</i> to <i>ASSIGNED</i></li><li><strong>Assignee</strong> set to <i>ggainey</i></li></ul> Pulp - Issue #4214: Request body exceeded settings.DATA_UPLOAD_MAX_MEMORY_SIZEhttps://pulp.plan.io/issues/4214?journal_id=455032019-07-09T21:56:24Zggainey
<ul></ul><p>@daviddavis - leaving it unset opens pulp up to an easy DOS of "call a POST api with a Really Big Body and run Pulp out of memory". I'm proposing we just double the django default to 512Mb - that's still a huge amount of data.</p>
<p>As noted in the bugzilla, given the way Django settings work in Pulp-2, a user could override by changing the default in Django's global_settings.py, or by changing webservices/settings.py, and restarting. Neither of those are perfect, because those files will be overridden when updating Pulp - but they're as good as it gets, for Pulp-2.</p> Pulp - Issue #4214: Request body exceeded settings.DATA_UPLOAD_MAX_MEMORY_SIZEhttps://pulp.plan.io/issues/4214?journal_id=455052019-07-09T22:03:20Zdaviddavis
<ul></ul><p><a class="user active" href="https://pulp.plan.io/users/14796">ggainey</a> you said 512Mb but I think you mean 5MB? That sounds good to me.</p> Pulp - Issue #4214: Request body exceeded settings.DATA_UPLOAD_MAX_MEMORY_SIZEhttps://pulp.plan.io/issues/4214?journal_id=455072019-07-09T22:07:08Zggainey
<ul></ul><p>daviddavis wrote:</p>
<blockquote>
<p><a class="user active" href="https://pulp.plan.io/users/14796">ggainey</a> you said 512Mb but I think you mean 5MB? That sounds good to me.</p>
</blockquote>
<p>Gah - aye, 5Mb. 512Mb is, perhaps, overkill :)</p> Pulp - Issue #4214: Request body exceeded settings.DATA_UPLOAD_MAX_MEMORY_SIZEhttps://pulp.plan.io/issues/4214?journal_id=455112019-07-10T12:00:54Zggainey
<ul><li><strong>Status</strong> changed from <i>ASSIGNED</i> to <i>POST</i></li></ul><p><a href="https://github.com/pulp/pulp/pull/3940" class="external">https://github.com/pulp/pulp/pull/3940</a></p> Pulp - Issue #4214: Request body exceeded settings.DATA_UPLOAD_MAX_MEMORY_SIZEhttps://pulp.plan.io/issues/4214?journal_id=455822019-07-11T15:24:18Zggainey
<ul><li><strong>Status</strong> changed from <i>POST</i> to <i>MODIFIED</i></li></ul><p>Applied in changeset <a class="changeset" title="Increase memory-limit for incoming API requests closes #4214 https://pulp.plan.io/issues/4214" href="https://pulp.plan.io/projects/pulp/repository/pulp/revisions/cf9690c2a5a4f187504fa3178b1d7366cf55323b">pulp|cf9690c2a5a4f187504fa3178b1d7366cf55323b</a>.</p> Pulp - Issue #4214: Request body exceeded settings.DATA_UPLOAD_MAX_MEMORY_SIZEhttps://pulp.plan.io/issues/4214?journal_id=467462019-08-19T21:25:54Zdalleydalley@redhat.com
<ul><li><strong>Platform Release</strong> set to <i>2.21.0</i></li></ul> Pulp - Issue #4214: Request body exceeded settings.DATA_UPLOAD_MAX_MEMORY_SIZEhttps://pulp.plan.io/issues/4214?journal_id=478792019-09-25T20:45:25Zdalleydalley@redhat.com
<ul><li><strong>Status</strong> changed from <i>MODIFIED</i> to <i>CLOSED - CURRENTRELEASE</i></li></ul> Pulp - Issue #4214: Request body exceeded settings.DATA_UPLOAD_MAX_MEMORY_SIZEhttps://pulp.plan.io/issues/4214?journal_id=582672020-06-16T20:54:39Zbmbouterbmbouter@redhat.com
<ul><li><strong>Category</strong> deleted (<del><i>14</i></del>)</li></ul><p>We are removing the 'API' category per open floor discussion June 16, 2020.</p>