Actions
Issue #5092
closedFiles are not deleted whent deleting uploads
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 56
Quarter:
Description
This bugs is related to this issue:
https://pulp.plan.io/issues/5087
When the artifact creation fails the upload is not deleted, which is normal.
But when I clean all the server uploads using API
for u in $(http $PORT/pulp/api/v3/uploads/ | jq -r '.results[] | ._href'); do
echo $u
http DELETE $PORT$u
done
The files are not deleted.
Related issues
Updated by amacdona@redhat.com over 5 years ago
- Triaged changed from No to Yes
- Sprint set to Sprint 55
Updated by daviddavis over 5 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to daviddavis
Updated by lmjachky over 5 years ago
- Assignee changed from daviddavis to lmjachky
Updated by dkliban@redhat.com over 5 years ago
- Sprint changed from Sprint 55 to Sprint 56
Added by Lubos Mjachky over 5 years ago
Updated by Anonymous over 5 years ago
- Status changed from ASSIGNED to MODIFIED
Applied in changeset pulpcore|dd07e5fbb009211a2f6a506610ccd25babdc1d7b.
Updated by kersom over 5 years ago
- Related to Test #5145: Test scenario for deleting an uploaded content added
Updated by bmbouter almost 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Implement delete method for uploads
The method delete() was redefined in order to prevent an accumulation of an uploaded content which was not associated with an artifact. Before this commit, data were deleted from the database, but not from the local file system.
closes #5092 https://pulp.plan.io/issues/5092