Project

Profile

Help

Issue #1238

closed

remove orphaned content does not perform full cleanup

Added by dkliban@redhat.com about 7 years ago. Updated over 3 years ago.

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

Description

The remove all orphaned content API leaves behind directories containing listing files and symlinks to nonexistent content.

Steps to rerpoduce:
1. Create repo
2. Sync repo
3. Delete repo
4. Hit the /pulp/api/v2/content/orphans/ endppoint
5. Observe the content of /var/lib/pulp/content

I am attaching a sample of directory structure of /var/lib/pulp after deleting orphaned content


Files


Related issues

Has duplicate Pulp - Issue #351: orphan remove removes the content but the empty directories not deletedCLOSED - CURRENTRELEASEamacdona@redhat.comActions
Actions #2

Updated by mhrivnak about 7 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to amacdona@redhat.com
Actions #3

Updated by mhrivnak about 7 years ago

  • Status changed from ASSIGNED to NEW
  • Assignee deleted (amacdona@redhat.com)
  • Triaged changed from No to Yes
Actions #4

Updated by amacdona@redhat.com almost 7 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to amacdona@redhat.com
Actions #5

Updated by amacdona@redhat.com almost 7 years ago

  • Has duplicate Issue #351: orphan remove removes the content but the empty directories not deleted added
Actions #6

Updated by amacdona@redhat.com almost 7 years ago

  • Status changed from ASSIGNED to POST

Added by Austin Macdonald almost 7 years ago

Revision 39c2d6b8

fix regex to remove content and empty directories on orphan cleanup

closes #1238

Added by Austin Macdonald almost 7 years ago

Revision 39c2d6b8

fix regex to remove content and empty directories on orphan cleanup

closes #1238

Actions #7

Updated by amacdona@redhat.com almost 7 years ago

  • Status changed from POST to MODIFIED
Actions #8

Updated by dkliban@redhat.com almost 7 years ago

  • Status changed from MODIFIED to 5
Actions #9

Updated by dkliban@redhat.com over 6 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
Actions #11

Updated by bmbouter over 3 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF