Network maintenance. Planio will be observing two scheduled maintenance windows this Tuesday, March 2 and Wednesday, March 3 from 02:00 UTC until 06:00 UTC each in order to perform maintenance on access routers in our primary datacenter. Your account might observe short downtimes during these periods up to several minutes at a time.
Issue #3387
Improve error message when uploading a file already in Pulp3
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 88
Quarter:
Description
Add a more descriptive error message when uploading a file already in Pulp.
Right now, when using POST /api/v3/artifacts/, with a file that already exists in Pulp is sending back a HTTP 400, and the following message.
{'non_field_errors': ['sha512 checksum must be unique.']}
Related issues
Associated revisions
History
#1
Updated by dalley about 3 years ago
- Triaged changed from No to Yes
#2
Updated by amacdona@redhat.com over 2 years ago
- Related to Story #3681: Have the artifact upload return the artifact href if the artifact already exists added
#3
Updated by bmbouter almost 2 years ago
- Tags deleted (
Pulp 3)
#4
Updated by daviddavis 6 months ago
- Has duplicate Story #3681: Have the artifact upload return the artifact href if the artifact already exists added
#5
Updated by daviddavis 5 months ago
- Related to deleted (Story #3681: Have the artifact upload return the artifact href if the artifact already exists)
#6
Updated by daviddavis 2 months ago
- Status changed from NEW to ASSIGNED
- Assignee set to daviddavis
#8
Updated by daviddavis 2 months ago
- Sprint set to Sprint 88
#9
Updated by daviddavis about 2 months ago
- Status changed from POST to MODIFIED
Applied in changeset pulpcore|d5338184e1996668dc696888acf6b2c07a1c8191.
Please register to edit this issue
Have a more descriptive artifact error message
fixes #3387