Project

Profile

Help

Issue #1238

closed

remove orphaned content does not perform full cleanup

Added by dkliban@redhat.com over 8 years ago. Updated almost 5 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 over 8 years ago

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

Updated by mhrivnak over 8 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 about 8 years ago

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

Updated by amacdona@redhat.com about 8 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 about 8 years ago

  • Status changed from ASSIGNED to POST

Added by Austin Macdonald about 8 years ago

Revision 39c2d6b8 | View on GitHub

fix regex to remove content and empty directories on orphan cleanup

closes #1238

Added by Austin Macdonald about 8 years ago

Revision 39c2d6b8 | View on GitHub

fix regex to remove content and empty directories on orphan cleanup

closes #1238

Actions #7

Updated by amacdona@redhat.com about 8 years ago

  • Status changed from POST to MODIFIED
Actions #8

Updated by dkliban@redhat.com about 8 years ago

  • Status changed from MODIFIED to 5
Actions #9

Updated by dkliban@redhat.com almost 8 years ago

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

Updated by bmbouter almost 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF