Project

Profile

Help

Issue #4214

closed

Request body exceeded settings.DATA_UPLOAD_MAX_MEMORY_SIZE

Added by daviddavis over 3 years ago. Updated about 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.21.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix, Pulp 2
Sprint:
Quarter:

Description

Submit a large request (> 2.5 MB) to a pulp 2 endpoint and it'll raise the error "body exceeded settings.DATA_UPLOAD_MAX_MEMORY_SIZE". It looks like in this case Katello was posting a rather long list of content units to /pulp/api/v2/repositories/<repo id>/actions/associate/.

Looks like this is a django setting that is by default 2.5 MB.

https://docs.djangoproject.com/en/2.1/ref/settings/#data-upload-max-memory-size

Also available in: Atom PDF