Project

Profile

Help

Issue #5092

Files are not deleted whent deleting uploads

Added by jcabrera about 1 year ago. Updated 9 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
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

Related to RPM Support - Test #5145: Test scenario for deleting an uploaded contentCLOSED - COMPLETE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision dd07e5fb View on GitHub
Added by Lubos Mjachky about 1 year ago

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

History

#1 Updated by amacdona@redhat.com about 1 year ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 55

#2 Updated by daviddavis about 1 year ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to daviddavis

#3 Updated by lmjachky about 1 year ago

  • Assignee changed from daviddavis to lmjachky

#4 Updated by dkliban@redhat.com about 1 year ago

  • Sprint changed from Sprint 55 to Sprint 56

#5 Updated by Anonymous about 1 year ago

  • Status changed from ASSIGNED to MODIFIED

#6 Updated by kersom about 1 year ago

  • Related to Test #5145: Test scenario for deleting an uploaded content added

#7 Updated by bmbouter 9 months ago

  • Sprint/Milestone set to 3.0.0

#8 Updated by bmbouter 9 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF